![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I am using the ACRONYM tag to provide an explanation of codes within my application. Example: p>The circuit <acronym title="Circuit P123T: Picton SS to Telebary SS 345KV">P123T</acronym> is out of service from 13:00 to 15:00 today</p>. I would prefer a fancy balloon tip, but this allows me to store and retrieve the text directly in a database table, and avoid having to add any additional setup text to create any invisible balloon text. (Unless there is another way). I would like to change the style of the alternate text that appears, such as increasing its font size and background color. Is there a way to do this as CSS or in JavaScript ? |
#3
| |||
| |||
|
|
acronym title="Circuit P123T: Picton SS to Telebary SS 345KV">P123T</acronym |
#4
| |||
| |||
|
|
Jarson wrote: acronym title="Circuit P123T: Picton SS to Telebary SS 345KV">P123T</acronym In what way is that an acronym? Use <dfn> or a semantically meaningless element like <span> instead. (Followups trimmed.) |
#5
| |||
| |||
|
|
I am using the ACRONYM tag to provide an explanation of codes within my application. Example: p>The circuit <acronym title="Circuit P123T: Picton SS to Telebary SS 345KV">P123T</acronym> is out of service from 13:00 to 15:00 today</p>. I would prefer a fancy balloon tip, but this allows me to store and retrieve the text directly in a database table, and avoid having to add any additional setup text to create any invisible balloon text. (Unless there is another way). I would like to change the style of the alternate text that appears, such as increasing its font size and background color. Is there a way to do this as CSS or in JavaScript ? |
#6
| |||
| |||
|
|
It is a semantic argument debating which tag best fits this purpose. True, is not an Acronym |
|
but it also isn't a definition or an abbreviation. However, I would surely switch to another tag if it provided a better solution. None of them seem to provide a way to modify the style of their title attribute. |
#7
| |||
| |||
|
|
abbr, acronym {border-bottom:1px dashed #c0c0c0;} simulates Opera and Firefoxes rendering of those elements for IE. |
#8
| |||
| |||
|
|
Jarson wrote: It is a semantic argument debating which tag best fits this purpose. True, is not an Acronym ..so then there is no semantic argument. It is not an acronym. but it also isn't a definition or an abbreviation. However, I would surely switch to another tag if it provided a better solution. None of them seem to provide a way to modify the style of their title attribute. Why not use a simple <span> as Leif suggested? Please don't top-post. -- -bts -This space intentionally left blank. |
#9
| |||
| |||
|
|
It is a semantic argument in the context that it is missing the point of the question. My question is whether or not it is possible to alter the style of the title attribute (and how). Sorry if I wasn't clear on that, and I have just never seen a way of doing it. Any tag that displays alternate text would do find -- I think changing the alternate text's style would be useful for many applications. |
#10
| |||
| |||
|
|
Adrienne wrote: abbr, acronym {border-bottom:1px dashed #c0c0c0;} simulates Opera and Firefoxes rendering of those elements for IE. Except that IE has (IIRC) absolutely no support for ABBR. It even removes it from the DOM. |
![]() |
| Thread Tools | |
| Display Modes | |
| |