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 6 of 6

Thread: Footer width

  1. #1
    New Coder
    Join Date
    Sep 2008
    Location
    Portland, OR
    Posts
    82
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Footer width

    on this page... http://www.fatcitycafe.net/tshirt.html

    i noticed that that footer is wider than on the two other pages, index and reviews.html

    How do I correct the problem?

  • #2
    Senior Coder
    Join Date
    Oct 2005
    Posts
    1,340
    Thanks
    0
    Thanked 61 Times in 60 Posts
    Well, you don't set the width of the footer to 900px like you did in the container above. Once you do that, it will be off center because you don't have the margins set at 'margin: 0 auto' as the container above either.

  • #3
    New Coder
    Join Date
    Sep 2008
    Location
    Portland, OR
    Posts
    82
    Thanks
    1
    Thanked 0 Times in 0 Posts
    The tshirt page is from the index page. why would it be different?

    How do I correct it?

  • #4
    New to the CF scene
    Join Date
    Nov 2008
    Location
    India
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts
    here is the solution ... change your style like tis

    #footer {
    background-color:#8C410E;
    clear:both;
    color:#FFFFFF;
    height:100px;
    margin:0 auto;
    padding:0;
    text-align:center;
    width:900px;

  • #5
    New Coder
    Join Date
    Sep 2008
    Location
    Portland, OR
    Posts
    82
    Thanks
    1
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by karthimx View Post
    here is the solution ... change your style like tis

    #footer {
    background-color:#8C410E;
    clear:both;
    color:#FFFFFF;
    height:100px;
    margin:0 auto;
    padding:0;
    text-align:center;
    width:900px;
    Thank you!

  • #6
    Senior Coder
    Join Date
    Oct 2005
    Posts
    1,340
    Thanks
    0
    Thanked 61 Times in 60 Posts
    That is exactly what I told you.


  •  

    Posting Permissions

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