White space on top and under Image Links

July 2, 2009 at 08:17:30
Specs: Windows Vista, Ubuntu, 4gig
Hi there,
I have a question. I'm making a website, which I've been doing for years now and this is the first time I stumble upon this problem...


Using an Image link gives me the following result:
http://img19.imageshack.us/i/planck...

I've been looking how to get rid of the white space. It seems Opera displays the website as it should, other popular browsers seem to fail.

Help VERY appreciated!

Roel


See More: White space on top and under Image Links

Report •


#1
July 2, 2009 at 10:29:03
Hi,

Although this might not suitable for some situation, you could try to display: block; the image.

Also make sure there're no margin on the image or elements wrapping it.

---
Fubar


Report •

#2
July 9, 2009 at 19:06:52
CSS Code.....

<style type="text/css">
<!--
img {
margin: 0px;
padding: 0px;
}
-->
</style>


Report •

Related Solutions


Ask Question