|
Posted by Jukka K. Korpela on 02/15/07 23:21
Scripsit J.O. Aho:
>> You can simply set
>> font b { display: none; }
>> provided that you have no other <b> element nested inside a <font>
>> element.
>
> Thats neat, I was careful as I didn't know you could define things
> like this with nesting. This works in all browsers, or is it limited
> in the same way as input[text] { ... } which don't work in all.
All browsers that have any CSS support*) can deal with contextual selectors
like font b above. The attribute selectors like input[text] or, rather,
input[type] or input[type="text"], have much less support (but the situation
is improving).
*) I must admit I don't remember IE 3 too well, but I _think_ that even its
ridiculously buggy CSS support got this thing right.
--
Jukka K. Korpela ("Yucca")
http://www.cs.tut.fi/~jkorpela/
Navigation:
[Reply to this message]
|