Forum Moderators: not2easy
<img src=".." width=".." height=".." alt="..">
<img src=".." width=".." height=".." alt="..">
...
<img src=".." width=".." height=".." alt="..">
Thanks,
Arjan
<img src=".." width=".." height=".." alt=".."
><img src=".." width=".." height=".." alt=".."
><img src=".." width=".." height=".." alt=".."
>... It's not quite as readable, but is certainly better that having them all on one line.
letter-spacing: -1em;
<div id="container">
<div id="inner">
<div id="images">
<img src="image1.jpg" />
<img src="image2.jpg" />
<img src="image3.jpg" />
<img src="image4.jpg" />
<img src="image5.jpg" />
</div>
</div>
</div>
#container{
position:relative;
width:70%;
}
#inner{
position:absolute;left:50%;
}
#images{
position:relative;
left:-50%;
}
#images img {
float:left;
}
That'll keep the images centered (the above is a trick to center an unknown width element) no matter how many you add or take away.