border-breaking-003-cols.ref.xhtml (702B)
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>Pagination with Borders</title> 5 <style type="text/css"> 6 .container1 { 7 border-top: 10px solid blue; 8 } 9 .container2 { 10 border-top: solid 10px aqua; 11 } 12 13 .multicol { 14 height: 200px; 15 width: 300px; 16 border: solid silver; 17 } 18 </style> 19 </head> 20 <body> 21 There must be two continuous 10px lines at the top 22 of the gray box, the top one blue and the bottom one 23 aqua. 24 <div class="multicol"> 25 <div class="container1"> 26 </div> 27 <div class="container2"> 28 </div> 29 </div> 30 </body> 31 </html>