micropatterns: Difference between revisions

From Microformats Wiki
Jump to navigation Jump to search
No edit summary
 
(semantic-xhtml has been moved, it is now a redirect to semantic-html)
 
(4 intermediate revisions by 3 users 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>

Latest revision as of 10:45, 26 May 2012

Redirect to: