Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Rajj

macrumors 6502a
Original poster
Can anyone tell me the HTML code for text to be below the image instead of on the side of the image in a hyperlink?

Look at the image below, the text is on the side of the image.


Thanx
 

Attachments

  • picture-1.jpg
    picture-1.jpg
    16.6 KB · Views: 175
From thie image you have posted I think this is what you need...
Code:
<img src="image.jpg">
<br>
<a href="link.html">Link</a>
If you could post the code then we would be able to tell what you need better.
 
Here is the code:


<a href="http://photos.yahoo.com/bc/crjiejahh/lst?.dir=/Tokyo_picx&.src=ph&.order=&.view=t&.done=http%3a//photos.yahoo.com/ ">My Trip To Japan<img src="http://users.lvcm.com/rajj/images.jpg""></a></p>
 
If you rewrite the code like this, it should work. It's basically what edesignuk said.

<a href="http://photos.yahoo.com/bc/crjiejahh/lst?.dir=/Tokyo_picx&.src=ph&.order=&.view=t&.done=http%3a//photos.yahoo.com/ "><img src="http://users.lvcm.com/rajj/images.jpg"">
<BR>
My Trip To Japan</a></p>

Let me know if this is what you were looking for.
 
You're welcome. Let us know if you have any other questions. It's nice to put this knowledge of HTML to good use other than making random websites that are of no use 😀 .
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.