can a table align vertical-center on the web form

Discussion in 'ASP .Net' started by Rabbit, Feb 12, 2006.

  1. Rabbit

    Rabbit Guest

    Dear All

    I'm new to use ASP.Net for developement, can someone tell me how can I
    create a web form with size say 300px x 300px, align vertically center on
    the page

    Because so far I can use Div to align it horizontally center on the page,
    but I still can't find out how to do the "Vertically-center alignment"!
    'cause I really want such form/table can be located center in the web page.

    Thx in advance!
     
    Rabbit, Feb 12, 2006
    #1
    1. Advertising

  2. Rabbit

    Shimon Sim Guest

    Please specify VS version.
    In any case you can use CSS and specify text alignment for your div
    component,
    Some components have VAlign property depending on the framework version you
    are using.
    good luck,
    Shimon.
    "Rabbit" <> wrote in message
    news:%...
    > Dear All
    >
    > I'm new to use ASP.Net for developement, can someone tell me how can I
    > create a web form with size say 300px x 300px, align vertically center on
    > the page
    >
    > Because so far I can use Div to align it horizontally center on the page,
    > but I still can't find out how to do the "Vertically-center alignment"!
    > 'cause I really want such form/table can be located center in the web
    > page.
    >
    > Thx in advance!
    >
     
    Shimon Sim, Feb 12, 2006
    #2
    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. Kay
    Replies:
    2
    Views:
    7,190
  2. tshad
    Replies:
    5
    Views:
    1,012
    tshad
    Feb 10, 2005
  3. Eirik Eldorsen
    Replies:
    17
    Views:
    12,521
    cosmic foo
    Aug 4, 2005
  4. Allison McGhee

    vertical-align: center

    Allison McGhee, Apr 13, 2006, in forum: HTML
    Replies:
    3
    Views:
    12,570
    Neredbojias
    Apr 13, 2006
  5. Steve Richter
    Replies:
    1
    Views:
    917
    Mark Rae
    Jun 24, 2007
Loading...

Share This Page