propriété CSS page-break-inside
Exemples
Disposé dans l'élément de table est toujours paging comportement de pagination:
<head>
<style>
@media print
{
table {page-break-inside:avoid}
}
</style>
</head>
<body>
....
</body>
</html>
Définition des attributs et des instructions
page-break-inside paramètres de propriété il y a la page révolutionnaire élément de comportement.
Remarque: Vous pouvez utiliser cette propriété pour les éléments en position absolue.
Remarque: S'il vous plaît utiliser les propriétés de radiomessagerie aussi peu que possible, et d' éviter l'utilisation des propriétés de pagination dans des tableaux, des éléments flottants, les éléments de bloc avec les frontières de.
Par défaut: | auto |
---|---|
Héritage: | aucun |
Version: | CSS2 |
Syntaxe JavaScript: | objet .style.pageBreakInside = "éviter" |
support du navigateur
Tous les principaux navigateurs prennent en charge la propriété page-break-inside
Note: IE8 et les versions antérieures de IE ne prennent pas en charge "héritent" propriété.
Note: Firefox, Chrome et Safari ne supporte pas la valeur de la propriété «éviter».
Valeur de la propriété
valeur | description |
---|---|
auto | Par défaut. Si nécessaire, insérez un saut de page dans l'élément. |
éviter | Évitez les éléments à l'intérieur des pages d'insertion pauses. |
hériter | Des dispositions devraient hériter des biens paramètres page-break-inside de l'élément parent. |