PDA

View Full Version : Styling text on top of background img in table



f7digitaldesign
29 Nov 2009, 08:15 PM
Hello everyone! I am currently coding an html email that needs to be built in tables. I've done a lot of these, but all of a sudden I'm stumped w/ some simple text styling. I want to put some text over a background image, but as I style it the block of text centers vertically by default (or so it seems). I can't seem to remember what attribute will pull it to the top. Thanks!

Wickham
30 Nov 2009, 02:27 PM
If it's in a table cell, then use valign="top" like <td valign="top">.......</td> which stops cell content from centering vertically.