The title says it all, when viewing my web page on Internet Explorer 8, an extra white border is added around the images who already have a grey border (which is wanted, but not the white one).
This is the page I'm talking about: http://oliviergougeon.com/photographs/allphotos
The css file can be found at this adress:
This is the html used:
However, everything works out fine on this page:
With this html coding:
I have found MANY thread about this problem, but I've tried every single solution I found without success.
I've tried putting the "padding: 0; margin: 0" on the img tag, but without success.
If anyone knows how to take care of this problem, it would be much appreciated.
Thank you in advance to everyone for taking your time to read this thread and see if you could be some help for me.
Olivier,
Amateur Photographer
This is the page I'm talking about: http://oliviergougeon.com/photographs/allphotos
The css file can be found at this adress:
This is the html used:
Code:
<div id="photoblock_ab"> <div id="photoblock_a"> <div class="image"> <a href="/photographs/allphotos/europe"> <img src="/images/europe.jpg" alt="Europe 2011" title="Europe 2011" /> <div class="text"> <span>Europe</span> </div> </a> </div> <div class="image"> <a href="/photographs/allphotos/downtown"> <img alt="Downtown Mtl" src="/images/downtown.jpg" /> <div class="text"> <span>Downtown Montreal</span> </div> </a> </div> <div class="image"> <a href="/photographs/allphotos/warmnight"> <img alt="Warm Night" src="/images/warm.jpg" /> <div class="text"> <span>Warm Night</span> </div> </a> </div> <div class="image"> <a href="/photographs/allphotos/pointedumoulin"> <img alt="Warm Night" src="/images/pointedumoulin.jpg" /> <div class="text"> <span>Pointe-du-Moulin</span> </div> </a> </div> </div> <div id="photoblock_b"> <div class="image"> <a href="/photographs/allphotos/nyc"> <img alt="New York City" src="/images/nyc.jpg" /> <div class="text"> <span>New York City</span> </div> </a> </div> <div class="image"> <a href="/photographs/allphotos/skisession"> <img alt="Ski Session" src="/images/skisession.jpg" /> <div class="text"> <span>Ski Session</span> </div> </a> </div> <div class="image"> <a href="/photographs/allphotos/photoshootrenee"> <img alt="Ski Session" src="/images/photoshootrenee.jpg" /> <div class="text"> <span>Photoshoot of Renée</span> </div> </a> </div> </div> </div>
With this html coding:
Code:
<div id="posts_images"> <img src="/images/all_photos/europe/europe87.jpg" alt="Europe" title="Europe" /> <br><br> <img src="/images/all_photos/europe/europe74.jpg" alt="Europe" title="Europe" /> <br><br> <img src="/images/all_photos/europe/europe66.jpg" alt="Europe" title="Europe" /> <br><br> <img src="/images/all_photos/europe/europe36.jpg" alt="Europe" title="Europe" /> <br><br> <img src="/images/all_photos/europe/europe12.jpg" alt="Europe" title="Europe" /> <br><br> <img src="/images/all_photos/nyc/nyc36.jpg" alt="NYC" title="NYC" /> <br><br> <img src="/images/nature/nature1.jpg" alt="Christmas Tree" title="Christmas Tree" /> <br><br> <div id="fb-root"></div><script src="http://connect.facebook.net/en_US/all.js#xfbml=1"></script><fb:comments href="http://www.oliviergougeon.com/nature.php" num_posts="5" width="720"></fb:comments> </div> </div>
I have found MANY thread about this problem, but I've tried every single solution I found without success.
I've tried putting the "padding: 0; margin: 0" on the img tag, but without success.
If anyone knows how to take care of this problem, it would be much appreciated.
Thank you in advance to everyone for taking your time to read this thread and see if you could be some help for me.
Olivier,
Amateur Photographer
Comment