"th************@nospam.yahoo.com" <th************@yahoo.com> wrote:
This site http://www.nczoo.org has a nagging bug. In Mozilla the left
nav list expands into the content area. Opera and IE (MAC/WIN) seem
fine. Any advice would be appreciated.
The links within #mainnav are wider than their container because you
tell them to be.
ul#mainnav li a {
display: block;
margin: 0px 0px 0px 0px;
padding: 6px 6%;
width: 100%;
}
100% + 6% + 6% = 112% so the links will be wider than their container
so it should be no surprise that they spill over into the adjacent
blocks.
Because you have no doctype Opera 7, Mac IE5 and Win IE5 go into
Quirks mode where they emulate the bugs of Win IE5 and older and
incorrectly place the padding inside the width. Even in Quirks mode
Mozilla gets this right and places the padding outside the width.
Steve
--
"My theories appal you, my heresies outrage you,
I never answer letters and you don't like my tie." - The Doctor
Steve Pugh <st***@pugh.net> <http://steve.pugh.net/>