MyBB Community Forums

Full Version: Alt Table rows
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi, I was wondering how to get the alt table rows to change color on hover. It is probably something simple I have missed. Can anyone please help me out.
In your theme in the Additional CSS at the bottom put these lines there:



}

.trow1:hover {
background:#FFFF00; /*or other color*/
}


}

.trow2:hover {
background:#FFFF00; /*or other color*/
}
Wow that is so sadly easy I can't believe I didn't get that. Thanks for the help Smile.
Your welcome...

But now I have a question...I get it to work on IE7 but I can't get it to work with Firefox....

How can I get this to work on Firefox?
Apparently this is something to do with Quirks Mode, although most of the pages I looked up were dealing with the issue of IE7 not displaying the hover. However, I did read that
.test:hover doesn't work in Firefox that is running in Quirks Mode, which is the format of the CSS in previous post.

http://www.cs.tut.fi/~jkorpela/quirks-mode.html
http://forums.microsoft.com/MSDN/ShowPos...9&SiteID=1
http://www.bernzilla.com/item.php?id=762

Apparently the solution is to define a doctype at the start of the document (or the forums?) but I haven't tested it out myself yet.