u won

Discussion in 'HTML' started by Jochen Fuhrmann, Oct 27, 2004.

  1. ok ok, u won, next question: why doesn't the following style put my pic
    vertically in the center? (horizontal works)

    div.thumb {width:90px;
    height:90px;
    text-align:center;
    vertical-align:middle;}
     
    Jochen Fuhrmann, Oct 27, 2004
    #1
    1. Advertising

  2. Jochen Fuhrmann

    Steve Pugh Guest

    On Wed, 27 Oct 2004 01:34:16 -0700, Jochen Fuhrmann <> wrote:

    > ok ok, u won,


    Who won? About what?

    > next question: why doesn't the following style put my pic vertically in
    > the center? (horizontal works)
    >
    > div.thumb {width:90px;
    > height:90px;
    > text-align:center;
    > vertical-align:middle;}



    Because vertical-align doesn't apply to block elements, only to inline and
    table-cell elements.

    Steve
     
    Steve Pugh, Oct 27, 2004
    #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. Frank Hayward

    Access database won't open

    Frank Hayward, Nov 23, 2004, in forum: ASP .Net
    Replies:
    2
    Views:
    4,823
    CodeDevil
    Dec 5, 2004
  2. Sunny Henry via .NET 247

    "HTTP GET" won't display - PLEASE HELP !

    Sunny Henry via .NET 247, Mar 19, 2005, in forum: ASP .Net
    Replies:
    0
    Views:
    716
    Sunny Henry via .NET 247
    Mar 19, 2005
  3. Eli Sidwell
    Replies:
    7
    Views:
    2,697
    Gavin Williams
    Jun 24, 2004
  4. Someone Please Help!

    .NET Framework won't install

    Someone Please Help!, Jun 27, 2003, in forum: ASP .Net
    Replies:
    2
    Views:
    3,366
    vbnovice
    Jun 27, 2003
  5. Chad
    Replies:
    4
    Views:
    8,342
Loading...

Share This Page