Home Articles FAQs XREF Games Software Instant Books BBS About FOLDOC RFCs Feedback Sitemap
irt.Org
#

Q202 How can I make a link text go bold on mouse over, but only in browsers that support it?

You are here: irt.org | FAQ | DHTML | Q202 [ previous next ]

<a href="apage.html" onMouseOver="if (document.styleSheets) this.style.fontWeight='bold';"
  onMouseOut="if (document.styleSheets) this.style.fontWeight='normal';">text here</a>

Feedback on 'Q202 How can I make a link text go bold on mouse over, but only in browsers that support it?'

©2018 Martin Webb