How do I set font size to 0px in IE6?

Posted by Justin808 on Stack Overflow See other posts from Stack Overflow or by Justin808
Published on 2010-06-07T22:03:08Z Indexed on 2010/06/07 22:12 UTC
Read the original article Hit count: 200

Filed under:
|

I have an unordered list, I'm trying to hide the text in the list. I can do this 2 ways that i know of:

font-color: transparent; font-size: 0px;

I prefer the 0px method as its not selectable. This issue is neither way works in IE6. The first way just doesn't work in IE6 at all, the 2nd leave a 1PX high font.

Is there a way to hide the text in IE6?

This is a visual thing, I know you can read the text by reading the source and that is OK, I just need it to visually not be there.

© Stack Overflow or respective owner

Related posts about css

Related posts about internet-explorer-6