I've tried to put a div around the current div I have and throw styles on it, such as:
<div style="margin:auto;">
That did nothing
<div style="text-align:center;">
This actually moved the slideshow, but it didn't center it

<div align="center">
This produced the same result as text-align:center
Here is the css:
#gallery {
position:relative;
left:30px;
/* height:360px */
}
#gallery a {
float:left;
position:absolute;
}
#gallery a img {
border:none;
}
#gallery a.show {
z-index:500
}
Here is the HTML:
<div id="gallery" >
<a href="#" class="show">
<img src="images/img1.jpg" />
</a>
<a href="#">
<img src="images/img2.jpg"/>
</a>
<a href="#">
<img src="images/img3.jpg" />
</a>
<a href="#">
<img src="images/img4.jpg" />
</a>
<a href="#">
<img src="images/img5.jpg" />
</a>
<a href="#">
<img src="images/img6.jpg" />
</a>
</div>

New Topic/Question
Reply


MultiQuote





|