I need to print web pages on my website and I am wondering how to make Boottrap row and spanX classes so that I can easily manage the contents of the printed page.
For instance:
<div class="row-fluid">
<div class="span12">
<strong>Some stuff</strong>
</div>
</div>
and
<div class="row-fluid">
<div class="span6 offset6">
<strong>Some stuff</strong>
</div>
</div>
look exactly the same when calling window.print() .
In the above example, <strong>Some stuff</strong> not moving forward offset6 .
I have done 2 things:
Took all the @media print code from bootstrap.css and bootstrapresponsive.css ;
Changed media to all :
from <link rel="stylesheet" type="text/css" href="/path/css/bstrapmin.css" media="screen" />
before <link rel="stylesheet" type="text/css" href="/path/css/bstrapmin.css" media="all" /> ;
With these changes, the header and footer and bootstrap (original) font appeared on the printed page, but still do not affect / from the classes.
Thanks.
source share