Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

position layer at bottom of screen - how?

0 views
Skip to first unread message

Rob Walsh

unread,
Nov 26, 2003, 4:32:40 AM11/26/03
to
Hi,

previously I've designed my webpages with tables, but now I've tried
to do it with layers.
The following is the code I used. It looks okay, but how do I position
the bottom layer at the bottom of screen (whatever its resolution is)
? I tried it with "top:-30px;", but that doesn't work. :-(

<!-- top "frame" : -->
<div style="position:absolute; left:10px; top:10px; width:100%;
height:26px; background-color:#EED6A8;></div>

<!-- content "frame" : -->
<div id="content" style="position:absolute; top:36px; padding:40px;
z-index:0; background-color:#FFFFDD;">

<!-- bottom "frame" : -->
<div style="position:absolute; top:-30px; width:100%; height:26px;
background-color:#EED6A8;></div>


Thanks
Rob

Gonzalo Arin

unread,
Dec 3, 2003, 5:51:48 PM12/3/03
to
Dear Rob,
I think if you dont state neither the top nor the bottom position for the
"bottom" div, it will be placed right below the "content" div, provided
that there is no other div between them in the code.
The position of the "bottom" div will be defined by the height of the
"content" div.

Please let me know if this worked fine.

Rgds,
Gonzalo

"Rob Walsh" <no....@pleaze.no> escribió en el mensaje
news:mjs8sv0a1vs0s8epf...@4ax.com...

0 new messages