Goldie Da Mac
06-26-2003, 03:41 PM
Right I have attempted this many times but failed.
You guys have to bare with us for what i have tried to do and also exlain it, my HTML grammar isnt brillant...lol
Ok i tried do table, I want a table that has a one column at the top for a title, the the next row has an image in, then the next couiple of rows have 2 collumns.
What is the code for this as it has neva work for me:(
Any help is appreciated
Goldie Da Mac
06-26-2003, 04:35 PM
Here is my code I have attempted the again but still no luck with the image:(
<table border=1>
<tr>
<td><center>Cheptow Park</center></td>
</tr>
<tr>
<td><img src="Images/Courtsimages/Chepstow.jpg"></td>
</tr>
<tr>
<td>Court Surface</td>
<td>-</td>
</tr>
<tr>
<td>Court Size</td>
<td>-</td>
</tr>
<tr>
<td>Hoop Condition</td>
<td>-</td>
</tr>
<tr>
<td>Population of Court</td>
<td>-</td>
</tr>
<tr>
<td>Ballerz That Ball There</td>
<td>-</td>
</tr>
<tr>
<td>Overall Review</td>
<td>-</td>
</tr>
</table>
fruitcake
06-26-2003, 05:23 PM
The image- do you mean it's just not showing up? If so, check the URL, make sure you've got all the folders right. Or is something else wrong with it?
To get your title and image rows to stretch across both of the columns in the following rows, change your <td> tags to <td tag colspan="2"> just for the first two.
What this is doing is specifying that the cell that you add the colspan to will span 2 columns. You can also change col to row (rowspan="2") and you can change the number when you want it to span more columns/rows.
amicus
06-26-2003, 06:35 PM
i think this is what you want. you just have to do a 'colspan' on the first 2 rows.
<table cellpadding="0" cellspacing="0" border="1">
<tr align="center">
<td colspan="2">Cheptow Park</td>
</tr>
<tr>
<td colspan="2"><img src="Images/Courtsimages/Chepstow.jpg"></td>
</tr>
<tr>
<td>Court Surface</td>
<td>-</td>
</tr>
<tr>
<td>Court Size</td>
<td>-</td>
</tr>
<tr>
<td>Hoop Condition</td>
<td>-</td>
</tr>
<tr>
<td>Population of Court</td>
<td>-</td>
</tr>
<tr>
<td>Ballerz That Ball There</td>
<td>-</td>
</tr>
<tr>
<td>Overall Review</td>
<td>-</td>
</tr>
</table>