SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Member
    Join Date
    Jul 2004
    Location
    Toronto
    Posts
    6
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    align img with text

    hi,

    i am trying to align img besides my text

    Code:
    <li>my text <a href="url"><img src="" style="float:left"></a></li>..
    currently the image breaks down to the next line..

    i also tried without the style on the img tag, but the image appears a little above the text horizontally.

    how do i solve this ?

    thanks!

  2. #2
    SitePoint Member
    Join Date
    Jul 2004
    Location
    Toronto
    Posts
    6
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    never mind.. vertical-align: middle; solved it.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •