Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

alignment of image and dat in rows

 
aman hindustani
Ranch Hand
Posts: 57
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hello to all..

i have two rows in the first rows i am placing all the images and in the second row..i am placing all the data (corresponding info about the image)but the second data is not coming exactly its down.. just it is coming just beside..help me out..please...

tr>
<td width="6" rowspan="9"><img src="images/trans.gif" width="6" height="1" /></td>
<td width="63" valign="top"><a href="welcome.do?tparam=Recent"><img src="images/Recent_Blog.gif" alt="Recent Blogs" width="53" height="55" border="0" /></a></td>
<td width="9" valign="middle"><img src="images/trans.gif" width="9" height="1" /></td>
<td width="63" valign="top"><a href="welcome.do?tparam=EditorPick"><img src="images/Editors_Blog.gif" alt="Editors Blogs" width="53" height="55" border="0" /></a></td>
<td width="9" valign="top"><img src="images/trans.gif" width="9" height="1" /></td>
</tr>
<tr>
<td width="6" rowspan="9"><img src="images/trans.gif" width="6" height="1" /></td>
<td width="63" valign="top"><a href="welcome.do?tparam=Recent"><bean:message key="prompt.RecentBlog" /></a></td>
<td width="9" valign="middle"><img src="images/trans.gif" width="9" height="1" /></td>
<td width="63" valign="top"><a href="welcome.do?tparam=EditorPick"><bean:message key="promt.EditorsBlogs" /></a></td>
<td width="9" valign="top"><img src="images/trans.gif" width="9" height="1" /></td>
</tr>

help me out..please..
 
Bauke Scholtz
Ranch Hand
Posts: 2458
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You're using rowspan the wrong way.

Basic example:
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic