W3C home > Mailing lists > Public > www-style@w3.org > October 2003

Re: Possible additional CSS media type: 'reader'

From: Chris Moschini <cmoschini@myrealbox.com>
Date: Thu, 30 Oct 2003 13:33:50 -0500
To: www-style@w3.org
Message-ID: <1067538830.c82a9ca0cmoschini@myrealbox.com>

The original approach here included HTML bloat - adding extra span tags almost anywhere.

There is a better approach available which does not require a span tag; given:


One can replace the text with a graphical version using:

h1 {
	background: url( "title.jpg" );
	width: 700px; /* height: 100px; */
	height: 0px; padding-top: 100px; overflow: hidden;

It's the final line that makes it work; the text begins past the element's bottom and is

Do screen readers still miss the text on elements using this improved method of Image

-Chris "SoopahMan" Moschini
Received on Thursday, 30 October 2003 13:33:50 UTC

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