Posted By

nerdfiles on 09/17/09


Tagged

css images alignment


Versions (?)

Who likes this?

3 people have marked this snippet as a favorite

Nanobyte
aleksanderek
WinterCrow


Image Alignment


 / Published in: CSS
 

  1. img.align-right { float: right; margin: 0 0 0 1em; }
  2. img.align-left { float: left; margin: 0 1em 0 0; }
  3. img.align-center { display: block; margin: 0 auto; }

Report this snippet  

You need to login to post a comment.