how to vertically align thumbnail images

bentrippin

Joined: 2008-03-10
Posts: 1
Posted: Mon, 2008-03-10 17:01

i'm using the sirux theme (not sure if that matters). i'm trying to vertically align my thumbnails of images in my album. they are by default vertically aligned to the top. my css looks like this:

Quote:
.gallery-thumb {
margin: 5px;
float: left;
text-align: center;
vertical-align:bottom;
}

.gallery-thumb img {
vertical-align:bottom;
background-color: #f3f3f3;
border: 1px solid #ddd;
padding: 7px;
margin: 1px;
-moz-border-radius: 3px;

but it doesn't seem to work. anyone know how to fix this?

 
ozgreg
ozgreg's picture

Joined: 2003-10-18
Posts: 1378
Posted: Sat, 2008-03-15 22:45

Sorry but I am not running the Sirux theme so I cannot help however did you read the Firebug / WebDeveloper Thread stickied up the top of this forum?

____________________________________
Wordpress / Gallery2 (WPG2) Plugin, , WPG2 Documentation, WPG2 Demo