Main title with four columns under : Four Columns « Layout « HTML / CSS






Main title with four columns under

   


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title></title>
<style type="text/css">
#columnLeft {
 position: absolute;
 left:1%;
 width:20%;
 top: 4em;
 background:#fff;
}
#columnInnerLeft {
 position: absolute;
 left: 22%;
 width: 28%;
 top: 4em;
 background: #fff;
 text-align: justify;
 border-width: 0;
}
#columnInnerRight {
 position: absolute;
 left: 51%;
 width: 28%;
 top: 4em;
 background: #fff;
}
#columnRight {
 position: absolute;
 left: 80%;
 width: 19%;
 top: 4em;
 background: #fff;
}
</style>
</head>

<body>
  <div id="header">
    <h1>Main Title Goes Here</h1>
  </div>

  <div id="columnLeft">
    <h2>Left Column</h2>

            <p>This is a text. This is a text. This is a text. This is a text. 
            This is a text. This is a text. This is a text. This is a text. This is a text. 
            This is a text. This is a text. This is a text. This is a text. This is a text. This is a text. This is a text. This is a text. This is a text. This is a text. This is a text. 
            This is a text. This is a text. This is a text. This is a text. 
            </p>
  </div>

  <div id="columnInnerLeft">
    <h2>Inner Left Column</h2>
<p>This is a text. This is a text. This is a text. This is a text. 
This is a text. This is a text. This is a text. This is a text. This is a text. 
This is a text. This is a text. This is a text. This is a text. This is a text. This is a text. This is a text. This is a text. This is a text. This is a text. This is a text. 
This is a text. This is a text. This is a text. This is a text. 
</p>
  </div>

  <div id="columnInnerRight">
    <h2>Inner Right Column</h2>

<p>This is a text. This is a text. This is a text. This is a text. 
This is a text. This is a text. This is a text. This is a text. This is a text. 
This is a text. This is a text. This is a text. This is a text. This is a text. This is a text. This is a text. This is a text. This is a text. This is a text. This is a text. 
This is a text. This is a text. This is a text. This is a text. 
</p>
  </div>

  <div id="columnRight">
    <h2>Right Column</h2>

<p>This is a text. This is a text. This is a text. This is a text. 
This is a text. This is a text. This is a text. This is a text. This is a text. 
This is a text. This is a text. This is a text. This is a text. This is a text. This is a text. This is a text. This is a text. This is a text. This is a text. This is a text. 
This is a text. This is a text. This is a text. This is a text. 
</p>
  </div>
</body>
</html>

   
    
  








Related examples in the same category

1.Four columns with absolute position
2.4 columns, all fluid
3.Four columns with footer
4.four column with float, and a footer with clear both
5.Four columns with footer 2
6.Four columns with footer 3
7.Faux Column CSS Layouts - 4 Column - faux-39-4-col
8.Faux Column CSS Layouts - 4 Column - faux-40-4-col
9.Faux Column CSS Layouts - 4 Column - faux-41-4-col
10.Faux Column CSS Layouts - 4 Column - faux-42-4-col
11.Four even columns with two level header
12.Four column layout