[thelist] Div alignment and border problem

Peter Abramowicz pabramow at web.net
Tue Apr 20 13:15:46 CDT 2004


Hi,

It seems that this is cause by the floating #navcontainer and the answer is
to float left the div#main.

PeterA.

> 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