[thelist] Standrards Compliance -fine-tuning

Shawn K. Quinn skquinn at speakeasy.net
Sat Oct 18 23:27:50 CDT 2008


On Wed, 2008-10-08 at 14:55 -0700, Will wrote:
> You'll want to get the text from your header image into the actual
> html.
> You can hide it with css.
> 
> we usually do something like
> <a id="brand" href="/"><strong>Florapedia</strong> - Inside info on
> flowers</a>
> 
> then in the css, set the bg image on the a and use "text-indent:
> -9999em;"

I still don't see what's so wrong with:

<a id="brand" href="/"><img src="/image.jpg" alt="Florapedia - Inside
info on flowers"></a>

Certainly seems a lot less complicated to me. Anything including CSS
properties like "text-indent: -9999em;" is at best a relatively crude
hack.

-- 
Shawn K. Quinn <skquinn at speakeasy.net>




More information about the thelist mailing list