Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Changing background colour on link hover

Format: Sugarcane

I'm using to do some standard link-hover shenanigans. Does anyone know if it's possible to set up a stylesheet/macro to change the background colour of the entire passage when hovering over a link? Using "background-color" within the ".passage a:hover" seems to only change the color of the background of that link.

Thanks a ton!


  • Oh, note also I'm using the method outlined at,1055.msg1727.html#msg1727 to have multiple differently coloured links within a single passage. Ideally, I'd want to have each of these links also flash the background a different colour on hover.
  • Since I'm stalled trying to figure something out for this other fellow, figured I'd hop in here and help since I think I figured your deal out. It's sort of a little unintuitive (at least, it was for me), but it makes sense when you remind yourself that machines are kinda dumb and picky.

    Try this:

    { background: [whatever your background color is by default]}

    { background: [whatever color you want it to flash]}
Sign In or Register to comment.