micropatterns

(Difference between revisions)

Jump to: navigation, search
Current revision (10:45, 26 May 2012) (view source)
(semantic-xhtml has been moved, it is now a redirect to semantic-html)
 
(4 intermediate revisions not shown.)
Line 1: Line 1:
-
Micropatterns are snippets of semantic XHTML that can be used for consistency across websites.
+
#REDIRECT:[[semantic-html]]
-
 
+
-
== Image alignment ==
+
-
 
+
-
From various WordPress themes, including K2.
+
-
 
+
-
<pre>img.alignleft {
+
-
  float:left;
+
-
  margin:0.5em 1em 0.5em 0;
+
-
}</pre>
+
-
 
+
-
<pre>img.alignright {
+
-
  float:right;
+
-
  margin:0.5em 0 0.5em 1em;
+
-
}</pre>
+
-
<pre>img.center {
+
-
  display:block;
+
-
  margin:0.5em auto;
+
-
  text-align:center;
+
-
}</pre>
+

Current revision

  1. REDIRECT:semantic-html
micropatterns was last modified: Saturday, May 26th, 2012

Views