how can align the text vertically in a table cell

Discussion in 'HTML' started by atin45gupt@gmail.com, Jan 17, 2006.

  1. Guest

    how can align the text vertically in a table cell . ane body have
    answer plz reply me....asap
     
    , Jan 17, 2006
    #1
    1. Advertising

  2. Els Guest

    wrote:

    > how can align the text vertically in a table cell . ane body have
    > answer plz reply me....asap


    Use CSS:

    If you want it vertically centered: do nothing.
    If you want it at the top:
    td{vertical-align:top;}
    If you want to align it at the bottom:
    td{vertical-align:bottom;}

    HTH

    --
    Els http://locusmeus.com/
    Sonhos vem. Sonhos vão. O resto é imperfeito.
    - Renato Russo -
    Now playing: Smokie - I'll Meet You At Midnight
     
    Els, Jan 17, 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. homer

    div Wont Vertically Align

    homer, Jan 26, 2005, in forum: HTML
    Replies:
    6
    Views:
    4,665
    homer
    Jan 28, 2005
  2. Guybrush Threepwood
    Replies:
    1
    Views:
    495
    Mitja Trampus
    Dec 14, 2005
  3. Trevor

    CSS Vertically Align Text

    Trevor, Apr 28, 2006, in forum: HTML
    Replies:
    5
    Views:
    9,476
    Barbara de Zoete
    Apr 29, 2006
  4. Julia B
    Replies:
    5
    Views:
    692
    Julia B
    Jan 30, 2008
  5. albert kao
    Replies:
    6
    Views:
    1,421
    Knute Johnson
    Apr 26, 2011
Loading...

Share This Page