Jump to content

Help


DaNuGai

Recommended Posts

I want to know why this code doesn't work in FireFox but works perfectly in IE.<A HREF="news.html"><TD CLASS="quicklinks" ONMOUSEOVER="this.className='mouseover';return true" ONMOUSEOUT="this.className='mouseout';return true">NEWS</TD></A>Is there a way to get this to work in firefox and IE. All I am trying to do is make the whole TD Hyperlink. Any help will be greatly appreciated.

Link to comment
Share on other sites

All I am trying to do is make the whole TD Hyperlink.
Here is two ways that you could do this, give the anchor tag 100% width and height plus display block or put an onclick event onto the td.<td><a style="width:100%;height:100%;display:block" href="http://www.google.com">Google</a></td><td onclick="window.location='http://www.google.com'">Google</td>
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...