Jump to content

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.

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.