Sent by Duncan O'Neill on 29 July 2002 23:11
Tim Luoma wrote:
>
> Ok, so I was finally getting around to trying the box-model/voice family
> div#test {
> color: red;
> voice-family: "\"}\"";
> voice-family:inherit;
> color: green;
> }
>
> If I put this in my NN4 style sheet, NN4 fails to parse ANYTHING in the
> style sheet.
> Is this 'normal' ?
Yes, you need to hide the sheet which uses the
box model hack from NN4.x
> If so, what is the preferred way to hide styles from NN4 *without* using
> a separate CSS file ?
I don't know about preferred, but try using this;
div#test {
color:red;
/*/*/
voice-family: "\"}\"";
voice-family:inherit;
color: green;
/* */
}
The comment nonsense hides the rules from NN4.x. I'm
not sure whether this works with the box model hack.
Personally, I usually just put the sheet which uses
the BMH in a sheet hidden from NN4.x.
hth,
--
=====================================================
Duncan O'Neill
"Smith The Reporter"
http://homepages.ihug.co.nz/~dbaxo/urban_legend.htm
=====================================================