NOTICE: This website is no longer updated or supported - as such many of the techniques used to build it may seem antiquated in the modern day. It is preserved for historical reasons only.

HTML XHTML The Complete Reference
home » reference » appendix b » css1 / css2 properties

widows


Defines the minimum number of lines in a paragraph to be left at the top of a page. This property is really only meaningful in a paged environment such as print output. The default value is 2 if unspecified.

Examples


#hatewidows {widows: 5;}
.widowmaker {widows: 1;}

Browser and CSS Support Notes


CSS2
No IE support
Nav 6, 7
Opera 7

(X)HTML Elements
CSS Properties
Back: white-space Next: width
< Home | About | Chapters | Examples | Errata | Reference | Site Map >