Question:

HTML question about tables...?

by  |  earlier

0 LIKES UnLike

When working with tables in Dreamweaver, any text I type in a cell automatically centers itself in the cell if the cell is longer than one row.

How do I keep the text at the top of the cell?

 Tags:

   Report

7 ANSWERS


  1. In either the td or tr tag (can't remember which) set the valign to top.


  2. You will have to change the default to top.  I am thinking you might find it in cell properties.  I am not at the pc.  I am at a mac right now.  Anyway, learned this in my webdesign class recently, but have played with so many different programs lately that I can't recall which this one was unless I was right working with it.  Might even be Front page.

  3. Use <td valign="top"></td>

  4. oh i had the same problem, but when i edited it with notebook, it didnt do that, idk what to say, but i can say i had the same problem with dreamweaver, but my dad has done tables professionally, so i just asked him sorry

  5. Use the following code:

    <td style="vertical-align:top">Text</td>

    Some will advise you to use valign.  This is invalid and deprecated as of the HTML 4.01 Strict standard.  Use CSS (as my example above).

  6. <td valign="top" align="left">put tect here</td>

    with 'valign' being the verticle, and 'align' being the horizontal alignment you'd like to use.

  7. use the

    <tr><td valign="top">

    asdfasdfasdf

    <tr><td>

    or

    <table valign="top">

Question Stats

Latest activity: earlier.
This question has 7 answers.

BECOME A GUIDE

Share your knowledge and help people by answering questions.