W3C home > Mailing lists > Public > w3c-wai-ig@w3.org > January to March 2006

Re: Display: none

From: David Dorward <david@us-lot.org>
Date: Tue, 14 Mar 2006 18:58:36 +0000
To: w3c-wai-ig@w3.org
Message-ID: <20060314185836.GA8912@us-lot.org>

On Tue, Mar 14, 2006 at 10:50:50AM -0800, Paul Novitski wrote:
> h1
> {
>         overflow: hidden;
>         width: 150px;
>         height: 0px;
>         padding-top: 20px;
>         background: url("../images/this_is_my_title.gif") left top 
>         no-repeat;
> }
> I like this a lot because it doesn't require any extraneous 
> markup.  I'm not aware of any disadvantages to this technique and 
> would appreciate hearing about any.

Style sheets on but images off (or even just background images off, as
is the default for printing on most browsers) and the user gets
nothing.

Also, if the user increases their font size, the image won't resize,
possibly leaving it in the state "Still too small to read".

-- 
David Dorward                                      http://dorward.me.uk
Received on Tuesday, 14 March 2006 18:58:56 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 19 July 2011 18:14:24 GMT