View Full Version : Swiss Army Image justification

07-30-2010, 04:05 PM
1) Script Title: Swiss Army Slide show

2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...army/index.htm

3) Describe problem: How can I go about justifying the images to the top and left side of the division?

By the way, the Swiss Army Slide Show is awesome.



07-31-2010, 05:25 AM
First it may help to understand what the script constructs. If you only have one slide show on the page, it makes a division with an id of 'master0'. All of the images (not the descriptions) are presented within two single celled tables within this division. These cells (td's) have the attributes align="center" and valign="middle". Attributes can be overridden by style. So you could put this in the head of your page (or include its rules in an existing stylesheet for the page):

<style type="text/css">
#master0 td {
text-align: left;
vertical-align: top;

If you have more than one slide show on a page, the second one is 'master1', the third 'master2', and so on. But I suspect you only have one, if so the above style block would be sufficient.

Any questions, feel free to ask.

If you want more help, it would be useful for us to have a link to the page.

08-02-2010, 07:11 PM

Thanks. That worked beautifully. Take care.