I have this css:
.note {
FONT-SIZE: 12px;
COLOR: #000000;
margin-top: 1em;
margin-bottom: 1em;
}
.noteTitle{
text-transform : uppercase;
font : normal;
}
.esd .noteTitle, .caution .noteTitle, .caution_hot .noteTitle, .electric_shock .noteTitle, .danger .noteTitle, .biohazard .noteTitle{
font : bold;
}
.warning, .warning .noteTitle{
font : bold italic;
}
And when I apply it to this code:
<div class="note warning"><div class="noteTitle">WARNING:</div><div class="noteBody">A note of type Warning has a class = "note warning".</div></div>
It applies the .note styles, but then ignores everything else in Firefox. In works fine in IE, and theoretically should work in FF. Any ideas?







Bookmarks