Issue
I am trying to create a table. left side image and right side information. i am not sure if it's possible
here is the structure i am trying to make.
here is a rough table structure I came up with
<table border="2" bordercolor="green">
<tr>
<td><img src="https://i.postimg.cc/sD9MZPKb/image.png"></td>
<td><table border="2" bordercolor="green">
<tr><td>test</td><td>second cell</td></tr>
<tr><td>test</td><td>second cell</td></tr>
<tr><td>test</td><td>second cell</td></tr>
<tr><td>test</td><td>second cell</td></tr>
<tr><td>test</td><td>second cell</td></tr>
<tr><td>test</td><td>second cell</td></tr>
</td>
</tr>
</table>
above html code making the right side table vertically center, which i am trying to make the position top
Solution
never mind i figure it out
<table border="2" bordercolor="green">
<tr>
<td><img src="https://i.postimg.cc/sD9MZPKb/image.png"></td>
<td vertical-align:top"><table border="2" bordercolor="green">
<tr><td>test</td><td>second cell</td></tr>
<tr><td>test</td><td>second cell</td></tr>
<tr><td>test</td><td>second cell</td></tr>
<tr><td>test</td><td>second cell</td></tr>
<tr><td>test</td><td>second cell</td></tr>
<tr><td>test</td><td>second cell</td></tr>
</td>
</tr>
</table>
Answered By - Shahpari Answer Checked By - Mildred Charles (PHPFixing Admin)
0 Comments:
Post a Comment
Note: Only a member of this blog may post a comment.