PDA

View Full Version : Thumbnail Grid


jimhere
07-06-2006, 01:06 AM
First post.
I just started with PP, and of course right away I figured I'd make (modify) a template. So I took the default "simple" (which is pretty good by itself) and modified it to look like a wp blog I have (http://www.jimsite.com/blogWordpress/).

What I don't understand is why the thumbnails in Browse down't grid up. They're all in one column. I didn't touch that part of the Simple CSS:

.column{
width:48%;
text-align:left;
vertical-align:top;
padding:5px;
}

.thumbnails {
border:1px solid #f5f5f5;
padding:3px;
margin:3px;
}

Oh, here's the work in progress. (http://www.jim-site.com/p/index.php?x=browse)

What am I missing?

.

jgrayson
07-06-2006, 02:28 AM
you listed the style for "column" but i can't find that style used anywhere in the source code. not sure if this has anything to do with it but you have the width value set twice (different each time) for #content which is what you have the #page style inside of


#content {
float: left;
margin: 0;
padding: 0px 24px;
width: 570px;
voice-family: "\"}\"";
voice-family: inherit;
width: 540px;
}

jimhere
07-06-2006, 10:34 AM
Yeah, that was in PP's original "Simple" template, but I'm not sure how it was applied (if at all). I didn't see it referred to in browse_template.html, either.

But how IS a grid set up in css? I notice your Gallery uses a "thumbnails" style... maybe I'll look at that.

jimhere
07-06-2006, 08:47 PM
I figured it out.
Cascading up, I discovered there was an "auto" margin in one of "thumbnails"'s nested divs.