Flowing images around text

Discussion in 'CSS' started by regix, Sep 21, 2006.

  1. #1
    Hello,

    I am creating an application that makes it easy to generate gallerys.
    The gallery is created by putting the images dynamically in a div.
    The stylerule for that div takes care of the floating of the images.
    Now I have added the ability to put text on a webpage. The text should appear on an absolute position on the webpage. The user decides where to put the text.
    The problem that I am facing is that if the user places the text in the middle of the webpage (where the gallery is), it obscures the images of the gallery. I would like to put the text in the flow of the gallery so that the images flow around the text.
    In the example I included the text shows up under the gallery, without considering width and height of the div it was put in. I resolved that by using a wrapper, but then the text appears on top of the gallery.

    I have included css file and example webpage.
     

    Attached Files:

    regix, Sep 21, 2006 IP
  2. regix

    regix Peon

    Messages:
    2
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    I had to rename css file
     

    Attached Files:

    regix, Sep 21, 2006 IP