Jump to content

I am trying it add an alt text to the following image code


blagger

Recommended Posts

I am trying it add an alt text to the following image code but whatever I do it messes the site up:

 

 

<td colspan=15 width="960" height="125" background="<?php echo DIR_WS_IMAGES; ?>menu_buttons/deviltronics_top.gif">
	<table cellspacing="0" cellpadding="0" border="0">
		<tr>
			<td><?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_draw_separator('pixel_trans.gif', '960', '78'); ?></a></td>
		</tr>

 

Could somebody help please.

You cannot add a title to background images, which deviltronics_top.gif is.

 

I guess the tep_draw_separator function produces the relevant <img /> HTML code for displaying the pixel_trans.gif image. If you want to add a title to that image then you'll going to need to modify that function. Without seeing any code for that function I can't really suggest any thing.

Archived

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

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.