Results 1 to 4 of 4

Thread: Firefox in-line images

  1. #1
    Join Date
    Aug 2007
    Posts
    8
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Firefox in-line images

    Hi there,

    Im currently having a problem where I am trying to have text wrapped around my images. To do this, I am inserting the image and then applying a class to it which sets float:left , and some relevant margins. This works fine in IE, however move to Firefox and then image appears in the wrong place, somewhere further down the page where I dont want it.

    Would anybody be able to help me out with this?

    Many thanks

    Raks

  2. #2
    Join Date
    Jul 2006
    Location
    just north of Boston, MA
    Posts
    1,806
    Thanks
    13
    Thanked 72 Times in 72 Posts

    Default

    Code:
    <div id="yeah">
         <img src="/path" width="" height="" alt="">
         <p>TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT</p>
    </div>
    Code:
    div#yeah img {clear left;}

  3. #3
    Join Date
    Aug 2007
    Posts
    8
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Hi, unfortunately, that didn't seem to work, so I have put it all back to how I had it, perhaps someone can see what im doing wrong?

    http://www.e-rak.co.uk/test1/bs101.html

    Many thanks

  4. #4
    Join Date
    Jul 2006
    Location
    just north of Boston, MA
    Posts
    1,806
    Thanks
    13
    Thanked 72 Times in 72 Posts

    Default

    put the image of the chairlift where you want it in the page, not at the top of the element... by using the [/icode]position[/icode] property, you are breaking the flow of the page

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
  •