Mrs Barrett
01-07-2006, 12:22 AM
ok I have managed to create a table but cant seem to add text right below it
I have added a picture to the table which is fine, but when I add text it just disappears to the left and you have to move cursor to read it
This is the code I have
<TABLE BORDER="1" BGCOLOR="white">
<TR>
<TH><img src="my pic" width=300"height="10" border="5" align="left" alt="imagetitle"><br><br><br></TH>
</TR>
<p align="right"><font face="comic sans" color="#FFFFFF" size="4"><b><font face="comic sans ms">TEXT</b></font><br><br><br></TD><center>
</TABLE>
</body>
</html>
echoskybound
01-07-2006, 12:39 AM
Do you want the text to appear where it says "TEXT" in your code?
By the way.. what's a <th>?
Mrs Barrett
01-07-2006, 12:46 AM
Yes pls I would like the text where it says "text"
This is the correct code -<th> which was an error
TABLE BORDER="1" BGCOLOR="white">
<TR>
<img src="my pic" width=300"height="10" border="5" align="left" alt="imagetitle"><br><br><br></TH>
</TR>
<p align="right"><font face="comic sans" color="#FFFFFF" size="4"><b><font face="comic sans ms">TEXT</b></font><br><br><br></TD><center>
</TABLE>
</body>
</html>
<th> is a table header. On http://jul13.ju.funpic.org/me.php?section=books: Author, Book Title, Reasons for reading and My Comments all are in table headers.
<table border="1" bgcolor="white">
<tr>
<td>
<img src="my pic" width=300" height="10" border="5" align="left" alt="imagetitle"><br><br><br></td>
</tr>
<tr>
<td>
<p align="right"><font face="comic sans" color="#FFFFFF" size="4"><b><font face="comic sans ms">TEXT</b></font><br><br><br></td>
</tr>
</table>
Lowercase is just me being xhtmlish. The red parts are corrections. I also added a space between width="300" and height="10" and removed <center> at the end.
Lol, I was going to say that XD.
This is a basic layout of a table:
<table>
<tr>
<td>"Content"</td>
</tr>
</table>
Oh and dont capitalize, IT MaKEs ThE CodE HaRd TO ReAd BeCaUsE It Is MesSy.
Mrs Barrett
01-07-2006, 07:29 AM
All i want is a table to add a picture and some text underneath it, I dont need 3 rowns or 2 columns just 1 plz, this is 2 complicated.
Monkey Bizzle
01-07-2006, 10:03 AM
All i want is a table to add a picture and some text underneath it, I dont need 3 rowns or 2 columns just 1 plz, this is 2 complicated.
The code that djou gave will do just that. Is it not working for you?