Vertical alignment - center

Discussion in 'HTML' started by Allison McGhee, Apr 13, 2006.

  1. How can I do the equivalent of <td valign="center>?

    I'm trying to do a header and want to eliminate the table currently used to
    be like the code below:

    <div>
    <span><img src-"">Header text</span>
    </div>

    thanks
    A
     
    Allison McGhee, Apr 13, 2006
    #1
    1. Advertising

  2. Allison McGhee

    BootNic Guest

    > "Allison McGhee" <> wrote:
    > news:DPf%f.246$PL2.130@dukeread03....
    >
    > How can I do the equivalent of <td valign="center>?
    >
    > I'm trying to do a header and want to eliminate the table currently
    > used to be like the code below:
    >
    > <div>
    > <span><img src-"">Header text</span>
    > </div>



    <h1><img style=
    "vertical-align:middle;width:165px;height:300px;border:none;" src=
    "http://files.photojerk.com/BootNic/oven.png" alt="Oven">Text</h1>

    --
    BootNic Wednesday, April 12, 2006 7:44 PM

    A well-developed sense of humor is the pole that adds balance to your
    step as you walk the tightrope of life
    *William Arthur Ward*
     
    BootNic, Apr 13, 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. Rabbit
    Replies:
    1
    Views:
    2,764
    Shimon Sim
    Feb 12, 2006
  2. Wijnand Nijs

    center vertical

    Wijnand Nijs, Aug 9, 2003, in forum: HTML
    Replies:
    4
    Views:
    4,062
    Wijnand Nijs
    Aug 10, 2003
  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. Philipp Lenssen

    Vertical center + height?

    Philipp Lenssen, May 10, 2005, in forum: Javascript
    Replies:
    2
    Views:
    79
    Philipp Lenssen
    May 10, 2005
Loading...

Share This Page