Set div height - HTML CSS CSS Widget

HTML CSS examples for CSS Widget:Div

Description

Set div height

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

* {<!--   ww  w.  ja  va2  s  . co m-->
   background-color: yellow;
}
div {
   height: 50px;
   background-color: red;
}


      </style> 
 </head> 
 <body> 
  <div> 
  </div>  
 </body>
</html>

Related Tutorials