PDA

View Full Version : Highlight Table Cells problem in Firefox



Jacobim
01-26-2010, 10:27 PM
1) Script Title: Highlight Table Cells Script

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex11/highlighttable.htm

3) Describe problem: Page background highlights (orange) when table cell rollover occurs in Firefox. Example: http://www.jakehirsch.com (rollover links in grey boxes: Home, Recent Work, Pricing).

Nile
01-27-2010, 12:51 AM
Ok - steps:
1. Delete all of the javascript that DynamicDrive told you to add.
2. Find:


<tr>

On line 170, and make it:


<tr class="hover_links_bg">

Then in the <head> part of your document, add:


<style type="text/css">
table tr.hover_links_bg td:hover {
background: #FF9933;
}
</style>