- Messages
- 21,339
- Edit My Images
- Yes
I'm slowly writing myself a website, based on Joomla 1.5, party for the finished product, partly for the exercise of learning a cms based website.
So a simple bit of HTML I thought. I'll put a few images up, with links to the relevant page. I've created a new article, added the html and it's not quite what I expected.
I'm getting a thin white border around the cells and the image isn't centralising.
Anyone tell me what I'm doing wrong?
the code is:
<h3>Click on the images below to access the sub categories, or select from the Gallary menu above</h3>
<table border="0">
<tbody>
<tr>
<td width="300" align="center" valign="top"><a href="index.php?option=com_content&view=article&id=51&Itemid=59"><img class="caption" src="images/thumbs/bmwplt.jpg" border="0" alt="vehicles link" title="Vehicles"
onmouseout="this.src='/images/thumbs/bmwplt.jpg';" /></a></td>
<td width="300" align="center" valign="top"><a href="index.php?option=com_content&view=article&id=49&Itemid=55"><img class="caption" src="images/landscapes/gowerplt.jpg" border="0" alt="landscapes link"
title="Landscapes" onmouseout="this.src='/images/landscapes/gowerplt.jpg';" /></a></td>
</tr>
<tr>
<td width="300" align="center" valign="top"><a href="index.php?option=com_content&view=article&id=52&Itemid=60"><img class="caption" src="images/events/events3plt.jpg" border="0" alt="events link" title="Events"
onmouseout="this.src='images/events/events3plt.jpg';" /></a></td>
<td width="300" align="center" valign="top"><a href="index.php?option=com_content&view=article&id=53&Itemid=61"><img class="caption" src="images/thumbs/frth-4.jpg" border="0" alt="events link" title="Artwork"
onmouseout="this.src='/images/thumbs/frth-4.jpg';" /></a></td>
</tr>
<tr>
<td width="300" align="center" valign="top"><a href="index.php?option=com_content&view=article&id=50&Itemid=58"><img class="caption" src="images/portraits/p1t.jpg" border="0" alt="portraits link"
title="Portraits" onmouseout="this.src='images/portraits/p1t.jpg';" /></a></td>
</tr>
</tbody>
</table>
which ends up looking like:
http://www.nineelmsphotography.com/index.php?option=com_content&view=article&id=48&Itemid=54
So a simple bit of HTML I thought. I'll put a few images up, with links to the relevant page. I've created a new article, added the html and it's not quite what I expected.
I'm getting a thin white border around the cells and the image isn't centralising.
Anyone tell me what I'm doing wrong?
the code is:
<h3>Click on the images below to access the sub categories, or select from the Gallary menu above</h3>
<table border="0">
<tbody>
<tr>
<td width="300" align="center" valign="top"><a href="index.php?option=com_content&view=article&id=51&Itemid=59"><img class="caption" src="images/thumbs/bmwplt.jpg" border="0" alt="vehicles link" title="Vehicles"
onmouseout="this.src='/images/thumbs/bmwplt.jpg';" /></a></td>
<td width="300" align="center" valign="top"><a href="index.php?option=com_content&view=article&id=49&Itemid=55"><img class="caption" src="images/landscapes/gowerplt.jpg" border="0" alt="landscapes link"
title="Landscapes" onmouseout="this.src='/images/landscapes/gowerplt.jpg';" /></a></td>
</tr>
<tr>
<td width="300" align="center" valign="top"><a href="index.php?option=com_content&view=article&id=52&Itemid=60"><img class="caption" src="images/events/events3plt.jpg" border="0" alt="events link" title="Events"
onmouseout="this.src='images/events/events3plt.jpg';" /></a></td>
<td width="300" align="center" valign="top"><a href="index.php?option=com_content&view=article&id=53&Itemid=61"><img class="caption" src="images/thumbs/frth-4.jpg" border="0" alt="events link" title="Artwork"
onmouseout="this.src='/images/thumbs/frth-4.jpg';" /></a></td>
</tr>
<tr>
<td width="300" align="center" valign="top"><a href="index.php?option=com_content&view=article&id=50&Itemid=58"><img class="caption" src="images/portraits/p1t.jpg" border="0" alt="portraits link"
title="Portraits" onmouseout="this.src='images/portraits/p1t.jpg';" /></a></td>
</tr>
</tbody>
</table>
which ends up looking like:
http://www.nineelmsphotography.com/index.php?option=com_content&view=article&id=48&Itemid=54
