styling image wraps

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

control text wrapping, add image size plus padding margin so that text does not float below images

Copy this code and paste it in your HTML
  1. .content-wrap img {
  2. float: left;
  3. margin-right: 30px;
  4. }
  6. .content-body {
  7. margin-left: 230px;
  8. }


Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.