Alternative Stylesheet for Acronym: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
| Line 38: | Line 38: | ||
[[Category:WebDesign]] | [[Category:WebDesign]] [[Category:MediaWiki]] | ||
Revision as of 00:02, 30 November 2007
Problem: (abbreviation, 縮寫) 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: 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>
- todo
- add link to the wikipedia page
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