valign text and image

Discussion in 'HTML and CSS' started by legacy, Mar 26, 2008.

  1. legacy

    legacy

    Joined:
    Mar 26, 2008
    Messages:
    1
    Im trying to valign some text, but when there is an image in the same field it doesn't work. Heres an example:

    PHP:
    <html>
    <
    body>

    <
    table border=1><tr><td valign="middle">

    test text
    <img src="http://fiestafan.com/120.png">

    </
    td></tr></table>

    </
    body>
    </
    html>
    Anyone know how to do this?
    legacy, Mar 26, 2008
    #1
    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. Cezar

    valign in DataGrid Column

    Cezar, Dec 2, 2003, in forum: ASP .Net
    Replies:
    1
    Views:
    956
    g pavlov
    Dec 3, 2003
  2. =?Utf-8?B?QXJuZQ==?=

    valign=top doesn't always work

    =?Utf-8?B?QXJuZQ==?=, Dec 6, 2004, in forum: ASP .Net
    Replies:
    2
    Views:
    415
    =?Utf-8?B?QXJuZQ==?=
    Dec 6, 2004
  3. =?Utf-8?B?QXJuZQ==?=

    valign=top how does it work

    =?Utf-8?B?QXJuZQ==?=, Dec 6, 2004, in forum: ASP .Net
    Replies:
    2
    Views:
    415
    =?Utf-8?B?QXJuZQ==?=
    Dec 7, 2004
  4. harry

    valign image in table cell?

    harry, May 5, 2004, in forum: HTML
    Replies:
    2
    Views:
    5,012
    Hywel
    May 5, 2004
  5. Leslie

    Menu control - width and valign

    Leslie, Oct 3, 2007, in forum: ASP .Net Web Controls
    Replies:
    3
    Views:
    246
    Steven Cheng[MSFT]
    Oct 5, 2007
Loading...

Share This Page