CSS Home
CSS Reference
Pseudo Classes & Elements
© 2013 TutorialsPoint.COM
|
CSS - widows
Advertisements
Description:
The widows property is used in paged media to control line breaks by specifying the minimum number of lines in a paragraph that should be left at the top of the page.
Possible Values:
- integer: Any length unit. Negative length values are not permitted for this property.
Applies to:
All the Block level elements
DOM Syntax:
Example:
Here is the example to create 4 lines at the bottom and 3 lines at the top of each page:
<style tyle="text/css">
<!--
@page{orphans:4; widows:2;}
-->
</style>
|
Advertisements
|
|
|