SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Zealot cyberian's Avatar
    Join Date
    Oct 2003
    Location
    MA
    Posts
    126
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    positioning an image using float:right

    Why does the image in the following link appear farther down when using Mozilla in comparison to IE where it is where I want it? The image in question is the Internet Marketing image to the right of the text.

    http://www.cyberiansolutions.com/services/marketing.php

    This is the css for the image:
    Code:
    .webdesignimg {
    		height: 126px;
    		float: right;
    		margin: 43px 0 0 0;
    		}
    I tried setting the div above it (#innercontent) to relative positioning, but I ended up with the same discrepancy.

  2. #2
    SitePoint Zealot cyberian's Avatar
    Join Date
    Oct 2003
    Location
    MA
    Posts
    126
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Ack. I fixed it. I originally placed the floating image above the text in its own <div> - not the way to do it. So then I moved the image (without the div tags) to just inside the <p> of the text I want to flow around the floated image. Works great in both now.

  3. #3
    SitePoint Enthusiast
    Join Date
    Oct 2003
    Location
    Orlando
    Posts
    59
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Was about to tell you to take it out of the div and my proxy went down...glad you figured it out. Nice site btw.


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
  •