print-css Questions

4

Solved

I've been adding some new css to an existing project (using media="print") in the page header. It's going smooth and (for once!) IE is giving nice, expected results, but Firefox does not... The pr...
Prig asked 7/9, 2011 at 15:36

5

Solved

I'm designing a set of HTML pages to be printed, and I want elements of the pages to end up the same scale as each other. For example, there's a class of div whose width is defined as 200px wide ap...
Conant asked 24/3, 2013 at 20:16

10

Solved

Firebug is an excellent tool to to show a screen media CSS for some HTML element, but is there a way to look at the print media CSS too? Or is there any other tool to see the print media CSS?
Froth asked 19/4, 2009 at 12:37

2

I am trying to format a webpage for printing. The first page is a cover page with full bleed background. The rest of the pages have a margin. @page { margin: 2cm; } @page :first { margin: 0; } .c...
Saracen asked 10/8, 2021 at 20:3

4

I am generating a print report using table in twitter-bootstrap layout. The page has multiple tbody inside a table; While Printing the page it requires a page-break-after each tbody To do so, I hav...
Plutonian asked 3/1, 2015 at 9:5

7

I'm attempting to customize the print CSS, and finding that it prints links out with the href value as well as the link. This is in Chrome. For this HTML: <a href="http://www.google.com">G...
Centigram asked 4/9, 2011 at 20:40

8

I have some simple CSS: #someElement { background-color:black; color:white; } It looks ok in the browser, but when I go to print it in Firefox it comes out as black text on a white background....
Furbelow asked 19/4, 2009 at 0:4

3

Solved

I am using a table to create a footer on every page (works in Firefox, that's enough). A JS Fiddle: https://jsfiddle.net/j9k2xzze/ (right click on the output pane -> This Frame -> Open Frame in N...
Failure asked 31/10, 2015 at 6:43

3

Solved

I have a long HTML to print. Page is ready for printing but I need to border every single page. I added body { border:2px #666 solid; padding:5px; } in CSS code. HTML view is nice but print view is...
Caprice asked 23/6, 2014 at 8:30

0

I encountered something weird as I was playing around with this. In Firefox, when the height of a div inside the thead is more than 252px, the header will not get repeated. Tried with Chrome, issue...
Lampion asked 22/1, 2018 at 19:2

1

Solved

I'm trying to get print preview to print for me in the way that I want it to using the @page directive in CSS. For some reason, no matter what my page margins are set to, the content gets squished,...
Birmingham asked 19/6, 2016 at 14:4

1

Solved

I created a simple print CSS which generates an A4 page. <!doctype html> <html> <head> <style media="print"> * {margin:0;padding:0} @page {size: 297mm 210mm; margin:0mm;}...
Waldrup asked 31/5, 2015 at 10:55

2

I am having an issue when I print my page in Chrome 26 where tables appear with grey background colour. When I view the page in chrome with simulated CSS media print it looks fine When print...
Ilene asked 13/5, 2013 at 19:28

2

one of my application is web based POS(Point Of Sale). so while printing invoices in chrome. the page header and the page footer automatically inserted by the browser that I want to supress via the...
Hydric asked 16/7, 2012 at 11:22

2

Solved

An example of my code is this: <div class="print"> This div needs to be on one page. </div> <div class="print"> This div needs to print on a separate page. </div> I have...
Incompetent asked 4/2, 2011 at 6:51
1

© 2022 - 2024 — McMap. All rights reserved.