Skip to content

Commit

Permalink
Add img { max-width: 100%; } to print styles to prevent images from…
Browse files Browse the repository at this point in the history
  • Loading branch information
mathiasbynens committed Apr 25, 2011
1 parent 1b78ceb commit b2faa1f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -256,8 +256,8 @@ h1, h2, h3, h4, h5, h6 { font-weight: bold; }
pre, blockquote { border: 1px solid #999; page-break-inside: avoid; }
thead { display: table-header-group; } /* css-discuss.incutio.com/wiki/Printing_Tables */
tr, img { page-break-inside: avoid; }
img { max-width: 100% !important; }
@page { margin: 0.5cm; }
p, h2, h3 { orphans: 3; widows: 3; }
h2, h3{ page-break-after: avoid; }
}

}

0 comments on commit b2faa1f

Please sign in to comment.