Affiliate Marketing
Forum Search

Reply
 
LinkBack Thread Tools Display Modes

  #1 (permalink)  
Old 03-02-05
Kandevil's Avatar
Ian Ebbs
 
Join Date: Aug 2003
Location: England
Posts: 1,070
Thanks: 0
Thanked 0 Times in 0 Posts
Kandevil is an unknown quantity at this point
  CSS Image disappears in IE6

Argh! been reading up and trying my best but I'm not a CSS guru and I can't find any info on the web that makes sense or helps. So if anybody can be of assistance I'd be delighted.

As explained in the title I have an image that disappears in IE6 it works fine in Firefox.

The image is supposed to be right aligned in a paragraph of text. Which is in a div which is relatively placed called content. The text moves out of the way as if the image is there, but you can't see it.

Snippets of code follow:

CSS

.content {
position:relative;
width:auto;
min-width:120px;
margin:0px 120px 20px 180px;
top:60px;
border:1px solid black;
background-color:white;
padding:5px;
z-index:3;
}

HTML

<div class="content">

<p><img src="images/image.gif" style="float: right">text blargh goes here</p>

</div>


Well that's it, code chopped down to save space, but think that is all that is needed.
__________________

affiliates4u Fantasy Football Winner 2007/08
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 03-02-05
morleymouse's Avatar
Super Member
 
Join Date: Aug 2003
Location: Costa Del Sheffield
Posts: 2,752
Thanks: 3
Thanked 10 Times in 6 Posts
morleymouse is an unknown quantity at this point
maybe try style="float: right; position: relative;"


... might do something

... also might not

edit: another thought, try taking the image out of the <p></p>
__________________
Dan Morley
Alpharooms.com
daniel at alpharooms dot com - Hotels, Flights, Airport Transfers, Care Hire + More! sign up
My Blog | Cheap Holidays
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 03-02-05
Kandevil's Avatar
Ian Ebbs
 
Join Date: Aug 2003
Location: England
Posts: 1,070
Thanks: 0
Thanked 0 Times in 0 Posts
Kandevil is an unknown quantity at this point
SuperStar !!

thanks very much, adding style="float: right; position: relative;" worked a treat.
__________________

affiliates4u Fantasy Football Winner 2007/08
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Affiliate Marketing RSS Feeds - Contact Us - Affiliate Marketing - Archive - Privacy Statement - Top

Content Relevant URLs by vBSEO 3.2.0 RC7