HTML tables alignment problem

Discussion in 'ASP .Net' started by billsahiker@yahoo.com, Jun 1, 2007.

  1. Guest

    Why is the top of my right-side table not even with the top of the
    left-side table? I want them both to align at the top of the page, in
    the content area (master page based asp project).

    I have read other posts here, and Google/web, about aligning side-by-
    side html tables, but my right-side table is not even with the top of
    the left-side table. It is next to it, but its top edge is about 100
    pixels below the top edge of the left-side table. I have tried every
    trick I know, including style="positon:absolute; top: 0px;" I am using
    an outer table with one row and two cells, each with a table in it.
    The outer table and left table have no styling, size or postioning
    elements at all.
    The right table has just the above style.

    The nested table works great in straight html, but in my asp project.

    Can anyone please help?

    Bill
    , Jun 1, 2007
    #1
    1. Advertising

  2. Guest

    in your outer table give the tds this property:

    valign="top"

    html vertically aligns tds to middle by default.
    , Jun 1, 2007
    #2
    1. Advertising

  3. Guest

    On Jun 1, 12:14 pm, wrote:
    > in your outer table give the tds this property:
    >
    > valign="top"
    >
    > html vertically aligns tds to middle by default.


    That worked. Thanks.
    , Jun 1, 2007
    #3
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Peter Bassett
    Replies:
    3
    Views:
    911
    Augustus
    Aug 15, 2003
  2. Otuatail

    Tables within tables

    Otuatail, Jul 31, 2004, in forum: HTML
    Replies:
    7
    Views:
    480
  3. Chris Brat
    Replies:
    5
    Views:
    687
    =?iso-8859-1?q?Luis_M._Gonz=E1lez?=
    Aug 22, 2006
  4. Mtmartin71
    Replies:
    9
    Views:
    804
    Adrienne Boswell
    Aug 28, 2007
  5. jodleren
    Replies:
    12
    Views:
    1,559
    GTalbot
    Jan 4, 2008
Loading...

Share This Page