Alternative Stylesheet for Acronym: Difference between revisions
Jump to navigation
Jump to search
m (1個修訂) |
m (Text replacement - "Category:WebDesign" to "Category:Design") |
||
(7 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
縮寫的 CSS 樣式 | |||
'''Problem''': | '''Problem''': | ||
<abbr>(abbreviation, 縮寫) and <acronym>(首字母縮略字) tags/markup was not work at Mediawiki ([http://osdir.com/ml/org.wikimedia.mediawiki.bugs/2004-03/msg00124.html bug]) | |||
<nowiki><abbr>(abbreviation, 縮寫)</abbr> and <acronym>(首字母縮略字) </acronym></nowiki> | |||
tags/markup was not work at old version of Mediawiki (v.1.6.9 [http://osdir.com/ml/org.wikimedia.mediawiki.bugs/2004-03/msg00124.html bug]) but abbr tag works in version 1.16.0) | |||
* <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> | ||
Line 22: | Line 27: | ||
=== Other approach: add link to the wiki node/page === | === Other approach: add link to the wiki node/page === | ||
<span title="Personal Knowledge Management" class="acronym" style="cursor: help;border-bottom: 1px dashed #000;">[[Personal Knowledge Management|PKM|]] (?)</span> | |||
<pre> | <pre> | ||
Line 28: | Line 33: | ||
</pre> | </pre> | ||
=== add link to the wikipedia page === | |||
<span title="Internet Control Message Protocol" class="acronym" style="cursor: help;border-bottom: 1px dashed #000;">[http://zh.wikipedia.org/wiki/ICMP ICMP](?)</span> | |||
further reading | further reading | ||
Line 38: | Line 44: | ||
[[Category: | [[Category:Design]] [[Category:MediaWiki]] |
Latest revision as of 10:32, 16 May 2022
縮寫的 CSS 樣式
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[edit]
Alternative Stylesheet[edit]
- 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[edit]
PKM| (?)
<span title="Personal Knowledge Management" class="acronym" style="cursor: help;border-bottom: 1px dashed #000;">[[PKM]] (?)</span>
add link to the wikipedia page[edit]
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