Previous Message
Next Message

Width of absolutely-positioned div

Sent by Mary Ellen Curtin on 10 April 2008 20:08


Here is a test page:
http://datagnostics.com/test/testbasic.html
Is there a way to make the pink absolutely-positioned box as wide as the 
yellow regular box -- that is, just wide enough to fill up the width of 
the screen, whatever that may be? They are both moved over to the right 
to make way for the absolutely-positioned left-side navigation bar. Text 
is centered within the boxes.

pink box: {position:absolute;top: 7em;left: 210px;text-align:center;}
yellow box: {margin: 0 0 0 210px; text-align: center;}

halp.

Mary Ellen
Doctor Science, MA
http://doctorscience.blogspot.com 

______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Previous Message
Next Message

Message thread:

Possibly related: