Previous Message
Next Message

Quick question

Sent by Paul Novitski on 29 June 2005 22:10


At 02:11 PM 6/29/2005, Jeff Cortez wrote:
>I can't seem to get the container to draw a box around the inside content,
>as it compresses down to a single line at the top.  I know its something
>simple that another set of eyes can easily solve.
>
>http://jeffcortez.com/volvo/

Jeff,

Positioning something absolutely (or relatively) takes it out of the flow, 
which means, among other things, that to the other page elements it doesn't 
appear to have dimension.  Try ditching the position: absolute; rules and 
position your blocks with margin-left etc. instead.  If you need the 
absolute position, you're going to have to declare your container's height 
& width which isn't as elegant as letting the content stretch the container 
as large as necessary.

Paul


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

Message thread:

Possibly related: