View Single Post
Old 10-13-2005, 08:05 PM  
garce
Confirmed User
 
garce's Avatar
 
Industry Role:
Join Date: Oct 2001
Location: Toronto
Posts: 7,103
Quote:
Originally Posted by bmb
this is the gallery in question

thanks guys . . . bmb
No. The random line breaks between rows of images are annoying.

Try something like this:

Open your style.css file and create a gallery class. Add this (cut and paste):

Code:
div.gallery {
text-align: center;
margin: 10px 0px 20px 0px;
}

div.gallery a {
text-decoration: none;
}

div.gallery img {
margin: 2px;
padding: 4px;
background: #D6DEE7;
border: solid 1px #000000;
}
Now when you make a gallery, put your thumbs between these tags:

Code:
<div class="gallery">
Your thumbs go here...
</div>
You may need to adjust the margins, padding, and colours to fit your layout. Don't add breaks or spaces between thumbs. Hit "Enter" after each row.

garce is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote