On 10/05/07, russ - maxdesign <[EMAIL PROTECTED]> wrote:

The problem is that the <abbr> is poorly supported by IE5 and IE6. This
means you may have to (1) revert to using the <acronym> element, or (2)
place a span inside your <abbr> element and style this instead or (3) use
JavaScript:
http://annevankesteren.nl/2003/08/improved-styling-abbr-in-ie

Does anyone else here use Dean Edwards' technique?
http://dean.edwards.name/my/abbr-cadabra.html

Basically the premise is like so:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd";>
<html xmlns:html="http://www.w3.org/1999/xhtml";>
<head>
...
        <style type="text/css">
                html\:abbr, abbr {
                        border-bottom:1px dashed #000;
                        cursor: help;
                }
        </style>
</head>
<body>
        <!-- prefix the <abbr/> tag with the "html" namespace prefix -->
        <p>For example: This is an <html:abbr
title="abbreviation">abbr</html:abbr>.</p>
...
</body>
</html>


Although it's valid, the validator throws up an error. As far as
accessibility goes, I'm not certain how it would be dealt with by
screen readers.

I'd be interested to know if there are any problems with the method
that I've overlooked besides the validation error (which is apparently
incorrect anyhow).

Cheers,
Sarah


--
Sarah Isaacson
Twitter: http://www.twitter.com/velvetsarah
Weblog: http://www.velvet.id.au
Not a work of art or a showcase of my design skills, just a place for
me to put my thoughts and get on my soapbox sometimes!


*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
*******************************************************************

Reply via email to