You mean left justified? Um, the situation is a little restrictive, but not as restrictive as I think you may think it is. Here's what a typical div with a thumbnail in it looks like (these are created by the script):
Code:
<div class="photodiv">
<img src="http://www.dynamicdrive.com/dynamicindex4/phpgallery/jag1.jpg" data-index="0">
<br>
Photo 1
</div>
So you can control the description by using css style for the class. Like in the css file:
Code:
.photodiv {
text-align: center;
color: red;
font-family: sans-serif;
font-size: 12px;
}
Make sure if you set the width and/or height for this class that it leaves enough room for the image and description.
FYI, if you're using the default css file for this script it already has:
Code:
.photodiv {
float: left;
margin-bottom: 10px;
margin-right: 10px;
}
And governing the image in the photdiv:
Code:
.photodiv img {
border: 0px none currentColor;
cursor: pointer;
height: 106px;
width: 200px;
}
The width of the image will pretty much govern the width of the division unless you decide not to allow the text to wrap.
If you want more help, please include a link to the page on your site that contains the problematic code so we can check it out.
Bookmarks