How do I turn a picture into a link? For example if i want to use a picture as a banner link to another site. Thanks! --I know it's easy but my memory is bad!! ---
Try this code <a href="http://yoursite.com"><img border="0" src="image file" width="966" height="146"></a>
Depends. For a gif/jpg/png banner, the HTML does the work. <a href="addressoflink"><img src="banner.gif" width="" height="" alt="ad for whatever"></a> (The above has an HTML end-tag. XHTML is different). If this is something like Flash, then the button is in the banner, NOT wrapped around the Flash. Actionscript runs the button which is an invisible layer above what you see.
Thanks for your inputs, but.... let me make the question more specfic. How do you make a blogspot header and footer be a link to another site? I inserted the picture into the header and footer section as a picture under the dashboard. Anyone has any idea?
you might want to add a border="0" after the alt info so you don't have a border around your image, unless thats what you want.
Sawz, lots of people do that, but lazy people like me just stick img { border: 0; } at the top of our CSS sheets... : ) sorry prince, I dunno blogger or wordpress. I think you're meaning there's some programme with it so you can make an image a link without touching the code directly... I have no clue. The code is easier : )
<a href="http://yoursite.com"><img src="image file" width="966" height="146" border="0"></a> Will be work like this
WoW, I did learned a lot about the picture links here. Thank you to all that contributed the nice ideas.
ok, like i seen that code evrywhere, but i need help i really don't get all this html stuff and i'm a begininer to this kind of stuff, i seen those kinds of banners and i wanted to know how to do do that, could someone give me a step by step instruction on how to do that?
You type what briliantul typed up above, except with your image source, your url you want the link to go to, and without that stupid border="0" because it's freaking retarded. HELLO??? CSS ANYONE????? People spreading retard code around on these forums just perpetuates bad code. No wonder 99% of web sites are total crap code. *edit to localgrown: I strongly recommend this book, it's for people just like you, and it's what got me started in all this-- it holds your hand from the very beginning and when you're done you know the basics (only the basics but that's ok): Build Your Own Web Site the Right Way Using HTML and CSS by Ian Lloyd. The first edition is more than old enough to be in your library, FREE. The second edition came out just a few months ago. Get it!