Align text within the cell of a table
-
Hi! I’m trying to make a table that has an image and text side by side. This is what I’ve done so far.
<table>
<tbody>
<tr>
<td><img class=”alignleft wp-image-294″ src=”http://granolatestsite.files.wordpress.com/2014/07/crancashbar.png” alt=”CranCashBar” width=”138″ height=”206″ /></td>
<td>Cranberry Cashew Granola Energy Bar
Product Description
$3.00</td>
</tr>
</tbody>
</table>I would like the text in the second column to align with the top of the image in the first. Or maybe just be aligned to the left in the center of the cell? Can someone please tell me how to do this? Thank you!
The blog I need help with is: (visible only to logged in users)
-
Take a look at this:
https://wpbtips.wordpress.com/2013/04/09/table-coding-for-wordpress-com-users/If that doesn’t help, then please post again.
-
Also note that as volunteers here we cannot view unpublished posts so you should publish your table so we can examine it for specific problems.
- The topic ‘Align text within the cell of a table’ is closed to new replies.