Alternative Stylesheet for Acronym: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
'''Problem''': | '''Problem''': | ||
<abbr> and <acronym> tags/markup was not work at Mediawiki ([http://osdir.com/ml/org.wikimedia.mediawiki.bugs/2004-03/msg00124.html bug]) | |||
* <ACRONYM title="High Technology">Hi-Tech</ACRONYM> | * <ACRONYM title="High Technology">Hi-Tech</ACRONYM> | ||
* <ABBR title="World Wide Web">WWW</ABBR> | * <ABBR title="World Wide Web">WWW</ABBR> | ||
'''Solution | {{Software version| software=MediaWiki | url=http://www.mediawiki.org/wiki/MediaWiki | version=1.6.9 }} | ||
Alternative Stylesheet: {{Acronym| acronym=Hi-Tech| def=High Technology}} | |||
'''Solution''': | |||
Alternative Stylesheet: | |||
* {{Acronym| acronym=Hi-Tech| def=High Technology}} | |||
<pre> | <pre> | ||
| Line 17: | Line 21: | ||
Other approach: | |||
<span title="Personal Knowledge Management" class="acronym">[[PKM]]</span> | * <span title="Personal Knowledge Management" class="acronym" style="cursor: help;border-bottom: 1px dashed #000;">[[PKM]] (?)</span> | ||
<pre> | |||
<span title="Personal Knowledge Management" class="acronym" style="cursor: help;border-bottom: 1px dashed #000;">[[PKM]] (?)</span> | |||
</pre> | |||
| Line 24: | Line 32: | ||
* [http://enable.nat.gov.tw/document/4_2.jsp 使用abbr及acronym標籤表示網頁中呈現的文字縮寫與簡稱不良設計] | * [http://enable.nat.gov.tw/document/4_2.jsp 使用abbr及acronym標籤表示網頁中呈現的文字縮寫與簡稱不良設計] | ||
* Prokop, Marek (2002). [http://www.sovavsiti.cz/css/abbr.html Styling <abbr> in IE] ''July 8, 2006 access'' | * Prokop, Marek (2002). [http://www.sovavsiti.cz/css/abbr.html Styling <abbr> in IE] ''July 8, 2006 access'' | ||
* W3C (1999). [http://www.w3.org/TR/REC-html40/ HTML 4.01 Specification] - [http://www.w3.org/TR/html401/struct/text.html#edef-ABBR 9.2.1 Phrase elements] | |||
[[Category:WebDesign]] | [[Category:WebDesign]] | ||
Revision as of 21:33, 10 October 2007
Problem: and <acronym> tags/markup was not work at Mediawiki (bug)
- <ACRONYM title="High Technology">Hi-Tech</ACRONYM>
- WWW
| MediaWiki | v.1.6.9 |
Solution:
Alternative Stylesheet:
- Hi-Tech
<span title="High Technology" class="acronym">Hi-Tech</span>
abbr, acronym, span.abbr, span.acronym {
cursor: help;
border-bottom: 1px dashed #000;
}
Other approach:
- PKM (?)
<span title="Personal Knowledge Management" class="acronym" style="cursor: help;border-bottom: 1px dashed #000;">[[PKM]] (?)</span>
Reference
- 使用abbr及acronym標籤表示網頁中呈現的文字縮寫與簡稱不良設計
- Prokop, Marek (2002). Styling in IE July 8, 2006 access
- W3C (1999). HTML 4.01 Specification - 9.2.1 Phrase elements