Dariusz on Software

Methods and Tools

About This Site

Software development stuff

Archive

Useful CSS classes for documentation
2017-02-24

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.

Tags

Created by Chronicle v3.5