Reply to Re: <abbr> best practice?

Your name:

Reply:


Posted by Jonathan N. Little on 02/07/06 01:20

Barbara de Zoete wrote:
> On Mon, 06 Feb 2006 22:27:56 +0100, John Salerno
> <johnjsal@NOSPAMgmail.com> wrote:
>
>> Jonathan N. Little wrote:
>>
>>>> <style type="text/css">
>>>> ABBR {
>>>> border-bottom: 1px dotted;
>>>> cursor: help;
>>>> }
>>>> ABBR.already-expanded {
>>>> border-bottom: 1px dotted silver;
>>>> cursor: inherit;
>>>> }
>>>> </style>
>>
>>
>> I tried this, but cursor: inherit didn't seem to do anything. Is it
>> not well-supported?
>
>
> The value 'inherit' means that the cursor will look just like what it
> looks like when it is over the content of the parent of the
> abbriviation element. So it might look like nothing happens, when in
> fact that is what is supposed to happen.
>
> If there is no title, the value 'help' is rather useless, isn't it.
>

Yep, that is why *my* code had the help cursor on ABBR *with* the title
attribute is present. The snipping above is misleading, my code example
was:

ABBR { border-bottom: 1px dotted silver; }
ABBR[title] { cursor: help; }

first occurrence: <abbr title="United Kingdom">UK</abbr>
.... later occurrence: <abbr>UK</abbr>





--
Take care,

Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация