css image problems in chrome & IE
-
I have a small image logo that displays to the left of the text for each post, just under the post heading. The logo displays fine in Firefox, but puts a border around the image in both Chrome and IE.
HERE IS THE CSS:
.post_logo {
background-image: url(‘images/post_header_logo.gif’);
margin-right: 11px;
margin-bottom: 10px;
margin-left: 50px;
border-style: none;
float: left;}HERE IS THE HTML:
//
<?php if (have_posts()) { ?>
<?php while (have_posts()) { the_post(); ?>
<div class=”post”>
<div class=”title”>
<h1>“><?php the_title(); ?></h1>
<h2><?php the_time(‘F jS, Y’) ?>             //             <?php the_category(‘, ‘) ?>     </h2></div>
<img class=”post_logo” width=”80″ height=”80″>
<?php the_content(”); ?> //You can view it in action here: blog.fsweddings.com
Any suggestions are very appreciated!!!
Ryan
- The topic ‘css image problems in chrome & IE’ is closed to new replies.