I have a problem getting this rollover text button to work
properly in Netscape 4. It works great in NS6 and IE4+ on pc
and mac, but displays the following problems in NS4. The
background color doesn't fill the full table cell and I need to
make the entire cell a hyperlink, not just the text.
I'm familiar with the netscape background bug but all of the
things I have previously tried have failed. I know I need to handle
the onclick stuff differently for Netscape, but again my
previous efforts have failed. I have until tomorrow to make the
whole thing work or my client is going back to using image
rollovers, so if anyone can either solve this problem for me or
let me know if what I am trying to do is impossible, please let
me now.
Using Javascript is ok, but if I can do it without extensive
javascript, that would be preferred. I know I'm asking a lot, but
if someone can provide a definitive solution that works
cross-browser, I would be extremely appreciative.
Thanks in advance. Stephen
----------------------------------
<table border="0" cellpadding="1" cellspacing="0"
bgcolor="#333333" width="200">
<tr><td align="left">
<table border="0" cellpadding="2" cellspacing="0" width="200"
bgcolor="#ffffff"><tr><td height="20" width="100%" nowrap
onclick="window.location=('nowhere.html')" valign="middle"
onMouseover="this.style.backgroundColor='#99ccff'"
onMouseout="this.style.backgroundColor='#ffffff'">
<ilayer width=100%><layer width=100%
onMouseover="this.bgColor='#99ccff'"
onMouseout="this.bgColor='#ffffff'">
<a href="nowhere.html"
style="text-decoration:none;"><b>sample text</b></a>
</layer></ilayer>
</td></tr></table></td></tr></table>