Jump to content

css ie and fire fox problem


mattm1712

Recommended Posts

hi i know its not php but having some issues with css

 

i have this in my style.css

 

.forumtable {

background-color: brown;

text-decoration:none;

font-family: arial;

  color: #5f028a;

  font-size: 12px;

 

 

}

.forumtable:hover {

 

background-color: pink;

text-decoration:none;

font-family: arial;

  color: #5f028a;

  font-size: 12px;

 

 

}

 

 

in my table i have

 

echo "<table><tr  class=forumtable><td width='46' border='0'>hi</td></tr></table>";

 

it works in  chrome but noe ie or firefox

 

 

any ideas?

 

Link to comment
https://forums.phpfreaks.com/topic/214307-css-ie-and-fire-fox-problem/
Share on other sites

On older browsers, the hover will only work on <a> tags. You can use JavaScript to change the style though.

 

If you are talking about newer browser versions, I suggest you provide a link to a test page where the problem occurs and specify the browser name(s) and version number(s) that are not rendering as expected.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.