In my main css file, I have styled up various types of flash elements
as pasted below. All three flash classes (notice, info, and warning)
render fine in FireFox, but only the first one defined is shown in
Internet Explorer. I am sure that a CSS guru in the room can point
out the error of my ways… Thanks!
Do you have a test HTML file that you can post that uses the below CSS?
In
any case, it may be an issue with IE’s implementation of the CSS
specification because the CSS validated with errors using a CSS
2.1validator.
The CSS validation passed with no errors. Thanks for the useful
site. Here’s a small html file which illustrates the issue. In
firefox, all three lines are styled (no images, of course). In IE,
only the div#Flash class defined first gets styled. Thanks again for
your help.
Hi, after looking at the HTML, I have to point out that you can only use
an
id once per page or every id on the page needs to be unique. Thus, an
id is
usually used structure the page elements. Please use the following to
validate your document:
You aren’t supposed to have more than one element with a given ID
attribute. If you swap ID for CLASS in your code and selector rules,
I suspect you’ll get what you want.
Hi, here’s an updated file. The other issue is that you have an id,
flasharea, in the HTML code but it doesn’t appear in your CSS. Finally,
the
below code validates successfully.