Previous Message
Next Message

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

Sent by Mark Newhouse on 29 January 2002 12:12


on 1/28/02 11:14 PM, noah at [EMAIL-REMOVED] wrote:

> 
> 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.
> 

Noah,

I've found that if you give the floated DIV (in your case #menu) a small
negative left margin (e.g. -1px), NN4 browsers will render the content DIV
basically where you want it. I guess the negative margin makes Netscape
ignore the width of the floated DIV when calculating the margin for the
content DIV.

HTH,

--Mark Newhouse
  We put the "blah" in blog...
  <http://homepage.mac.com/iblog/>
Previous Message
Next Message

Message thread: