HTML CSS examples for CSS Widget:Div
Div with round corner
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <style id="compiled-css" type="text/css"> body<!-- w ww.j ava2 s . c om--> { background-color: #373; margin:0; } #container { background:transparent; padding:24px; } #page { display: block; background-color:#eee; width: 850px; -moz-border-radius: 5px; -webkit-border-radius: 5px; border-radius: 5px; margin: 0 auto; padding:5px; } </style> </head> <body> <div id="container"> <div id="page"> Testing 1 2 3 </div> </div> </body> </html>