Welcome visitor
* Login
* Register
It is currently May 22nd, 2019, 6:48 pm
All times are UTC [ DST ]
* Search
View unanswered posts - View active topics

FORUMS » Client Side » HTML



Post new topic Reply to topic  [ 2 posts ] 
Author Message
  more rows
PostPosted: May 18th, 2009, 7:33 pm 

Posts: 21
Hi people, i'm sorry if this is a very simple question but im just starting with html. How can i get this table in 2 rows, the images on one and the text on the other?

Thanks for taking your time to help me.

<table>
<td><img src="bc.png"></td>
<td>BLACK</td>
<td><img src="bl.png"></td>
<td>BLUE</td>
<td><img src="rd.png"></td>
<td>RED</td>
<td><img src="wh.png"></td>
<td>WHITE</td>
</table>


Top
 Profile  
 
  Re: more rows
PostPosted: May 18th, 2009, 9:19 pm 

Posts: 96
Use <tr> to start and finish a row.
<table>
<tr>
<td><img src="bc.png"></td>
<td><img src="bl.png"></td>
<td><img src="rd.png"></td>
<td><img src="wh.png"></td>
</tr>
<tr>
<td>BLACK</td>
<td>BLUE</td>
<td>RED</td>
<td>WHITE</td>
</tr>
</table>

http://www.scriptingok.com/tutorial/HTML-tables


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

FORUMS » Client Side » HTML


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 post attachments in this forum

Search for:
Jump to:  
cron