Div with round corner - HTML CSS CSS Widget

HTML CSS examples for CSS Widget:Div

Description

Div with round corner

Demo Code

ResultView the demo in separate window

<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>

Related Tutorials