You are here: Re: Hide text with css « HTML « IT news, forums, messages
Re: Hide text with css

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация