Return to Snippet

Revision: 30559
at August 17, 2010 13:24 by myke


Initial Code
/******************************************
* Align box
******************************************/

img.centered, .aligncenter, div.aligncenter {
display: block;
margin-left: auto;
margin-right: auto;
}

img.alignright {
padding: 4px;
margin: 0 0 2px 7px;
display: inline;
}

img.alignleft {
padding: 4px;
margin: 0 7px 2px 0;
display: inline;
}

.alignright {
float: right;
}

.alignleft {
float: left;
}

Initial URL

                                

Initial Description
Used these styles to comply with default wordpress WYSIWYG class names

Initial Title
Image alignment Default WP

Initial Tags
wordpress, theme

Initial Language
CSS