Alternative Stylesheet for Acronym

From LemonWiki共筆
Jump to navigation Jump to search

縮寫的 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