Posted By

fatihturan on 02/25/11


Tagged

css wordpress


Versions (?)

WordPress Generated Classes


 / Published in: CSS
 

URL: http://codex.wordpress.org/CSS

  1. .aligncenter, div.aligncenter {
  2. display: block;
  3. margin-left: auto;
  4. margin-right: auto;
  5. }
  6. .alignleft {
  7. float: left;
  8. }
  9. .alignright {
  10. float: right;
  11. }
  12. .wp-caption {
  13. background-color: #f3f3f3;
  14. border: 1px solid #ddd;
  15. -khtml-border-radius: 3px;
  16. -moz-border-radius: 3px;
  17. -webkit-border-radius: 3px;
  18. border-radius: 3px; /* optional rounded corners for browsers that support it */
  19. margin: 10px;
  20. padding-top: 4px;
  21. text-align: center;
  22. }
  23. .wp-caption img {
  24. border: 0 none;
  25. margin: 0;
  26. padding: 0;
  27. }
  28. .wp-caption p.wp-caption-text {
  29. font-size: 11px;
  30. line-height: 17px;
  31. margin: 0;
  32. padding: 0 4px 5px;
  33. }

Report this snippet  

You need to login to post a comment.