You can always check something from css3 goodies:
a:before {
content: attr(title) ": ";
}
----------------------------------------------------------------------------
*Kristaps Ancāns*
*
*
Senior front-end developer (coder)
Mob.: +34 644340683
E-pasts: [email protected]
Skype: kristaps.ancans
Web: fyfi.net, metalguide.org <http://www.metalguide.org>, motorolleri.lv,
t3hwin.com
On Tue, Dec 20, 2011 at 10:40, Foskett, Mike <[email protected]>wrote:
> For an tooltip you could look at:
> http://www.websemantics.co.uk/resources/styled_accessible_tooltips/
>
> But maybe this would better suit:
> http://www.websemantics.co.uk/resources/accessible_ajax_glossary/
>
>
> Regards
>
> mike foskett
> www.websemantics
>
>
> -----Original Message-----
> From: [email protected] [mailto:[email protected]] On
> Behalf Of Grant Bailey
> Sent: 20 December 2011 04:38
> To: [email protected]
> Subject: [WSG] Is it possible to style an attribute?
>
> Hello,
>
> I was wondering if anyone could clarify whether it is possible to style
> an attribute. I realise this sounds odd, so allow me to explain what I
> wish to do.
>
> In my web page there are a number of terms that need to be defined. I
> like the user to be able to hover over the term and get the definition
> that way. For example:
>
> <dfn title="Made famous in the ‘Star Trek’ TV
> series>teleportation</dfn>
>
> ... produces
>
> Made famous in the 'Star Trek' TV series
>
> ... when the user hovers over the defined term 'teleportation'.
>
> I would prefer the words 'Star Trek' to appear in italics instead (yes,
> I am fussy). Is there any way to do this?
>
> I would be grateful for responses.
>
> Thank you and kind regards,
>
> Grant Bailey
>
>
>
>
> *******************************************************************
> List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
> Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
> Help: [email protected]
> *******************************************************************
>
>
> This is a confidential email. Tesco may monitor and record all emails. The
> views expressed in this email are those of the sender and not Tesco.
>
> Tesco Stores Limited
> Company Number: 519500
> Registered in England
> Registered Office: Tesco House, Delamare Road, Cheshunt, Hertfordshire EN8
> 9SL
> VAT Registration Number: GB 220 4302 31
>
>
> *******************************************************************
> List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
> Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
> Help: [email protected]
> *******************************************************************
>
>
*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [email protected]
*******************************************************************