Two even columns : Two columns « Layout « HTML / CSS






Two even columns

  

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Intra Blog</title>
<style type='text/css'>
/* CSS Document */
body {
  padding: 0px;
  margin: 0px;
  background: #EFEFEF;
  color: #1A1A1A;
  font: 14px/18px Arial, Helvetica, sans-serif;
}

div,p,ul,h1,h2,h3,h4,h5,h6,h7 {
  padding: 0px;
  margin: 0px;
}

ul {
  list-style-type: none;
}

/*----MAIN PANEL----*/
#mainPan {
  width: 723px;
}

/*----Left Panel----*/
#leftPan {
  width: 389px;
  float: left;
  background: url(102x-images/headerbg.jpg) 0 0 no-repeat #fff;
  color: #1A1A1A;
}

#logoPan {
  width: 317px;
  height: 125px;
  display: block;
  margin: 63px 0 48px 32px;
}

#leftbodyPan {
  width: 294px;
  margin: 0 0 0 58px;
}

#leftbodyPan h2 {
  width: 175px;
  height: 34px;
  background: url(102x-images/icon1.jpg) 0 2px no-repeat #fff;
  color: #CC0000;
  font-size: 22px;
  line-height: 20px;
  padding: 0 0 0 30px;
  font-weight: normal;
}

#leftbodyPan h3 {
  width: 250px;
  height: 75px;
  display: block;
  background: url(102x-images/icon3.jpg) 0 50% no-repeat #fff;
  color: #CC0000;
  font-size: 24px;
  line-height: 65px;
  padding: 0 0 0 50px;
  font-weight: normal;
}

#leftbodyPan h4 {
  width: 265px;
  height: 90px;
  display: block;
  background: url(102x-images/image1.jpg) 0 0 no-repeat;
  margin: 25px 0 34px;
  text-indent: -20000px;
}

#leftbodyPan h5 {
  width: 134px;
  height: 26px;
  display: block;
  background: url(102x-images/icon4.jpg) 0 0 no-repeat #fff;
  color: #CC0000;
  font: 14px/26px "Trebuchet MS", Arial, Helvetica, sans-serif;
  padding: 0 0 0 30px;
  margin: 12px 0 10px 0;
}

#leftbodyPan h5 span {
  font-weight: bold;
  background: #fff;
  color: #1A1A1A;
}

#leftbodyPan h6 {
  width: 250px;
  height: 75px;
  display: block;
  background: url(102x-images/icon6.jpg) 0 50% no-repeat #fff;
  color: #CC0000;
  font-size: 24px;
  line-height: 65px;
  padding: 0 0 0 56px;
  font-weight: normal;
}

#leftbodyPan ul {
  width: 294px;
}

#leftbodyPan ul li {
  width: 294px;
  height: 20px;
}

#leftbodyPan ul li a {
  height: 20px;
  display: block;
  background: url(102x-images/icon2-normal.gif) 0 7px no-repeat #fff;
  color: #1A1A1A;
  text-decoration: none;
  padding: 0 0 0 20px;
  line-height: 20px;
}

#leftbodyPan ul li a:hover {
  background: url(102x-images/icon2-hover.gif) 0 7px no-repeat #fff;
  color: #565555;
  text-decoration: none;
}

#leftbodyPan p {
  padding: 0 25px 0 0;
}

#leftbodyPan p.border {
  border-bottom: 1px solid #DCDCDC;
  padding: 10px 0 0;
}

#leftbodyPan p.bluetext {
  background: #fff;
  color: #0056B7;
  font-size: 16px;
  font-weight: bold;
}

#leftbodyPan p.blacktext {
  font-size: 15px;
  font-weight: bold;
}

#leftbodyPan p span.boldtext {
  font-style: italic;
  font-weight: bold;
}

#leftbodyPan p.more {
  width: 120px;
  height: 48px;
}

#leftbodyPan p.more a {
  height: 38px;
  display: block;
  background: url(102x-images/icon5.jpg) 0 0 no-repeat #fff;
  color: #CC0000;
  font: 14px/20px "Trebuchet MS", Arial, Helvetica, sans-serif;
  padding: 0 0 0 30px;
  text-decoration: none;
}

#leftbodyPan p.more a:hover {
  text-decoration: underline;
}

#leftbodyPan p.image {
  width: 265px;
  height: 90px;
  background: url(102x-images/image2.jpg) 0 0 no-repeat;
  margin: 25px 0 34px;
}

/*----/Left Panel----*/
/*----Right Panel----*/
#rightPan {
  width: 334px;
  float: left;
  background: url(102x-images/rightpanbg.gif) 0 0 repeat-y;
  height: 1510px;
}

#rightTopPan {
  width: 334px;
  height: 432px;
  background: url(102x-images/menubg.jpg) 0 0 no-repeat;
}

#rightTopPan ul {
  width: 94px;
  height: 250px;
  position: absolute;
  top: 94px;
  left: 420px;
}

#rightTopPan ul li {
  width: 94px;
  height: 27px;
  border-bottom: 1px solid #E1E1E1;
}

#rightTopPan ul li a {
  width: 76px;
  height: 26px;
  display: block;
  background: url(102x-images/arrow.gif) 0 50% no-repeat #fff;
  color: #1B0000;
  font: 11px/26px "Trebuchet MS", Arial, Helvetica, sans-serif;
  padding: 0 0 0 18px;
  text-decoration: none;
  text-transform: uppercase;
}

#rightTopPan ul li a:hover {
  width: 76px;
  height: 26px;
  display: block;
  background: url(102x-images/arrow.gif) 0 50% no-repeat #fff;
  color: #CC0000;
}

#rightTopPan ul li.home {
  width: 76px;
  height: 26px;
  display: block;
  background: url(102x-images/arrow.gif) 0 50% no-repeat #FBFBFB;
  color: #CC0000;
  font: 11px/26px "Trebuchet MS", Arial, Helvetica, sans-serif;
  padding: 0 0 0 18px;
  text-decoration: none;
  text-transform: uppercase;
}

#rightTopPan ul li.contact {
  border: none;
}

#rightBodyPan {
  width: 238px;
  margin: 0 0 0 31px;
}

#rightBodyPan h2 {
  width: 150px;
  height: 46px;
  background: url(102x-images/icon7.jpg) 0 2px no-repeat #EFEFEF;
  color: #CC0000;
  font-size: 22px;
  line-height: 20px;
  padding: 28px 0 0 40px;
  font-weight: normal;
}

#rightBodyPan p.largeblack {
  font-size: 16px;
  font-weight: bold;
  padding: 0 0 12px 0;
}

#rightBodyPan p.blue-italictext {
  background: #EFEFEF;
  color: #015DC6;
  font-size: 15px;
  font-style: italic;
  padding: 12px 0 48px 0;
}

#rightBodyPan p.morenext {
  width: 238px;
  height: 50px;
  display: block;
}

#rightBodyPan p.morenext a {
  width: 74px;
  height: 30px;
  display: block;
  margin: 0;
  background: url(102x-images/icon8.jpg) 62% 0 no-repeat #fff;
  color: #1A1A1A;
  line-height: 30px;
  text-decoration: none;
  padding: 0 0 0 164px;
}

#rightBodyPan p.morenext a:hover {
  background: url(102x-images/icon8-hover.jpg) 62% 0 no-repeat #DFDFDF;
  color: #1A1A1A;
  text-decoration: none;
}

/*----FOOTER PANEL----*/
#footermainPan {
  width: 100%;
  height: 198px;
  background: #4C4C4C;
  color: #fff;
  clear: both;
}

#footerPan {
  width: 723px;
  height: 198px;
  background: url(102x-images/footerbg.gif) 0 0 repeat-y;
  position: relative;
  clear: both;
  margin: 0;
  padding: 0;
}

#footerPan img {
  width: 248px;
  height: 38px;
  position: absolute;
  top: 23px;
  right: 6px;
}

#footerPan ul {
  width: 320px;
  position: absolute;
  top: 49px;
  left: 53px;
}

#footerPan li {
  float: left;
  font: 11px/15px "Trebuchet MS", Arial, Helvetica, sans-serif;
  font-weight: normal;
}

#footerPan ul li a {
  padding: 0 5px 0;
  color: #fff;
  background: #4C4C4C;
  text-decoration: none;
}

#footerPan ul li a:hover {
  text-decoration: underline;
}

#footerPan ul.templateworld {
  width: 158px;
  background: #4C4C4C;
  color: #fff;
  display: block;
  position: absolute;
  top: 158px;
  left: 56px;
}

#footerPan ul.templateworld li a {
  background: #4C4C4C;
  display: block;
  color: #fff;
  text-decoration: none;
}

#footerPan ul.templateworld li a:hover {
  text-decoration: underline;
}

#footerPan p.copyright {
  background: #4C4C4C;
  color: #79D000;
  font: 11px/15px Tahoma, Arial, Helvetica, sans-serif;
  position: absolute;
  top: 89px;
  left: 58px;
}

#footerPanhtml {
  width: 75px;
  height: 24px;
  display: block;
  position: absolute;
  top: 128px;
  left: 58px;
}

#footerPanhtml a {
  width: 75px;
  height: 24px;
  background: url(102x-images/arrow2-normal.gif) 90% 50% no-repeat #DFDFDF;
  display: block;
  font: 14px/24px "Trebuchet MS", Arial, Helvetica, sans-serif;
  margin: 0;
  padding: 0 0 0 5px;
  color: #111111;
  text-transform: uppercase;
  text-decoration: none;
  font-weight: bold;
}

#footerPanhtml a:hover {
  background: url(102x-images/arrow2-hover.gif) 90% 50% no-repeat #DFDFDF;
  color: #111;
  text-decoration: none;
}

#footerPancss {
  width: 75px;
  height: 24px;
  display: block;
  position: absolute;
  top: 128px;
  left: 145px;
}

#footerPancss a {
  width: 75px;
  height: 24px;
  background: url(102x-images/arrow2-hover.gif) 90% 50% no-repeat #DFDFDF;
  display: block;
  font: 14px/24px "Trebuchet MS", Arial, Helvetica, sans-serif;
  margin: 0;
  padding: 0 0 0 5px;
  color: #111111;
  text-transform: uppercase;
  text-decoration: none;
  font-weight: bold;
}

#footerPancss a:hover {
  background: url(102x-images/arrow2-normal.gif) 90% 50% no-repeat #DFDFDF;
  color: #111;
  text-decoration: none;
}
</style>


</head>

<body>
<div id="mainPan">
  <div id="leftPan">
    <div id="logoPan"><a href="#index.html"><img src="102x-images/logo.jpg" title="Intra Blog" alt="Intra Blog" width="317" height="125" border="0" /></a></div>
      <div id="leftbodyPan">
      <h2>special links</h2>
      <ul>
        <li><a href="#">Morbi sodales ante a mauris. Vestibu</a></li>
        <li><a href="#">lum conetmomaurislestie</a></li>
        <li><a href="#">quamsectetuer mauris et quam. Fusce</a></li>
        <li><a href="#">odio lorem, molestie ut, laoreet vitae,</a></li>
        <li><a href="#">luctus vitae, nisi. Curabitur nibh justo,</a></li>
        <li><a href="#">tincidunt nec, tempor eget, tincidunt sit</a></li>
        <li><a href="#">amet, libero.</a></li>
      </ul>
      <p class="border">&nbsp;</p>
      <h3>know more about?</h3>
      <p class="bluetext">M Robinson</p>
      <p class="blacktext">02nd august 2006</p>
      <h4>image1</h4>
      <p><span class="boldtext">Intra Blog is a free, tableless, W3C-compliant web design layout by Template World.</span> This template has been tested and proven compatible with all major browser environments and operating systems. You are free to modify the design to suit your tastes in any way you like.</p>
      <p>We only ask you to not remove "Design by Template World" and the link http://www.templateworld.com from the footer of the template.</p>
      <p>If you are interested in seeing more of our free web template designs feel free to visit our website, Template World. We intend to add at least 25 new free templates in the coming month.</p>
      <h5>Comments: <span>03</span></h5>
      <p class="more"><a href="#">more</a></p>
      <h6>communication</h6>  
      <p class="bluetext">M Robinson</p>
      <p class="blacktext">12th august 2006</p>
      <p class="image">&nbsp;</p>  
      <p><span class="boldtext">Sed viverra ante ut tortor. Curabitur ac est ut arcu viverra placerat.</span> Maecenas cursus risus et orci. In sit amet purus ac mauris egestas pharetra. Vivamus nibh. Vestibulum congue. Maecenas nunc. In hac habitasse platea dictumst. PraesentMaecenas  aucto Maecenas  odio in  ante id risus.sapien. Quisque lacus. </p>
      <h5>Comments: <span>03</span></h5>
      <p class="more"><a href="#">more</a></p>
    </div>
  </div>
  
  <div id="rightPan">
    <div id="rightTopPan">
    <ul>
      <li class="home">Home</li>
      <li><a href="#">About us</a></li>
      <li><a href="#">Support</a></li>
      <li><a href="#">Solution</a></li>
      <li><a href="#">Meetings</a></li>
      <li><a href="#">forrum</a></li>
      <li><a href="#">tools</a></li>
      <li><a href="#">chat</a></li>
      <li class="contact"><a href="#">contact</a></li>
    </ul>
  </div>
  
    <div id="rightBodyPan">
    <h2>the ideas</h2>
    <p class="largeblack">Morbi sodales ante a mauris. Vestibulum conetmomaurisle </p>
    <p>quamsectetuer mauris et quam.odio lorem, molestie ut, laoreet vitae, luctus vitae, nisi. Curabitur nibh justo, tincidunt nec, tempor eget, tincidunt amet, libero</p>
    <p class="blue-italictext">&quot;risus et orci. In sit amet purus ac mauris egestas pharetra. Vivamus nibh. Vestibulum congue.&quot;</p>
    <p class="largeblack">Morbi sodales ante a mauris. Vestibulum conetmomaurisle </p>
    <p>quamsectetuer mauris et quam.odio lorem, molestie ut, laoreet vitae, luctus vitae, nisi. Curabitur nibh justo, tincidunt nec, tempor eget, tincidunt amet, libero</p>
    <p class="blue-italictext">&quot;risus et orci. In sit amet purus ac mauris egestas pharetra. Vivamus nibh. Vestibulum congue.&quot;</p>
    <p class="morenext"><a href="#">know more</a></p>
  </div>
  </div>
</div>

<div id="footermainPan">
  <div id="footerPan">
    <ul>
    <li><a href="#">Home</a>| </li>
    <li><a href="#">About us</a> | </li>
    <li><a href="#">Support</a>| </li>
    <li><a href="#">Solution</a> | </li>
    <li><a href="#">Meetings</a> |</li>
  <li><a href="#">Forrum</a> |</li>
  <li><a href="#">Tools</a> |</li>
  <li><a href="#">Chat</a> |</li>
  <li><a href="#">Contact</a></li>
  </ul>
  <p class="copyright">>>intrablog 2006 all right reaserved</p>
  <div id="footerPanhtml"><a href="http://validator.w3.org/check?uri=referer" target="_blank">xhtml</a></div> 
   
   <div id="footerPancss"><a href="http://jigsaw.w3.org/css-validator/check/referer" target="_blank">css</a></div>
   <ul class="templateworld">
    <li>Design By:</li>
  <li><a href="http://www.templateworld.com" target="_blank">Template World</a></li>
  </ul>
  </div>
</div>
</body>
</html>

   
    
  








Related examples in the same category

1.2 column with left content floats left
2.Two columns with a footer
3.Head and footer with two columns in between
4.Header bar, two columns, menu on the right
5.2-column Layout with total width 922px, and float right
6.2-column with total width 922 px and left column 678 px, float right
7.2-column with total width 922px, left width 200px, float right
8.2-column layout with margin in between
9.2-column, with float left and right, left 678px width
10.2-column with relative positioned right column
11.Two column: content and right bar
12.Two column with negative margin
13.Floated Two Column Layout
14.Two columns with separator
15.Two columns with background
16.Two columns with width: 50%
17.Two columns with header banner
18.Two row layout: one floats left, one floats right
19.Header and sub header with two columns and footer
20.float left and right with other content
21.Two columns with header and footer
22.Two columns
23.Master header and two columns
24.Floated Two-Column Layout 2
25.Header and two-column layout
26.Two Column Layout in HTML with table
27.Two Columns Layout Using CSS
28.Two column layout with red theme
29.Two column layout template to illustrate all
30.Two column layout to illustrate all
31.Two column layout template 2
32.Two column layout template 3
33.Two column with text header
34.Two-column with sidebar layout
35.Two-column layout with header and footer