In tables I could do this quite easily with the following code:
I want to center align the images because they vary in width slightly (randomly being pulled from database), and would like to middle vertical align the item name and price, however am having a bit of trouble replicating this using CSS only.Code:<table> <tr> <td align="center"><img src="/images/storeitem.gif" /></td> <td>Item name<br />$Price</td> </tr> <tr> <td align="center"><img src="/images/storeitem.gif" /></td> <td>Item name<br />$Price</td> </tr> <tr> <td align="center"><img src="/images/storeitem.gif" /></td> <td>Item name<br />$Price</td> </tr> </table>
Any pointers from some CSS masters here (I'm still relatively new to it) would be greatly appreciated.





Bookmarks