Alternative Stylesheet for Acronym: Difference between revisions

From LemonWiki共筆
Jump to navigation Jump to search
No edit summary
mNo 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])
<abbr>(abbreviation, 縮寫) 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>

Revision as of 22:32, 24 October 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:

<span title="Personal Knowledge Management" class="acronym" style="cursor: help;border-bottom: 1px dashed #000;">[[PKM]] (?)</span>


Reference