logo       

RE: CSS - Positioning element at base of page (not screen): msg#00149

Subject: RE: CSS - Positioning element at base of page (not screen)
At 02:32 PM 9/4/2002 -0400, Saila, Craig wrote:
> -----Original Message-----
> From: Kevin [mailto:p+cssdiscuss@xxxxxxxxxxxxxxx]
> Sent: September 4, 2002 2:18 PM
> To: css-discuss@xxxxxxxxxxx

> I want to position a 'credits' type section at the page of
> the page so it's there whe you scroll down the whole page.

Try setting the "credits" section to something like, "position: fixed;
bottom: 0;" but it won't work in IE/Windows.

Translation: "It won't work in 80% of your visitor's browsers."

Using position: fixed; is obviously not an option for the current state of web browsers. I don't know why Microsoft doesn't support the 'fixed' value of the position property, but it's a useful thing to have if your visitors all use NS6+ or Mozilla.

Otherwise, IE will default to the default position, as if you didn't position the element at all. In the case of everything else being positioned absolutely, it'll most likely mean that the "credits" will appear *beneath* the other positioned elements.

Your best bet for practicality is to use "position: relative;" for the credits - that way you can position them vertically at the bottom of the other positioned elements.

-- Jough



+---------------------------+-----------------------+
|Plagiarist Poetry Archive  |  Mature poets steal.  |
|http://www.plagiarist.com  |       -- T.S. Eliot   |
|                           | hmfwic@xxxxxxxxxxxxxx |
+---------------------------+-----------------------+

_______________________________________________
css-discuss [css-discuss@xxxxxxxxxxx]
http://three.pairlist.net/mailman/listinfo/css-discuss
Sponsored by www.westciv.com - CSS resources | software | learning



<Prev in Thread] Current Thread [Next in Thread>