Jump to content

Srange problem in IE (Browser Compatibility issue)


dk4210

Recommended Posts

Hello Guys,

 

I am trying to get the the css to work but having a hard time with it and need some help..

 

Here is the content lined up in fire fox.

 

2011-08-22_1550.png

 

Ad this is what it looks like in IE (See my issue)

2011-08-22_1551.png

 

Here is the code

 

echo '<div class="listing"><img src="'.$listing_photo.'"><span class="listlink"><a href="index.php?content=subcats&id='. $listing_id.'">'.$listing_title2.'</a></span><br><span class="listbody">'.$listing_body2.'<span class="readmore"><a href="index.php?content=subcats&id='. $listing_id.'">  Read more</a></span>>>></div>';

 

Here is the CSS

.listing {
width:560px;
height:auto !important;
margin: 0 auto;
text-align: left
}
.listlink {
    float:left;
    margin-left: 10px;
    margin-top: 20px;
    position: absolute;
    text-decoration:underline;
}

.listbody {
float: left;
    margin-left: 110px;
    margin-top: -30px;
    width:440px
}

.listingdiv{
border-bottom: 2px dotted #9EABB5;
color:#FFF;
}

 

Please advise how to fix this..

 

Thanks for your help in advance..

Dan

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.