Click to See Complete Forum and Search --> : layer placement problem


NikolaVeber
05-03-2003, 02:14 PM
Hi !

I have a problem (again) with positioning of a layer containing footer information. I want it to be on the wery bottom of the page. I tried it with

<div id = footer style="position:relative; z-index:5; visibility:visible; vertical-align:baseline">
footer
</div>

but it is not on the bottom ...

I looked up in css reference, but couldnt find anythig interesting ...

Thanx

AdamGundry
05-03-2003, 02:23 PM
All vertical-align: baseline will do is position the text at the bottom of the containing box - not the bottom of the page. You should be able to get the footer at the bottom by putting the <div> at the end then removing all margins, etc.

Adam

NikolaVeber
05-03-2003, 02:28 PM
actualy, it is placed just above the </body> tag ...

I don't know if I was clear enough :
I want it to be just above the browser's bottom - since the pages in most cases fit the screen size.

AdamGundry
05-03-2003, 03:00 PM
Do you mean exactly on the bottom, outside the normal document i.e. using frames? I don't understand exactly what the problem is.

Adam

NikolaVeber
05-03-2003, 06:29 PM
most of the pages fit one screen height. If so, I would like the footer to be on the bottom of the screen (which is not scrollable). In other case (when the page cant fit the screen, I would like the footer to be on the bottom of the content.

have a look at

www.frigofrutti.co.sr

The footer contains "designed by Weber 2003" and the w3 picture.