image margin problem

admin

Administrator
Staff member
Hi all,

Ive got some images that I want to display with a 10px border around them.

If you click on the 2nd thumbnail image on the link below you will see a large white margin that shouldnt be there.

<!-- m --><a class="postlink" href="http://www.brentharada.com/paintings/">http://www.brentharada.com/paintings/</a><!-- m -->


Any thoughts on whats going on here?

thanks!

-Mason

Heres the css that pertains to the images...
#images {

margin-bottom:auto 10px;
padding: 10px;
background:#fff;
text-align: left;

}


#container {
width: auto 400px;

margin: 30px;
margin-bottom:5px;

text-align: left;
float: left;
}I dunno,but with the first look I would believe it has something to do with that javascript you have.Validation (<!-- m --><a class="postlink" href="http://validator.w3.org/">http://validator.w3.org/</a><!-- m -->)
See attachmentThanks for the help Fang. Indeed my code was sloppy and needed to be validated. I got my border working by using the "border" selecter instead of trying to pad my images. What a revelation huh? :)
 
Back
Top