This week's book giveaway is in the General Computing forum.
We're giving away four copies of Arduino in Action and have Martin Evans, Joshua Noble, and Jordan Hochenbaum on-line!
See this thread for details.
The moose likes HTML, CSS and JavaScript and the fly likes alignment of image and dat in rows Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Reply Bookmark "alignment of image and dat in rows" Watch "alignment of image and dat in rows" New topic
Author

alignment of image and dat in rows

aman hindustani
Ranch Hand

Joined: Jun 15, 2006
Posts: 53
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

Joined: Oct 08, 2006
Posts: 2458
You're using rowspan the wrong way.

Basic example:


Code depot of a Java EE / JSF developer | JSF / Eclipse / Tomcat kickoff tutorial | DAO kickoff tutorial | I ♥ Unicode
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: alignment of image and dat in rows
 
Similar Threads
Print Multiple Lines with out.write
reg html tables
Expression Language not supported in compile time attribute items
Multiple bundles broke my app(properties file)
problem incrementing loop in jstl