Alternative Stylesheet for Acronym
Jump to navigation
Jump to search
Problem:
<abbr>(abbreviation, 縮寫)</abbr> and <acronym>(首字母縮略字) </acronym>
tags/markup was not work at old version of Mediawiki (v.1.6.9 bug) but abbr tag works in version 1.16.0)
- <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: add link to the wiki node/page
PKM (?)
<span title="Personal Knowledge Management" class="acronym" style="cursor: help;border-bottom: 1px dashed #000;">[[PKM]] (?)</span>
add link to the wikipedia page
ICMP(?)
further reading
- 使用abbr及acronym標籤表示網頁中呈現的文字縮寫與簡稱不良設計
- Prokop, Marek (2002). Styling in IE July 8, 2006 access
- W3C (1999). HTML 4.01 Specification - 9.2.1 Phrase elements