pairustwo
12-14-2002, 07:28 PM
I'm trying to get an onclick to work in NS4 but if I apply a style to img (which fires the onclick) it fails in NS4. This is important because it takes NS4 to an upgrade message. <div style="position:relative; top: 12%; left:35%;">
<a href="#" onclick="return fire()"><img src="images/indexbg.gif" alt="open our page" border="0"></a>
</div> I've applied the style inline to the a tag, redefined the a tag with styles in the head - taken the image out of the div, left it in the div tag... all with the same result.
If it take the style off it works fine. Whats up with that?
Pairustwo
<a href="#" onclick="return fire()"><img src="images/indexbg.gif" alt="open our page" border="0"></a>
</div> I've applied the style inline to the a tag, redefined the a tag with styles in the head - taken the image out of the div, left it in the div tag... all with the same result.
If it take the style off it works fine. Whats up with that?
Pairustwo