简体   繁体   中英

Some problems to understand CSS paged media style

I have some doubt about the paged media in CSS.

If I have something like this code:

@page rotated {size: landscape}
TABLE {page: rotated; page-break-before: right}

what exactly happen? can you explain to me this code? I am reading the documentation but I am finding some problems...

Tnx Andrea

它似乎是一个在打印时应用的规则,如果浏览器遇到文档中的元素并且当前页面布局是默认的纵向布局,它将启动一个新页面并在横向页面上打印该表。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM