SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Member
    Join Date
    Sep 2003
    Location
    Sweden
    Posts
    12
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Aligning a picture with css

    I friend of mine has sine trouble with aligning a picture with CSS and strict XHTML. The validator doesn't allow align="right" within the img-tag, how should he work around the problem?

    He wants the text to surrround the image like the image below...


    EDIT:
    well, I solved the problem with float.. it struck my mind right after I posted this... ;-)
    Attached Images Attached Images

  2. #2
    SitePoint Zealot webreadyaudio's Avatar
    Join Date
    Sep 2003
    Location
    Wylie, TX
    Posts
    129
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    style="float:right"
    Just thought I would reply even though you found it found it yourself.

    Thats what i always use.

  3. #3
    SitePoint Member
    Join Date
    Sep 2003
    Location
    Sweden
    Posts
    12
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks for taking your time.. ;-)


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
  •