# \[CSS\] column of images making spaces between?

**URL:** <https://forum.kirupa.com/t/css-column-of-images-making-spaces-between/204358>\
**Category:** web dev\
**Created:** [October 19, 2006, 5:04am UTC](https://forum.kirupa.com/t/css-column-of-images-making-spaces-between/204358 "2006-10-19T05:04:46Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![evileks](https://avatars.discourse-cdn.com/v4/letter/e/cab0a1/32.png) [@evileks](https://forum.kirupa.com/u/evileks)\
**Post date:** [October 19, 2006, 5:04am UTC](https://forum.kirupa.com/t/css-column-of-images-making-spaces-between/204358/1 "2006-10-19T05:04:46Z")

</div>

Hey everyone,

I’m trying to float a column of images that I sliced from photoshop using CSS, however there is a small 10px gap or so between each even though I don’t have one specified. I’ve tried playing with the height but nothing seemed to help.

You can see it here: [www.ludnix.com](http://www.ludnix.com) it’s the navigation on the left.

the HTML for the navigation is so:

```auto
<div class="navigation">
    <img src="/images/navigation/images/top.gif">
    <img src="/images/navigation/images/home.gif">
    <img src="/images/navigation/images/learn.gif">
    <img src="/images/navigation/images/articles.gif">
    <img src="/images/navigation/images/links.gif">
</div>

```

and the CSS:

.[COLOR=Red]navigation[/COLOR]{  
[COLOR=Blue] top[/COLOR]: 80px;  
[COLOR=Blue] left[/COLOR]: 0px;  
[COLOR=Blue] float[/COLOR]: left;  
[COLOR=Blue] position[/COLOR]: fixed;  
[COLOR=Blue] width[/COLOR]: 140px;  
[COLOR=Blue] height[/COLOR]: 491px;  
[COLOR=Blue] background-color[/COLOR]: #000;  
}

---

<div class="post-metadata">

**Author:** ![fasterthanlight](https://avatars.discourse-cdn.com/v4/letter/f/ecc23a/32.png) [@fasterthanlight](https://forum.kirupa.com/u/fasterthanlight)\
**Post date:** [October 23, 2006, 6:00pm UTC](https://forum.kirupa.com/t/css-column-of-images-making-spaces-between/204358/2 "2006-10-23T18:00:08Z")

</div>

try adding this:

li a  
{  
height: 1%;  
}

to cure the stupid IE spacing problem… its what cured my ailment, thanks to simp :thumb:
