center text caption

Image Caption Centered

What code should I use to center the caption on an image? I tried this… .wp-caption .wp-caption-text { padding: 8px 10px; margin: 0; text-align: center; background: url(‘images/blk_trans.png’); color:#FFF; position:absolute; bottom: 0; left: 0; } but it didn’t work. I read the post on the caption below an image, but all I want is for the … Read more