You are here

autofloat.css in AutoFloat 7

Same filename and directory in other branches
  1. 6.2 autofloat.css
  2. 6 autofloat.css
/**
 * Float images found in the body text alternately right and left.
 */

/* Adjust the id or class if your theme uses another to target the node body.*/
.content span.autofloat-odd,
#content span.autofloat-odd {
  float: right; /* LTR */
  margin: 5px 0 0 10px; /* LTR */
}

.content span.autofloat-even,
#content span.autofloat-even {
  float: left; /* LTR */
  margin: 5px 5px 0 0; /* LTR */
}

File

autofloat.css
View source
  1. /**
  2. * Float images found in the body text alternately right and left.
  3. */
  4. /* Adjust the id or class if your theme uses another to target the node body.*/
  5. .content span.autofloat-odd,
  6. #content span.autofloat-odd {
  7. float: right; /* LTR */
  8. margin: 5px 0 0 10px; /* LTR */
  9. }
  10. .content span.autofloat-even,
  11. #content span.autofloat-even {
  12. float: left; /* LTR */
  13. margin: 5px 5px 0 0; /* LTR */
  14. }