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 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]


Удаленная работа для программистов  •  Как заработать на 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

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