Graphic cut on IE, but not FireFox
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.javascript archive

Graphic cut on IE, but not FireFox

From: Daniel Kaplan <NoSPam@NoSpam.com>
Date: Sun Jan 29 2006 - 16:55:00 CET

I use the code below to create dynamic buttons (highlight when Mouse is
over). And it all works beautifully, except on IE, where one of the
graphics is clipped at the bottom. Yet with Netscape, Firefox, Opera, not a
single hitch.

Any ideas what this could be, and what the fix would be?

Thanks

Code is as below (a snippet)

aboutoff= new Image(95, 35);aboutoff.src="../image/about_n.jpg";abouton= new
Image(95, 35);abouton.src="../image/about_f.jpg";

<A HREF="land.html" onMouseover="lightup('about')"
onMouseout="turnoff('about')">
    <IMG SRC="../image/about_n.jpg" name="about" width="95" height="35"
border="0">
</A>
Received on Tue Feb 7 21:26:38 2006