Jump to content

Footer float help


stuffradio

Recommended Posts

I am trying to have my layout template have a footer that always stays on the bottom and will keep going down as the content box goes down. I don't have the content box expand yet and I don't know the best way to expand the content box and keep the footer down.

 

Can anyone see anything wrong with my CSS that would fix the problem?

 

http://carlwuensche.com/unknown/create.html

Link to comment
Share on other sites

Yes, if the div #maincontent expands. It would be better if you do not use absolute position on the div #sidenav. You can use float:right for #sidenav. It would be better if you enclose the content div inside a container and use float to position them.

 

 

<div id="#container">
  <div id="maincontent">....</div>
  <div id="sidebar">....</div>
</div>

<div id="bottombar">...</div>

 

and instead of using line-break after #top-nav, you can use top-margin on the container.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.