PDA

View Full Version : Whats wrong with my bit of HTML code plz?


David B
06-Jun-2007, 08:52 AM
Hi

I am using the smart template and I have images in the side bar. But I want to make them clickable to go to section pages. Try as I can the thing does not werk, I get the image in no probs but it just will not click.

www.wmmotorsport.com

The code
<a href=/acatalog/Wheel_Studs.html><img src=stud-kit.jpg>

Ta
David

pinbrook
06-Jun-2007, 09:07 AM
<a href="targetpage.html"><img src="img.jpg"></a>

David B
06-Jun-2007, 10:40 AM
Thanks for the code but try as I can still it will not work?
All I get now is an "a>" in the box, this is the code

<a href=acatalog/Wheel_Studs.html ><img src=stud-kit.jpg></a>

Sorry to be a dim bloke today

David

fergusw
06-Jun-2007, 10:43 AM
try simply:

<a href="Wheel_Studs.html"><img src="stud-kit.jpg"></a>

and see if it works.

David B
06-Jun-2007, 11:46 AM
Hi Again

It still does not work???????
I am going mad here

David

los_design
06-Jun-2007, 11:56 AM
Hi Again

It still does not work???????
I am going mad here

David
Where are you putting the code?

Inside actinic it needs to be !!<<>>!! Direct in HTML using your editor the code above will work? What image ref can we use as an example?

Whats the URL of a page where it is not working?

David B
06-Jun-2007, 12:26 PM
Hi
the offer sits on the home page with a link to the offer on that is
www.wmmotorsport.com/acatalog/Wheel_Studs.html

The image is called stud-kit.jpg

I am sticking the code in design, options, right bar text, and clicking the code and customav options
I put the image in addional files
I can get just the image to work and have done lost of times

I can get other images in html with links in text only pages to work on the home page, but not this bit in the sidebox?
David

los_design
06-Jun-2007, 12:48 PM
Hi Dave

replace

Wheel_Studs.html><img src=stud-kit.jpg><<!!

with

<a href="Wheel_Studs.html"><img src=stud-kit.jpg width="138" height="138" border="0"></a><br>

Worked fine on our set up?

David B
06-Jun-2007, 01:38 PM
Yiiiiiiiiiiippppppppppeeeeeeeeeeeeeeeeeeeeee

Sorted, right, round to the shop 4 an ice cream......

Thanks very much

David B
06-Jun-2007, 02:03 PM
Hi Again, had myself a nice "99"
Right for the record here is the code I used

<a href="Wheel_Studs.html"><img src=stud-kit.jpg width="138" height="138" border="0"><br>

Thanks Again
David, www.wmmotorsport.com :D :D

pinbrook
06-Jun-2007, 02:23 PM
there has to be a </a> somewhere

all tags come in pairs ie

<a href....> to start with </a> to finish

los_design
06-Jun-2007, 02:39 PM
there has to be a </a> somewhere

all tags come in pairs ie

<a href....> to start with </a> to finish
Indeed or else you would turn every piece of content code after the image into a link :eek: