Web Analytics Made Easy -
StatCounter Css IE 8 Issue - CodingForum

Announcement

Collapse
No announcement yet.

Css IE 8 Issue

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Css IE 8 Issue

    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.



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


    Here is the code

    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.'">&nbsp;&nbsp;Read more</a></span>>>></div>';
    Here is the CSS
    Code:
    .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
Working...
X