Forum Moderators: not2easy

Message Too Old, No Replies

making picture clickable

         

Grinek

11:36 pm on May 8, 2007 (gmt 0)

10+ Year Member



i have yahoo store and I have a picture on my front page that I want to make clicakble and it would redirect to whereever i want. If anyone can post CSS code i would appreaciate. ... Thanks

[edited by: Grinek at 11:53 pm (utc) on May 8, 2007]

Grinek

11:42 pm on May 8, 2007 (gmt 0)

10+ Year Member



forgot the code

.welcome-area{
margin-top:10px;
padding-left:5px;
width:545px;
}

.welcome-image{
width:275px;
text-align:center;
}

.welcome-image img{
border:1px solid #51637B;

sifredi

11:42 pm on May 8, 2007 (gmt 0)

10+ Year Member



<a href="#"><img /></a>

Grinek

11:50 pm on May 8, 2007 (gmt 0)

10+ Year Member



thanks for your response, but i can't figure out where do I insert it. please let me know. thanks

thecoalman

4:12 am on May 9, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



CSS isn't for doing that, HTML is. The code posted above goes between the body tags whereever your image is.

You have to enclose the image in anchor tags, you'll have something similar to this:

<img src="yourimage.jpg" />

It has to be like this:

<a href="http://www.example.com">
<img src="yourimage.jpg" />
</a>

This is about as basic as it gets, I'd suggest reading some HTML tutorials.

Drag_Racer

6:04 am on May 9, 2007 (gmt 0)

10+ Year Member



If you have a Yahoo store, where did you enter the image in the first place. Might be a good place to start looking. From what I remember you can add html to almost all the input fields in the manager