ID:2191136
 
Code:
var/obj/o = new
o.name = "Test Object"
winset(src,"selectGrid","style='a:link{text-decoration:none;color:#8c8c8c;}a:visited{color:teal;}a:hover{color:#8c8c8c;}'")
src << output("<a href='?selection [o.name]'>[o.name]</a>", "selectGrid:1,1")


Problem description:
You can't change the hover color of a link. It will always be the highlight-color parameter on the interface element. With that said, I don't want all of my links to have the same hover color.

I put this in Developer Help because I'm not sure if I'm just doing something wrong.

Bump
//Try this
var
Style={"what you wanna put"}

mob/standard/verb/Knight()
winshow(usr,"interface name",2)
usr<<browse("[Style]</center>whatever")
I don't know why I didn't note this, I'm dumb. I'm trying to do it with a grid.

The problem is, when you set highlight-color on a grid, it doesn't matter what you have a:hover as, because it will always be highlight-color.

With that said, I'm looking for a workaround to that, though maybe just changing to a browser element would be better idea.