Important Custom Theme Image CSS in WordPress

When creating a custom theme in WordPress your style.css will be empty as you have to create the file. In order for text to wrap around images the theme must include the following code in your style.css to get the default result.

img.alignright { float: right; margin: 0 0 1em 1em; }
img.alignleft { float: left; margin: 0 1em 1em 0; }
img.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.alignright { float: right; }
.alignleft { float: left; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
North London Pest Control Co website
TV Wall Mounting London website
Allport Autos website
Dr Lisa Anderson website
Royal Maid Boca website
Performance Carpet Cleaning website