Caption Css Code
-
.autocap { clear: both; border: 2px solid #000; margin: 1em auto; padding-bottom:0px; padding-top:40px; position:relative; text-align: center; } .autocap div { /* not used, but available for you to use */ } .autocap-text { text-align: center; padding: 0 0.5em; font-size: 0.9em; position:absolute; top:0;
I’m putting my caption at the top of my pictures, as I don’t like it at the bottom.
That’s it, and I want to make the text(caption) centered, but it will not center, it just stays to the left, what am I doing wrong.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Caption Css Code’ is closed to new replies.