Jump to content

Recommended Posts

Posted

Is there any way that I can align a <*div> to always sit at the bottom of a browser window or at the bottom of everything on that webpage?

Posted

Yes and No. You can set it to sit on the bottom and to stay there but unfortunately Internet Explorer's pathetic CSS 2 support means it will not work on IE (if I remember correctly). You could do it with Javascript.

Posted

carbonize is correct, but let me add my two cents.

 

You can have a div start after all the other content (tables, divs, etc) and that may be the bottom of the page, or if the rest of the content doesn't fill up a page, it could be halfway down. This is relative positioning and it puts the div after whatever comes before it. If you have a page of content preceeding the div, then a visitor would have to scroll down to see it, and it would be at the bottom of the web page.

 

You could use absolute positioning to take the div out of the normal flow of content and place it x number of pixels from the bottom of the page. This will overlap some of the content that comes before it, but it will certainly be at the bottom of the webpage, even if the content that comes before it doesn't reach very far down the screen.

 

I've read your question a bunch of times... I hope I didn't miss the point.

Join the conversation

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

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  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...