HTML CSS examples for CSS Layout:Box
Two horizontal lines across a box
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <style id="compiled-css" type="text/css"> #box {<!-- w ww . java 2 s . c om--> width:86%; margin:0 auto; } .line1 { width:100%; } .line2 { width:100%; } </style> </head> <body> <div id="box"> <hr class="line1"> <hr class="line2"> </div> </body> </html>