mdempsey
10-01-2004, 09:24 PM
Ok guys im new to this and have a problem i cant work out. Im making a layout and using CSS rollovers. Here is my code:
<style type="text/css">
a {
color:#006;
font-size:8pt;
font-family:helvetica, arial, sans-serif;
text-decoration:underline;
}
a:link {color:#333333; background-color: transparent;}
a:visited {color:#333333; background-color: transparent;}
a:hover {color:#666666; background-color: transparent; text-decoration:none;
a.nav {
color:#000000;
font-size:8pt;
font-family:helvetica, arial, sans-serif;
text-decoration:underline;
}
a.nav:link {color:#FFFFFF; background-color: transparent;}
a.nav:visited {color:#FFFFFF; background-color: transparent;}
a.nav:hover {color:#cccccc; background-color: transparent; text-decoration:none;
</style>
And then this for each link
<td width="19%" align="center">
<a href="/" class="" style="text-decoration: none">Web Hosting</a></td>
This works for me in IE as can be seen here: http://www.element09.com/matt/mooharr/coded/
The two different classes work, the first line of navigation has one class, and the second line has a different class. All good and well in IE. But then in Mozilla, the second line of links revert to the first class.
Has anybody got any idea why this may be?
Thanks for help, its greatly appreciated....
Matt
<style type="text/css">
a {
color:#006;
font-size:8pt;
font-family:helvetica, arial, sans-serif;
text-decoration:underline;
}
a:link {color:#333333; background-color: transparent;}
a:visited {color:#333333; background-color: transparent;}
a:hover {color:#666666; background-color: transparent; text-decoration:none;
a.nav {
color:#000000;
font-size:8pt;
font-family:helvetica, arial, sans-serif;
text-decoration:underline;
}
a.nav:link {color:#FFFFFF; background-color: transparent;}
a.nav:visited {color:#FFFFFF; background-color: transparent;}
a.nav:hover {color:#cccccc; background-color: transparent; text-decoration:none;
</style>
And then this for each link
<td width="19%" align="center">
<a href="/" class="" style="text-decoration: none">Web Hosting</a></td>
This works for me in IE as can be seen here: http://www.element09.com/matt/mooharr/coded/
The two different classes work, the first line of navigation has one class, and the second line has a different class. All good and well in IE. But then in Mozilla, the second line of links revert to the first class.
Has anybody got any idea why this may be?
Thanks for help, its greatly appreciated....
Matt