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. Advertisements

  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. Advertisements

  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. Advertisements

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. Mustafa Yesilkaya
    Replies:
    0
    Views:
    1,632
    Mustafa Yesilkaya
    Jun 11, 2004
  2. Peter Bassett
    Replies:
    3
    Views:
    1,144
    Augustus
    Aug 15, 2003
  3. Otuatail

    Tables within tables

    Otuatail, Jul 31, 2004, in forum: HTML
    Replies:
    7
    Views:
    727
  4. Replies:
    3
    Views:
    4,482
    Chineme Nnamdi
    May 9, 2006
  5. Chris Brat
    Replies:
    5
    Views:
    918
    =?iso-8859-1?q?Luis_M._Gonz=E1lez?=
    Aug 22, 2006
  6. RigasMinho

    HTML Image Alignment

    RigasMinho, Oct 23, 2006, in forum: HTML
    Replies:
    3
    Views:
    826
    RigasMinho
    Oct 25, 2006
  7. Mtmartin71
    Replies:
    9
    Views:
    955
    Adrienne Boswell
    Aug 28, 2007
  8. jodleren
    Replies:
    12
    Views:
    1,798
    GTalbot
    Jan 4, 2008
Loading...