2 replies [Last post]
safull
safull's picture
Offline
Regular
Madrid -Spain
Last seen: 16 years 15 weeks ago
Madrid -Spain
Timezone: GMT+1
Joined: 2003-08-27
Posts: 17
Points: 0

I there,
i'm trying to put a <div> element at the bottom at the document with this ID

#bottom {

left: 0px;
bottom: 0px;
display: block;
}

but it position it at the bottom of the window, not the document.
Any solution?

thank you.

Tony
Tony's picture
Offline
Moderator
Brisbane
Last seen: 4 days 1 hour ago
Brisbane
Timezone: GMT+10
Joined: 2003-03-12
Posts: 5342
Points: 2963

i want at the bottom at the document, not the window

Hi safull,
Browsers are not very consistent at rendering Bottom.
You may be best using JavaScript to determine the height of the browser window and then position the div.

Hope that helps.

safull
safull's picture
Offline
Regular
Madrid -Spain
Last seen: 16 years 15 weeks ago
Madrid -Spain
Timezone: GMT+1
Joined: 2003-08-27
Posts: 17
Points: 0

thanks

thanks tony for the reply. I've been trying to work it out with javascript and dom. The problem is differents browsers(IE). For the same data they give differents thing. But that i will work it out with no problem.

Thanks a lot.