page-size-005.xht (986B)
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> 2 <html xmlns="http://www.w3.org/1999/xhtml"> 3 <head> 4 <title>CSS Test: @page size B5</title> 5 <link rel="author" title="Tom Clancy" href="mailto:tclancy@revenution.com"/> 6 <link rel="author" title="Hewlett-Packard Company" href="http://www.hp.com/"/> 7 <link rel="help" href="http://www.w3.org/TR/css3-page/#page-size-prop"/> 8 <meta http-equiv="Content-Type" content="text/html;charset=utf-8" /> 9 <meta name="flags" content="paged" /> 10 <meta name="assert" content="The 'B5' value of the 'size' property specifies that the page box's width be 176mm and its height 250mm."/> 11 <style type="text/css"><![CDATA[ 12 @page { 13 size: B5; 14 border: 2pt solid black; 15 margin: 20mm; 16 } 17 ]]></style> 18 </head> 19 <body> 20 <div>If B5 (176mm x 250mm) or larger paper is available, this content should be printed in a black box that has a width of 136mm and a height of 210mm.</div> 21 </body> 22 </html>