W3C home > Mailing lists > Public > www-style@w3.org > June 2005

Re: Invisible Text

From: Matthew Raymond <mattraymond@earthlink.net>
Date: Fri, 24 Jun 2005 10:15:37 -0400
Message-ID: <42BC1589.2030702@earthlink.net>
To: Martijn <martijn.martijn@gmail.com>
CC: www-style@w3.org

Martijn wrote:
> On 6/24/05, Matthew Raymond <mattraymond@earthlink.net> wrote:
>>    I like the negative value idea. It allows for the content to be
>>forced off the page in CSS1 browsers. It's still feels like a dirty
>>hack, though. I may go back to just using <span> elements with "display:
> Yes, it is a hack, it also causes weird focus rings in current trunk
> Mozilla builds, when the element is focusable:
> https://bugzilla.mozilla.org/show_bug.cgi?id=133165#c52

    Yeah, it is a hack. I'd prefer something like "color: transparent" 
if it would work. Using "content: none" would also be nice...


    Is there a less hackish way of hiding text using CSS 1 or CSS 2.1? 
It's looking more and more like a styled <span> is the cleanest way to go.
Received on Friday, 24 June 2005 14:15:38 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:27:18 UTC