Reply to Re: Hide text with css

Your name:

Reply:


Posted by J.O. Aho on 02/15/07 17:58

Jukka K. Korpela wrote:
> Scripsit J.O. Aho:

Moi

>>> My question is: can I hide it with some css
>>> trick ( for example overlapping a blank image ) so that I can add
>>> the same textwith the font size I need ?<font size="-1"
>>> face="arial"><b>Test To hide</b></font>
>>
>> You could try with making the <b> to use the same color as the
>> background.
>> b {
>> color: #ffffff
>> }
>
> 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.


--

//Aho

[Back to original 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

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