CSS vertical-align

Discussion in 'ASP .Net' started by Bob Altman, Aug 30, 2008.

  1. Bob Altman

    Bob Altman Guest

    Hi all,

    Here's another basic CSS question: I've just stumbled across the concept of
    inheritance (or the inability of some properties to do such), specifically
    in relationship to the vertical-align property. It appears that everything
    is vertically centered unless I explicitly apply a different vertical-align
    rule to each specific element on my page. There's got to be an easy way to
    declare that everything in my <body> is vertical-align:top, but I can't
    figure out how to make that happen.

    TIA - Bob
    Bob Altman, Aug 30, 2008
    #1
    1. Advertising

  2. Bob Altman

    Munna Guest

    Munna, Aug 31, 2008
    #2
    1. Advertising

  3. Bob Altman

    Bob Altman Guest

    >> There's got to be an easy way to
    >> declare that everything in my <body> is vertical-align:top


    "Munna" <> wrote in message
    news:...
    > in css file put this
    >
    > *{
    > vertical-align:top;
    > }
    >
    > Regards
    >
    > -------
    > Munna



    Thanks Munna!
    Bob Altman, Sep 1, 2008
    #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. Kay
    Replies:
    2
    Views:
    7,146
  2. Rabbit
    Replies:
    1
    Views:
    2,752
    Shimon Sim
    Feb 12, 2006
  3. shank

    vertical-align: bottom

    shank, Oct 2, 2003, in forum: HTML
    Replies:
    9
    Views:
    20,915
    brucie
    Oct 3, 2003
  4. Jochen Fuhrmann

    vertical-align and div

    Jochen Fuhrmann, Oct 6, 2003, in forum: HTML
    Replies:
    1
    Views:
    24,451
    Steve Pugh
    Oct 6, 2003
  5. =?UTF-8?B?TWFydGluIFDDtnBwaW5n?=

    [CSS] Div-Tag and Vertical Align

    =?UTF-8?B?TWFydGluIFDDtnBwaW5n?=, Aug 19, 2006, in forum: HTML
    Replies:
    6
    Views:
    22,512
    dorayme
    Aug 22, 2006
Loading...

Share This Page