Treehouse: Grow your CSS skills. Land your dream job.

WP Captions CSS Problem

  • # October 2, 2012 at 6:51 pm

    Building a WP theme with a beautiful backend and functionality. My problem, however, is with CSS image captions!

    I know I must be missing something basic here, but the width of my image captions is not conforming to the #post_content it is sitting inside.

    I appreciate any help!

    []( “″)

    My Image and Caption CSS:
    []( “”)

    # October 2, 2012 at 7:01 pm

    its not just the captions – the images and their containing divs are too wide for the #post-content div. remove the inline width styling from:

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.