Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

html image alt tags


blr044

Recommended Posts

Posted

Just to understand, I do not have any problem with the image alt tags in the php script.

 

Now I have from one to a few images on home page. To edit the text on the home page, one goes to languages/english/index.php

 

So when moves the mouse over images, it will display some text. I can not get my to display this bit of text. This is what I have:

 

<img src="images/image.jpg" width="200" height="200" alt="text">

 

I have searched google and and even through tips and tricks. Or is this not possible because of the file name extension?

 

Thanks.

 

blr044

Posted

I use this for images, having set up tables

<td width="37%" rowspan="7"><div align="center"><img src="policeimages/image1.jpg" alt="Would you measure up in Police Brand products" width="309" height="437" hspace="2" vspace="2" align="top"></div></td>

 

I set my html stuff up in dreamweaver, and that is the way it does it for me. In the example, I have several images in the same row.

Posted

Thank you. I tried both ways.

 

The second did not work, but maybe because I did not use <table></table>. To make it work I end up doing as the following. Omitted the term alt and stuck with title:

 

<img src="images/image.jpg" width="200" height="200" title="product description">

 

Thanks again.

 

blr044

Posted

<table>? why the hell are you using tables to display an alt tag?!

Bennett, you are right using both alt and title tags.

SolarFrenzy

Solar powered gadgets at down to earth prices.

 

CheekyNaughty

Promoting British Design

Posted
Thank you. I tried both ways.

 

The second did not work, but maybe because I did not use <table></table>. To make it work I end up doing as the following. Omitted the term alt and stuck with title:

 

<img src="images/image.jpg" width="200" height="200" title="product description">

 

Thanks again.

 

blr044

An img call without an alt attribute is incorrect. You need to include them both for the popup to work in all browsers.

 

Jack

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

All of My Addons

Get the latest versions of my addons

Recommended SEO Addons

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...