ALT TAGS in Netscape

liunx

Guest
Hi all.<br />
<br />
I have wriiten some html pages whicg work OK in IE, but when it comes to looking at them using Netscape I have a problem.<br />
<br />
The pages have ALT tags on the images, example.<br />
<br />
<img src=http://www.webdeveloper.com/forum/archive/index.php/"../images/1pix.gif" alt="Electronic Counter Measures, Covert Satellite Tracking, Covert Body Armour, Bugging Devices, Secure Communications" width="1" height="1" border="0" /><br />
<br />
When I view them in Netscape the contents of the ALT tag is displayed across the screen without moving the mouse over the image.<br />
<br />
Can anyone point me in the right direction with this one.<br />
<br />
Kind regards<br />
<br />
Dereck<!--content-->Interesting...you have a link to the page?<!--content-->I don't think it should automatically display in NS.<!--content-->Agreed, sounds like a browser bug, or maybe some other code in your page is causing it. Note that, according to standards, browsers should not display the alt text as a tooltip. Compliant browsers, such as Mozilla, do not.<br />
<br />
Adam<!--content-->Hi,<br />
<br />
the link is <!-- m --><a class="postlink" href="http://www.int-int.bytecsolutions.com">http://www.int-int.bytecsolutions.com</a><!-- m --><br />
<br />
Thanks for looking.<br />
<br />
Regards<br />
<br />
Dereck<!--content-->Nothing breaks on my Mozilla1.4(win2k)<!--content-->Two things:<br />
<br />
1. Validate your HTML (<!-- m --><a class="postlink" href="http://validator.w3.org/check?uri=http%3A//www.int-int.bytecsolutions.com/main.php">http://validator.w3.org/check?uri=http% ... m/main.php</a><!-- m -->) and correct the errors.<br />
<br />
2. Your onmouseover event handlers are incorrect. You have this:<br />
<br />
onMouseOver="MM_swapImage("'img6','','images/menu_bullet_selected.gif',1)<br />
<br />
You should be using something like this instead (note the double quotes have moved to the end of the line):<br />
<br />
onmouseover="MM_swapImage('img6','','images/menu_bullet_selected.gif',1)"<br />
<br />
Adam<!--content-->Originally posted by dcjones <br />
<img src=http://www.webdeveloper.com/forum/archive/index.php/"../images/1pix.gif" alt="Electronic Counter Measures, Covert Satellite Tracking, Covert Body Armour, Bugging Devices, Secure Communications" width="1" height="1" border="0" /><br />
<br />
Why does the alt text display? It's when the image itself can't be displayed. So why doesn't it display? I'm taking a guess here, but you have your link pointing to a folder that's in a folder one level above where you are currently at. Your home page already is at the root level so there is no level to go up to. Fix the link to point to where the image is actually at, and the image will display. Not that a 1px by 1px image is going to display much. ;)<!--content-->
 
Back
Top