Information about setting up a page in html or a page created by asp.net

I have an HTML page from several tables created by ASP.NET, and when I make the Page Setup option before printing, the paper size is already selected as Letter, and I want this setting to be in A4. I resized the table but did not work.

Is there any page customization information that I can put in HTML, so the Page Setup option can take it from there.

Please, help.

Thanks Anto

+3
source share
2 answers

CSS. . . W3C.

"" HTML. CSS , , (, , , , , ..).

, .

0

CSS, @page. , CSS 2.0 CSS 3.0, CSS 2.1:

@page { size: A4 };

, .

0

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


All Articles