-
I am pretty unfamiliar with CSS and am making a quick site for a friend by just modifying a template so the CSS is probably pretty messy. The last picture link on this page always too close to the one to the left of it. What can I do to fix that. And in general to have more space between each one underneath. I have tried padding but it doesn't seem to work. Any suggestions?
Media | Eric Fawcett Music
-
After a few minutes playing with your code in Firebug I used this CSS to fix it.
Code:
div.thumbnails a{
display: block;
float: left;
margin: 5px;
}
Worked with no problems in newer browsers, though I didn't check it in IE. Just add that code to the end of your CSS and see what I'm talking about :)
-
thanks so much
that worked perfectly
-
What happened was where your images were contained in the anchor tag, but the images were set with width/height but the anchor wasn't, so I added the display and float attributes to compensate, then the margins to make it grid-like :)
Glad I could help, I like little problems like those :)