From dffc6549da553d936caa9ce5bab40bb7480b0df3 Mon Sep 17 00:00:00 2001 From: Ian Stewart Date: Fri, 10 Feb 2012 20:43:25 +0000 Subject: [PATCH] _S: basic floated content styles git-svn-id: https://wpcom-themes.svn.automattic.com/_s/@8918 d957f892-c61d-0410-b221-f235e6eecf30 --- style.css | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/style.css b/style.css index c89164e8..14eb1e62 100644 --- a/style.css +++ b/style.css @@ -321,6 +321,23 @@ a:active { color: midnightblue; } +/* Alignment */ +.alignleft { + display: inline; + float: left; + margin-right: 1.5em; +} +.alignright { + display: inline; + float: right; + margin-left: 1.5em; +} +.aligncenter { + clear: both; + display: block; + margin: 0 auto; +} + /* Text meant only for screen readers */ .assistive-text { clip: rect(1px 1px 1px 1px); /* IE6, IE7 */