Previous Message
Next Message

[css-d] simple(?) css layout

Sent by noah on 29 January 2002 01:01


I'm having some trouble with what I thought would be a (very) simple 
layout. My inability to find an example to copy leads me to believe that 
either I'm not seeing the forest for the trees, or it's not so simple.

I want a fixed width menu div on the left, a bit of space, and then a 
variable width content div on the right (how much simpler can you get?)

I've managed to accomplish this (at least in IE 5.5 and Moz 0.9.6 / pc) by 
giving the content div a left margin that pushes it beyond the menu, and 
not giving it a float (see <http://tookish.net/temp/layouttest.html>).

This seems a little cheesy to me (though I'm not sure why), and it doesn't 
come off very well in NS 4.7.

What I'd really like to do is float the content div and just have it fill 
up the available space to the right of the menu. This works in IE 5.5, but 
in Moz the content div is pushed down below the menu (see 
<http://tookish.net/temp/layouttest2.html>).

Is this possible?

Thanks,
Noah
Previous Message
Next Message

Message thread: