Previous Message
Next Message

Re: [css-d] simple(?) css layout

Sent by Andrew Clover on 30 January 2002 09:09


Noah [EMAIL-REMOVED]> wrote:

> The suggestion to position the menu div absolutely in order to prevent NN4 
> from applying the margin starting at the right side of the menu div is a 
> good one, but I was trying to avoid this so that the title div (which comes 
> above both the menu and the content) can be of variable height.

That's no problem. If you give the menu div 'position: absolute;' but
*don't* set its position explicitly, it stays in its normal place, just
below the heading (however big it is). Being absolutely positioned just
makes it 'take up no space' so you can put the content div alongside it,
it doesn't actually change the positioning unless you tell it to.

-- 
Andrew Clover
[EMAIL-REMOVED]
http://and.doxdesk.com/
Previous Message
Next Message

Message thread: