467,880 Members | 1,101 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 467,880 developers. It's quick & easy.

Static element obscured by an absolutely positioned one.

Hello,

I am having some problem with a statically positioned element being obscured
by one that is absolutely positioned.

To see what I am working on, go to
http://www.aracnet.com/~tspencer/mis...ngproblem.html.

The form element (colored yellow) is absolutely positioned relative to the
DIV#Content element (colored silver). The form would obscure the text if it
weren't for the padding value that I added to DIV#Copy (colored pink). The
problem is that I had to hard code this padding value because the form's
height is set to auto. When viewed with different configuration, different
users' UAs will set that form's height to different values.

How can I set the padding of DIV#Copy to the height of the form? For
example, something like this pseudocode:

#Copy { padding-bottom: FORM.height }

Regards,

Travis Spencer
Portland, OR USA

Jul 20 '05 #1
  • viewed: 1855
Share:

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by Mike Kozlowski | last post: by
1 post views Thread by J. Potts | last post: by
4 posts views Thread by mike eli | last post: by
2 posts views Thread by Rob R. Ainscough | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.