The Mudcat Café TM
Thread #141080   Message #3245153
Posted By: treewind
26-Oct-11 - 01:59 PM
Thread Name: Tech: HTML mouseover
Subject: RE: Tech: HTML mouseover
I don't think there's any way to get CSS to play a MIDI file, not even with the "content" attribute. That looks like a job for Javascript (good luck! I use it as little as I can)

---
What I consider a good use of the hover pseudo-class is something like this (yeah, I would say that, the web site is part of my day job) where the table row is highlighted when the mouse is over it. I was surprised and delighted to find you could use "hover" on a <TR> element, having previously only ever used it on links.

The links turning blue and getting underlined is all controlled by the same hover pseudo-class on a table row combined with an <A> element.