PDA

View Full Version : Simple Q; gallery spacing


Elysium
Apr-25-2006, 10:47 AM
I've implemented a number of cut and paste CSS stylings on my site (www.ultimatefris.be (http://www.ultimatefris.be)) and developed a rudimentary understanding of CSS and firefox web developer, but I can't seem to figure this out. All I want to do is reduce the vertical spacing between thumbnails in my galleries. All the galleries use traditional style. Here is an example gallery: http://www.ultimatefris.be/gallery/1376449

It seems the thing to edit would be the #photoBox element, but it has about 800 parents and each photobox is a seperate thing (_0, _1, etc) so I'm not sure. Anyway, I figure this should be pretty easy and someone more experienced could pop this out in a matter of seconds.

ivar
Apr-25-2006, 11:34 AM
I've implemented a number of cut and paste CSS stylings on my site (www.ultimatefris.be (http://www.ultimatefris.be)) and developed a rudimentary understanding of CSS and firefox web developer, but I can't seem to figure this out. All I want to do is reduce the vertical spacing between thumbnails in my galleries. All the galleries use traditional style. Here is an example gallery: http://www.ultimatefris.be/gallery/1376449

It seems the thing to edit would be the #photoBox element, but it has about 800 parents and each photobox is a seperate thing (_0, _1, etc) so I'm not sure. Anyway, I figure this should be pretty easy and someone more experienced could pop this out in a matter of seconds.Hi Ellysium, and welcome to dgrin! :wave

You can change the height of the .photo for the traditional type view. .traditional #photos .photo {
height: 200px;
}
Also, you have your captions still showing, but in black so it is unreadable. Is that intentional? if you want to take them out all together you can use the following:.traditional #photos .caption {
display: none;
}Hope this all helps, holler if you have any other questions!

Elysium
Apr-25-2006, 02:11 PM
Ok that works great, now can I get the horizontal photos to be aligned in the middle vertically?