/ Published in: CSS
Used these styles to comply with default wordpress WYSIWYG class names
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
/****************************************** * 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; }