1

when I insert an image into a post, the <div> that contains that image (and thus any caption) is set to be wider that the image itself.

For example, I have added an image that is 211px wide. The <div> that houses the image has an element style of 221px.

Is there a way, other than using javascript, to remove that, and have the box of equal width to the containing image?

1 Answer 1

1

something I wrote a while ago: 'Adjusting Caption Frame Width'

1
  • Well done Squire. It's mental that this even happens.
    – Mild Fuzz
    Commented Sep 9, 2011 at 20:50

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.