|
Posted by Jukka K. Korpela on 02/15/07 14:13
Scripsit Andy Dingley:
> If there's a similar scope within this region (e.g. a <h2>) that you
> don't want to be hidden, then you might be able to over-ride the CSS
> applied to it with a CSS block like this
>
> .hideable h2 font b {
> visibility: inherit;
> display: inherit;
> }
I don't see what you are trying to achieve in that piece of code, but it's
probably unachievable.
First, IE does not support the value inherit, so in most browsing
situations, the rule above has no effect.
Second, the display property, once set to none, cannot effectively be
changed to some other value for inner elements. One might say that display:
none declares that an element be treated as nonexistent from the CSS
perspective, and you cannot then turn its subelements into existence.
--
Jukka K. Korpela ("Yucca")
http://www.cs.tut.fi/~jkorpela/
Navigation:
[Reply to this message]
|