dcsimg
www.webdeveloper.com
Results 1 to 5 of 5

Thread: Why is the footer acting like this ?

  1. #1
    Join Date
    Mar 2012
    Posts
    22

    Why is the footer acting like this ?

    http://oxtis.com/

    at the bottom the footer is not extending to reach the sides of the browser.
    i set the width to auto.
    i dont know why it is acting this way.
    please help me.

    thanks

  2. #2
    Join Date
    Dec 2005
    Posts
    2,984
    Because it's parent (#container) is only 1000px wide...A block-level child with width: auto (or no width declared at all) will expand to be the width of it's parent.

  3. #3
    Join Date
    Mar 2012
    Posts
    22
    but i didnt put it inside the container div tho.
    i closed the container div then make another div called footer.

    in this case the container is still the footer's parent ?

    and how can i make it extend to fit the browser ?

  4. #4
    Join Date
    Apr 2012
    Posts
    34
    You have an extra </

    HTML Code:
    <div id="content"><h3>Welcome to my website.
    website is currently under construction.</</div> <!--end content-->

  5. #5
    Join Date
    Mar 2012
    Posts
    22
    thanks dude.
    you are my hero.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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



Recent Articles