On 12/19/11 10:47 PM, Benjamin Hawkes-Lewis wrote:
On Tue, Dec 20, 2011 at 4:38 AM, Grant Bailey wrote:
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'.
[...]
In general, I'd strongly recommend putting your definitions in plain
view, along with anything else users might want to read:
<dfn>teleportation</dfn>, made famous in the<cite>Star Trek</cite> TV
series
Simple, robust, understood.
[...]
Expanding on Benjamin's good suggestion, if your intent is to avoid
"cluttering" the main text with these definitions, you could put them
into a margin to one side of the text. ("Sidenotes.")
I stole this idea from Robert Bringhurst's "The Elements of Typographic
Style." Lots more ideas relevant to web page layout in that book. :)
--
Cordially,
David
*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [email protected]
*******************************************************************