[Discuss] Re: CSS wizard wanted
Tom Vogt
tom at lemuria.org
Fri Dec 1 12:18:00 CET 2006
Samuel Knowlton schrieb:
> What you are trying to do is counter to what CSS is sort of 'there for' (at
> least, according to the detached nitwits at the W3C). You are using images
> as content (probably with a text-alternative, but still) and they would
> rather you did something like:
>
> <ul class="Navigation">
> <li id="Basics"><a href="somelink.php" title="The Basics"><img
> src="/common/B-Basics.png" /></a>
> <li ...>
> </ul>
>
What I'm actually doing is this:
<h1 id="HPlayerpage"><span class="alt">Player Page</span></h1>
Why? Accessibility. Doing it this way makes the page appear as a normal
text page to those without images. I don't remember where I got this
from, but it's not my invention. I must've read some convincing reason
why it's good to do it this way, but I can't remember. :-)
But I would be thrilled if someone can throw me a solution that takes
care of it all. Clean XHTML and CSS, accessible, etc.
More information about the Discuss
mailing list