Am enjoying the captioning of images, but am frustrated at my inability to alter what I assume to be wordpress generated stylings of the caption.
If I have an image with 560px width, the wordpress generated div (e.g. <div id="attachment_2939" class="wp-caption alignnone" style="width: 570px">) gives a <div> width of 570px which I certainly didn't ask for ;-)
I'm currently using the css below, but in Firefox I still get padding of 4px between the image and its border, and for IE7, padding to the (only to the) right as in the appended image. I want no padding i.e a tight border so I no longer have to manually add it to images - any ideas?
Thanks, Bill
.wp-caption {
border: 1px solid #ddd;
text-align: left;
background-color: #f3f3f3;
padding-top: 0px;
margin: 0px;
border-radius: 0px;
}
.wp-caption img {
margin: 0;
padding: 0;
padding-right: 0px;
border: 0 none;
}
.wp-caption p.wp-caption-text {
font-size: .80em;
line-height: 17px;
padding: 0 5px;
margin: 0;
}