Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

bootstrap printing width

Tags:

I'm using bootstrap in an app and as you can see (below) when printing the browser (left side) is using a really small width when printing (right) so the responsive layout is moving all the right site elements below the left side ones and the printing version won't fit in one single page.

Do you know how can I force the browser to keep the right width?

Thanks,

Remo

Valid XHTML.

like image 869
Remo H. Jansen Avatar asked Sep 03 '12 10:09

Remo H. Jansen


1 Answers

I had a very similar problem. Ensuring the responsive css is enabled only for media="screen" solved it.

<link href="assets/css/bootstrap-responsive.css" rel="stylesheet" media="screen"> 
like image 168
silviot Avatar answered Oct 21 '22 14:10

silviot