HTML Tables

  • Author
    Posts
  • #634156

    Wow, I just cannot get my text to align at the top of cells in my tables when I add images to adjacent cells.

    http://tritoncommunities.com/test-page-2/

    I’ve tried everything, including valign=”top” .

    I just can’t get the text to align at the top of the cells, I think it is has something to do with how twenty ten interprets tables.

    The blog I need help with is tritoncommunities.com.

    #634284

    1tess
    Moderator Emeritus

    valign is deprecated but vertical-align top, middle, and bottom work in table cell styling

    You need to put
    <td style="vertical-align:top;">TEXT_OR_IMAGE</td>

    If you want to get rid of the borders, then you need:
    style="border:0 none;vertical-align:top;">TEXT_OR_IMAGE</td>

    (also style=”border:0 none for the table style as a whole)

    #634285

    1tess
    Moderator Emeritus

    I’ll move this thread to the Questions forum because this is not CSS.

    #634296

    Thank you!

The topic ‘HTML Tables’ is closed to new replies.