CSS image alignment


/ Published in: CSS
Save to your folder(s)



Copy this code and paste it in your HTML
  1. img.alignleft{ float: left; border: none; padding: 0 10px 10px 0; }
  2. img.alignright{ float: right; border: none; padding: 0 0 10px 10px; }

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.