Ok what CSS do I need to add to fix line breaks in DIV code? Here’s what I’m trying to do: I want to create an image that is sliced in DIVs. It’s a 3 columns 3 row slice. So, I create code like so, but every row has a break that creates spaces between the row of images (the columns don’t have any problems). What am I doing wrong? And what CSS do I need to use to fix it? Here’s a sample of the code:
<div>
<img src="image name.jpg" width="100" height="100" border="0" alt="image name">
<img src="image name2.jpg" width="100" height="100" border="0" alt="image name">
<img src="image name3.jpg" width="100" height="100" border="0" alt="image name">
<!-- This is where the line break between rows of images occurs even though no <br>s are used -->
<img src="image name4.jpg" width="100" height="100" border="0" alt="image name">
<img src="image name5.jpg" width="100" height="100" border="0" alt="image name">
<img src="image name6.jpg" width="100" height="100" border="0" alt="image name">
<!-- This is where the line break between rows of images occurs even though no <br>'s are used -->
<img src="image name4.jpg" width="100" height="100" border="0" alt="image name">
<img src="image name5.jpg" width="100" height="100" border="0" alt="image name">
<img src="image name6.jpg" width="100" height="100" border="0" alt="image name">
</div>
Each row of images horizontally is fine - there are no breaks in the images. But going from one row to the next, there are. How to fix?