Previous Message
Next Message

CSS Navigation Bar Problem in IE 5 for the Mac + MinorProblems in Other Browsers

Sent by Jim Nannery on 12 April 2005 18:06


Morning David

You wrote;
<snipped
>
> The pages in question are at:
>
> http://test.vlc.nccommunitycolleges.edu/index.htm for the blue bar only;
>
> http://test.vlc.nccommunitycolleges.edu/students.htm for the blue and 
> green bars;
>
> And the stylesheets I have developed are at:
>
> http://test.vlc.nccommunitycolleges.edu/navigation.css for the blue bar, 
> and
>
> http://test.vlc.nccommunitycolleges.edu/greennavigation.css for the green 
> bar
<snipped a bit more>

> <body topmargin="0" leftmargin="0" marginheight="0" marginwidth="0">
>
> However, the code renders everything at the proper location on the screen 
> when it is included. Can anyone give a suggestion on other ways I could 
> handle this issue and make the validator happy?

topmargin=" " and leftmargin=" " are IE specific attributes while 
marginheight=" " and marginwidth=" " are Netscape specific attributes. [1] 
Much like IE's scroll bar attributes, they are not part of the 
specification(s) [2] and won't validate, but some folks find them useful.

To bring this back on topic, it seems to me that adding margin: 0; to the 
body selector in your style sheet should accomplish the same thing. And it 
would be valid CSS.

Regards

Jim Nannery
owner - www.redfernenterprises.com
-----------------------------------------
[1] http://www.htmlref.com/reference/appa/tag_body.htm
[2] http://www.free-scripts.net/html_tutorial/html/supportkey/b.htm 


______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Previous Message
Next Message

Message thread: