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
Navigation:
[Reply to this message]
|