How to write xhtml and css printer? How to save printer ink using print css?

I'm not just talking about mke print css or media=print

Questions:

  • I am talking about other things that we have to do in XHTMl and the css and print css screen (other than disply:nonein css printing), we have to take care to get a good print of the website page.
  • And we need special care about images, background images in css, flash, silverlight, iframe
  • How to save printer ink with CSS printing?
+3
source share
5 answers

A List Apart : CSS: Boom!

+1

. , ; .

, 150 . . GIF dpi , CSS.

.

0

XHTML , , .

css. , - , (, , ). , , , , , . - , .

, , flash silverlight, print.css, , , , flash, .

, . 150dpi, , CMYK ( Photoshop, "" > " " ).

. , , , . , "" Helvetica Times New Roman ( , Verdana).

, , , (yup display:none). print.css. ( ) , , . , # 111 # 222 # 000 ( ).

0

, , , ecofont, , .

.

0

, .

, , - , xyz. , - , , .

CSS URL-.

a:link:after, a:visited:after { content:" [" attr(href) "] "; }

, , -

a.printable:link:after, a.printable:visited:after { content:" [" attr(href) "] "; }

, , ,

a.printable:link:after, a.printable:visited:after { content:" <" attr(href) "> "; }

, "content:" css. , .

, pt px em . , . 12 , 11- - . ( !) .

- ( , , , , , ), . , (, , , , , ). css <hr> s, <hr> (, , pt, 2pt, px, ).

I cannot think of many situations when you have the content in the iframe that you want to print. In this case, it may be advisable to make a printed version of the page that outputs the content from the iframe and directly to the document, which makes it much better for printing. A.

0
source

Source: https://habr.com/ru/post/1730492/


All Articles