Created
November 28, 2015 07:06
-
-
Save soggybag/dc9c883c3544caa3dcaa to your computer and use it in GitHub Desktop.
Wordpress CSS for wrapping text around images in the content of posts and pages
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; | |
margin: 0 0 0 1em; | |
} | |
.alignleft { | |
float: left; | |
margin: 0 1em 0 0; | |
} | |
.aligncenter { | |
display: block; | |
margin-left: auto; | |
margin-right: auto; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment