Dariusz on Software

Methods and Tools

About This Site

Software development stuff


Useful CSS classes for documentation

Sometimes you want to insert image centered on page, taking full length of the paragraph. It's quite easy with aligncenter CSS class:

.aligncenter { display: block; margin-left: auto; margin-right: auto; margin-top: 2em; margin-bottom: 2em; }

.alignright { float: right; margin: 2em; }

blockquote { white-space:pre }

Tags: css.


Created by Chronicle v3.5