www.tutorialspoint.com Forum Index
Register FAQMemberlistUsergroupsTutorials PointLog in
Reply to topic Page 1 of 1
Images in a table?
Author Message
Reply with quote
Post Images in a table? 
Images in a table?

I am using S e a M o n e y 1.1.15 on Mac.

I have a simple table with 2 rows and 3 columns. Each cell is 160 high x 275 wide.

I would like to put a different image in each of the six cells, and optionally have each image link to a different web site if you click on it. I am thinking I should be able to do this but can't. I tried using SRC to specify the source of the image.....but I am apparently doing something wrong.

Can I do what I want to do?

Thanks,
Jeff



Last edited by tutorialspoint on Wed Feb 10, 2010 7:56 pm; edited 1 time in total
View user's profile Send private message Send e-mail
Reply with quote
Post  
Yes, you can do it. Here is the code
Code:

<table>
           <tr> <td><a href="url"><img src="URL" alt=""></a></td> <td><a href="url"><img src="URL" alt=""></a></td> </tr>
           <tr> <td><a href="url"><img src="URL" alt=""></a></td> <td><a href="url"><img src="URL" alt=""></a></td> </tr>
        </table>


more information - HTML Tutorials

View user's profile Send private message
Reply with quote
Post  
you can enter the tables using <table> tag.
<table border="1">
<tr>
<td>row 1, column 1</td>
<td>row 1, column 2</td>
</tr>
<tr>
<td>row 2, column 1</td>
<td>row 2, column 2</td>
</tr>
</table>

View user's profile Send private message
Display posts from previous:
Reply to topic Page 1 of 1
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum