Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New Coder
    Join Date
    Mar 2005
    Posts
    16
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Adding a simple footer....

    This is bugging me, can't figure out what the problem is.

    I'm trying to add a simple footer DIV on the bottom of this page and I can make it display properly in IE or in Firefox, but not in both for some reason. thanks for any help..


    The page is here: www.yourthreshold.com

    The code I am trying to add is at the bottom is a footer div like in this snippit:

    Code:
    </div><!--End Text-->
    	<div id="footer">Footer Text</div>
    </div>
    </body>
    </html>
    The CSS for the footer is:

    Code:
    #footer {
    	height:20px;
    	width:790px;
    	margin:3px 7px 0 0;
    	position:relative;
    	text-align:right;
    	font-size:10px;
    	font:Verdana, Arial, Helvetica, sans-serif;
    	color:#888888;
    	}

  • #2
    Regular Coder
    Join Date
    Sep 2004
    Posts
    347
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Try something like:
    Code:
    </div><!--End Text-->
    	<div id="footer"><p>Footer Text</p></div>
    </div>
    </body>
    </html>
    and CSS:

    Code:
    #footer {
    height:20px;
    width:790px;
    margin:3px 7px 0 0;
    position:relative;
    }
    
    #footer p {
    text-align:right;
    font-size:10px;
    font:Verdana, Arial, Helvetica, sans-serif;
    color:#888888;
    }


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •