On 7/28/06, Jeralyn Merideth <[EMAIL PROTECTED]> wrote about
http://www.msbanet.org/conference/2006_annual_conference.htm:
> Today I downloaded and installed stand-alone versions of IE (5.5 and 6 -
> I upgraded to 7 and it overwrote my 6 haha). I was curious, so I decided
> to look at some web stuff because I haven't had 5.5 in some time and
> was horrified to see this:
>
> http://216.119.67.187/Tests/ie55_weirdness.png
>
> and this: (really new)
>
> http://216.119.67.187/Tests/ie55_weirdness2.png
>
> What the heck went wrong?

Hi, Jeralyn,

Looking at your code, you've got two instances of the same ID --
navlist -- and the browsers do different things with this.

According to the HTML specs, IDs must be unique[1]. Browsers that
closely follow the specs and are set to Standards mode ignore the
second ID instance. The first instance of navlist is the link list at
the bottom ("Speakers CBM" etc.). It gets the styles you've added with
#navlist. The second instance of navlist is the link list on the left,
titled "Conference links". It gets the styles for regular links,
because the browsers ignore the second id="navlist" reference.

IE PC versions earlier than 6 have no clue what the specifications
say, so they are more than happy to accept multiple identical IDs. So
the styles you requested for the bottom links also appear for the left
links. IE PC 5.x has a hard time with inline elements, so it's going
to be a pretty strange-looking document, but removing id="navlinks"
from the left nav should get it back to what you expect.

HTH,

Michael

[1] http://www.w3.org/TR/html4/struct/global.html#adef-id
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to