On 7/28/06, Jeralyn Merideth [EMAIL-REMOVED]> wrote about
> 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:
> and this: (really new)
> What the heck went wrong?
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. 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.
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/