[thelist] Div alignment and border problem

elin tjerngren. artopod elin at artopod.se
Wed Apr 21 02:31:12 CDT 2004


Hi,

>From Maximillian Schwanekamp:
> My problem is, the div#main's content alignment is all whacked out in Moz;
> it's off to the right of the viewport.  Here's a URL:
> http://neptunewebworks.com/ezcarsfl/ezadmin.htm
> 
> It's OK in IE5-6/Win.  Here's the weird part:  If I add a border to
> div#main, the alignment is fine in Moz too.  The only change is adding
> border: 1px solid red; to div#main.  Example:
> http://neptunewebworks.com/ezcarsfl/ezadmin2.htm

Add
	clear:left;
instead of the border. Your nav bar is floated left and that's why the 
content is to the right. It still makes no sense that the border should 
fix this though!

Regards,
_________________________________

          elin tjerngren
          phone +46 910 73 95 25
          http://www.artopod.com/




More information about the thelist mailing list