CSS-Lesson 16

Other Properties-

The orphans property

When a web page is printed it is possible that a paragraph is split between two pages. The lines of the paragraph left on the page before the split are known as 'orphans'. The orphans property specifies the minimum number of lines that must be left as orphans.

The page-break- properties

This is a group of three properties used in determining where the page-breaks come in a block level element on a printed version of the page. They all have the values 'auto' and 'avoid'. The auto value allows a page-break while the 'avoid' value prevents a page-break, if at all possible.

In addition, the page-break-before and -after properties may have the values 'always', 'auto', 'avoid', 'left' and 'right'. The 'always' value forces a page-break; 'left' and 'right' forces one or two page-breaks so that the next page will be a left and right hand page respectively.

The quotes property

The unicode-bidi property

This property is used in conjuction with the 'property 'direction'. It has values 'embed' and 'normal'. This property is not likely to be used.

The widows property

When a web page is printed it is possible that a paragraph is split between two pages. The lines of the paragraph carried over to the page after the split are known as 'widows'. The widows property specifies the minimum number of lines that must be carried over as widows.

Previous Lesson previous lesson next lesson Next Lesson