micropatterns

(Difference between revisions)

Jump to: navigation, search

Revision as of 22:10, 22 January 2007

Micropatterns are snippets of semantic XHTML that can be used for consistency across websites.

Image alignment

From various WordPress themes, including K2.

img.alignleft {
  float:left;
  margin:0.5em 1em 0.5em 0;
}
img.alignright {
  float:right;
  margin:0.5em 0 0.5em 1em;
}
img.center {
  display:block;
  margin:0.5em auto;
  text-align:center;
}
micropatterns was last modified: Wednesday, December 31st, 1969

Views