Make a custom table - HTML CSS CSS Widget

HTML CSS examples for CSS Widget:Table

Description

Make a custom table

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 {<!--from  w w w . ja  v  a 2  s.c  o m-->
   height:401px;
}

#topLeft {
   background-color:Chartreuse;
   width:33%;
   height:33%;
   margin:6px;
   float:left;
}

#topRight {
   float:right;
   background-color:yellow;
   width:66%;
   height:33%;
   margin:6px;
}

#middleLeft {
   background-color:blue;
   width:66%;
   height:33%;
   margin:6px;
   float:left;
}

#middleRight {
   float:right;
   background-color:pink;
   width:33%;
   height:33%;
   margin:6px;
}

#bottomLeft {
   float:left;
   background-color:OrangeRed;
   width:33%;
   height:33%;
   margin:6px;
}

#bottomRight {
   float:right;
   background-color:grey;
   width:66%;
   height:33%;
   margin:6px;
}
</style> 
 </head> 
 <body> 
  <div id="topLeft"></div> 
  <div id="topRight"></div> 
  <div id="middleLeft"></div> 
  <div id="middleRight"></div> 
  <div id="bottomLeft"></div> 
  <div id="bottomRight" right></div>  
 </body>
</html>

Related Tutorials