Results 1 to 2 of 2

Thread: Styling text on top of background img in table

  1. #1
    Join Date
    Oct 2008
    Posts
    6

    Styling text on top of background img in table

    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!

  2. #2
    Join Date
    Feb 2006
    Location
    Salisbury UK
    Posts
    4,332
    If it's in a table cell, then use valign="top" like <td valign="top">.......</td> which stops cell content from centering vertically.
    Code downloaded to my PC will be deleted in due course.
    WIN7; IE9, Firefox, Opera, Chrome and Safari for Windows; screen resolution usually 1366*768.
    Also IE6 on W98 with 800*600 and IE8 on Vista 1440*900.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •