[thelist] Div alignment and border problem

Maximillian Schwanekamp anaxamaxan at neptunewebworks.com
Tue Apr 20 11:52:31 CDT 2004


I have a simple page with structure like this:
<div>[masthead]</div>
<div>[horizontal nav bar (inline list)]</div>
<div>[Main]</div>
<div>[footer]</div>

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

Can anyone explain this?

Maximillian Von Schwanekamp
Dynamic Websites and E-Commerce
NeptuneWebworks.com
voice: 541-302-1438
fax: 208-730-6504




More information about the thelist mailing list