Two column layout template to illustrate all
<!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" xml:lang="en" lang="en">
<head>
<title>Colourise</title>
<meta http-equiv="content-type" content="application/xhtml+xml; charset=UTF-8" />
<meta name="author" content="Erwin Aligam - styleshout.com" />
<meta name="description" content="Site Description Here" />
<meta name="keywords" content="keywords, here" />
<meta name="robots" content="index, follow, noarchive" />
<meta name="googlebot" content="noarchive" />
<style type='text/css'>
/* ----------------------------------------------
Template Name : Colourise
Template Code : S-0022
Version : 1.1
Author : Erwin Aligam
Author URI : http://www.styleshout.com/
Last Date Modified : January 17, 2010
------------------------------------------------ */
/* ----------------------------------------------
HTML ELEMENTS
------------------------------------------------- */
/* Top Elements */
* { margin: 0; padding: 0; outline: 0 }
body {
font: 11px/165% 'Lucida Grande', Geneva, Verdana, Arial, Helvetica, sans-serif;
color: #5B5B5B;
margin: 0; padding: 0;
background: #070707 url(Colourise-images/bg.jpg) no-repeat center top;
text-align: center;
}
/* Links */
a, a:active, a:link {
text-decoration: none;
color: #006193;
}
a:visited {
text-decoration: none;
}
a:hover {
color: #fff;
border-bottom: 1px dotted #438800;
}
/* headers */
h1, h2, h3 {
font-family: 'Trebuchet MS', Tahoma, Arial, Sans-serif;
color: #ABABAB;
}
h1 {
font-size: 3.6em;
font-weight: normal;
letter-spacing: -2px;
padding: 15px 10px 5px 10px;
}
h2 {
font-size: 2.2em;
color: #895F30;
padding: 20px 10px 5px 10px;
}
h3 {
font-size: 1.8em;
font-weight: normal;
padding: 20px 10px 5px 10px;
}
p, dl { padding: 10px; margin: 0; }
ul, ol {
margin: 10px 20px;
padding: 0 20px;
}
ul { list-style: none; }
dt {
font-weight: bold;
color: #fff;
}
dd {
padding-left: 25px;
}
/* images */
img {
background: #1B1B1B;
border: 1px solid #1B1B1B;
padding: 8px;
}
img.float-right {
margin: 5px 0px 10px 10px;
}
img.float-left {
margin: 5px 10px 10px 0px;
}
code {
margin: 5px 0;
padding: 15px;
text-align: left;
display: block;
overflow: auto;
font: 500 1em/1.5em 'Lucida Console', 'Courier New', Monospace ;
/* white-space: pre; */
background: #111;
}
acronym {
cursor: help;
border-bottom: 1px dotted #5B5B5B;
}
blockquote {
margin: 15px 10px;
padding: 10px 10px 10px 35px;
background: #111 url(Colourise-images/quote.jpg) no-repeat 10px 10px;
font-weight: normal;
font-size: 18px;
line-height: 1.6em;
font-style: italic;
font-family: Georgia, 'Times New Roman', Times, serif;
color: #808080;
}
/* start - table */
table {
margin: 15px 10px;
border-collapse: collapse;
}
th {
background: #000;
color: #fff;
height: 38px;
padding-left: 12px;
padding-right: 12px;
text-align: left;
border-left: 1px solid #211E20;
border-right: 1px solid #211E20;
border-bottom: 1px solid #211E20;
border-top: 1px solid #48780E;
}
tr {
color: #5b5b5b;
height: 34px;
}
td {
padding-left: 12px;
padding-right: 12px;
border: 1px solid #111;
}
/* end - table */
/* form elements */
form {
margin: 20px 10px; padding: 5px 10px 20px 10px;
border: 1px solid #111;
background: #070707;
}
label {
display: block;
font-weight: bold;
margin: 8px 0;
color: #fff;
}
input, select, textarea {
padding: 5px 4px;
font: normal 1em Verdana, Tahoma, sans-serif;
color: #6A6969;
background: #0C0C0C;
border: 1px solid #1C1C1C;
}
textarea {
width: 400px;
height: 100px;
display: block;
}
input.button {
font: bold 12px Arial, Sans-serif;
height: 30px;
margin: 0;
padding: 2px 3px;
color: #48780E;
background: #000;
border-width: 1px;
border-style: solid;
border-color: #1c1c1c;
}
/* search form */
.searchform {
background-color: transparent;
border: none;
margin: 0; padding: 20px 0 15px 8px;
width: 270px;
}
.searchform p { margin: 0; padding: 0 0 10px 0; }
.searchform input.textbox {
width: 185px;
height: 18px;
padding: 2px;
vertical-align: top;
}
.searchform input.button {
width: 60px;
height: 24px;
padding: 2px 5px;
vertical-align: top;
}
/* ------------------------------------------
LAYOUT
------------------------------------------- */
#wrap {
position: relative;
width: 900px;
margin: 0 auto;
text-align: left;
}
#content-wrap {
position: relative;
clear: both;
width: 900px;
padding: 0;
margin-left: 5px;
background: transparent;
float: left;
display: inline;
border-top: 1px solid #1A1A1A;
}
#header {
position: relative;
width: 900px;
height: 430px;
margin: 0; padding: 0;
background: transparent;
}
/* header search */
#header form#quick-search {
position: absolute;
top: 38px; right: 0;
padding: 0; margin: 0;
border: none;
width: 262px; height: 30px;
background: url(Colourise-images/header-search.jpg) no-repeat;
z-index: 999999;
}
#header form#quick-search p {
margin: 0; padding: 0;
}
#header form#quick-search .tbox {
margin: 2px 0 0 5px;
width: 210px;
background: none;
border: none;
}
#header form#quick-search label,
#header form#quick-search .btn {
display: none;
}
/* Navigation */
#nav {
position: absolute;
margin: 0; padding: 0;
height: 40px;
width: 900px;
left: 0; top: 35px;
border-bottom: 1px solid #1A1A1A;
}
#nav ul {
float: left;
list-style: none;
width: 880px;
height: 40px;
margin: 0 0 0 5px; padding: 0;
display: inline;
}
#nav ul li {
display: inline;
margin: 0; padding: 0;
}
#nav ul li a {
float: left;
margin: 0; padding: 0 8px;
font: bold 15px/35px 'Trebuchet MS', Helvetica, Arial, Geneva, sans-serif;
text-decoration: none;
color: #5c9a12;
}
#nav ul li a:hover,
#nav ul li a:active {
color: #eee;
background: none;
border: none;
}
#nav ul li#current a {
color: #0077B5;
}
#header h1#logo-text a {
position: absolute;
margin: 0; padding: 0;
font: normal 72px Georgia, 'Times New Roman', Times, serif;
letter-spacing: -1.5px;
color: #fff;
text-decoration: none;
/* change the values of top and left to adjust the position of the logo*/
top: 140px; left: 10px;
}
#header h1#logo-text a:hover {
background: none; border: none;
}
#header p#intro {
position: absolute;
margin: 0; padding: 0;
font-family: Georgia, 'Times New Roman', Times, serif;
font-weight: normal;
font-size: 18px;
line-height: 1.6em;
font-style: italic;
text-transform: none;
color: #cd9857;
width: 400px;
/* change the values of top and left to adjust the position */
top: 245px; left: 15px;
}
/* Main Column */
#main {
float: left;
width: 545px;
padding: 0; margin: 0;
display: inline;
}
#main h2 {
padding-bottom: 3px;
margin-top: 15px;
font: normal 3.5em 'Trebuchet MS', Tahoma, Helvetica, Arial, sans-serif;
color: #fff;
letter-spacing: -2px;
text-transform: none;
}
#main h2 a {
color: #fff;
text-decoration: none;
border: none;
}
#main ul li {
list-style-image: url(Colourise-images/bullet.gif);
}
/* Sidebar */
#sidebar {
float: right;
width: 290px;
padding: 0; margin: 25px 0 0 0;
display: inline;
}
#sidebar h3 {
margin-top: 10px;
padding: 15px 5px 10px 5px;
font: bold 2em 'Trebuchet MS', Tahoma, Helvetica, Arial, sans-serif;
background: url(Colourise-images/footer-top.jpg) no-repeat center bottom;
color: #fefefe;
}
#sidebar ul.sidemenu {
text-align: left;
margin: 7px 5px 8px 0px; padding: 0;
}
#sidebar ul.sidemenu li {
list-style: none;
padding: 8px 10px;
margin: 0;
border-bottom: 1px solid #111;
}
* html body #sidebar ul.sidemenu li {
height: 1%;
}
#sidebar ul.sidemenu li a {
text-decoration: none;
border: none;
color: #5d5d5d;
font-weight: bold;
font-family: 'Trebuchet MS', Tahoma, Helvetica, Arial, Sans-serif;
font-size: 14px;
/* letter-spacing: .5px; */
}
#sidebar ul.sidemenu li a span {
color: #444;
font-family: Georgia, 'Times New Roman', Times, serif;
font-style: italic;
font-weight: normal;
font-size: 11px;
}
#sidebar ul.sidemenu li a:hover,
#sidebar ul.sidemenu li a:hover span {
color: #fff;
}
#sidebar ul.sidemenu ul { margin: 0 0 0 5px; padding: 0; }
#sidebar ul.sidemenu ul li { border: none; }
/* footer */
#footer-wrap {
position: relative;
clear: both;
padding: 1em 0 2.5em 0;
margin-top: 30px;
font: normal 1em 'Trebuchet MS', Tahoma, sans-serif;
background: #070707 url(Colourise-images/footer-top.jpg) no-repeat center top;
color: #555;
width: 900px;
float: left;
display: inline;
border-bottom: 50px solid #070707;
}
#footer-wrap h3 {
font: bold 2em/1.6em 'Trebuchet MS', Tahoma, sans-serif;
color: #ABABAB;
}
#footer-content {
margin: 0 auto;
width: 880px;
text-align: left;
}
#footer-content ul.col-list {
border-top: 1px solid #111;
list-style: none;
margin: 5px 0 0 5px; padding: 0;
width: 98%;
}
#footer-content ul.col-list li {
border-bottom: 1px solid #111;
}
#footer-content ul.col-list li a {
display: block;
line-height: 1.5em;
font-weight: bold;
padding: 7px 0 7px 8px;
width: 98%;
color: #555;
border: none;
}
#footer-content ul.col-list li a span {
color: #444;
font-style: italic;
font-weight: normal;
font-family: Georgia, 'Times New Roman', Times, serif;
}
#footer-content ul.col-list li a:hover,
#footer-content ul.col-list li a:hover span {
color: #fff;
text-decoration: none;
}
#footer-content .col {
width: 280px;
padding: 0 0 30px 0;
display: inline;
}
#footer-content .col2 {
width: 285px;
padding: 0 0 30px 0;
display: inline;
}
#footer-content .space-sep {
margin-right: 12px;
}
/* postmeta */
.postmeta {
padding: 7px 5px; margin: 20px 10px 15px 10px;
font-size: 1em;
color: #545454;
border: 1px solid #111;
background: #111;
}
.postmeta .date{ margin: 0 10px 0 5px; }
.postmeta a.comments { margin: 0 10px 0 5px; }
.postmeta a.readmore { margin: 0 10px 0 5px; }
.post-info { font-size: .95em; padding-top: 3px; margin-left: 5px; color: #444; }
.post-info a { color: #BD4200; }
/* alignment classes */
.float-left { float: left; }
.float-right { float: right; }
.align-left { text-align: left; }
.align-right { text-align: right; }
/* display and additional classes */
.clearer { clear: both; }
.clear {
display:inline-block;
}
.clear:after {
display:block;
visibility:hidden;
clear:both;
height:0;
content: ".";
}
</style>
</head>
<body>
<!-- wrap starts here -->
<div id="wrap">
<!--header -->
<div id="header">
<h1 id="logo-text"><a href="index.html" title="">Colourise</a></h1>
<p id="intro">
Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Donec libero. Suspendisse bibendum.
Cras id urna. Morbi tincidunt, orci ac convallis aliquam.
</p>
<div id="nav">
<ul>
<li id="current"><a href="index.html">Home</a></li>
<li><a href="style.html">Style Demo</a></li>
<li><a href="index.html">Downloads</a></li>
<li><a href="index.html">Services</a></li>
<li><a href="index.html">Support</a></li>
<li><a href="index.html">About</a></li>
</ul>
</div>
<form id="quick-search" action="index.html" method="get" >
<p>
<label for="qsearch">Search:</label>
<input class="tbox" id="qsearch" type="text" name="qsearch" value="Search..." title="Start typing and hit ENTER" />
<input class="btn" type="submit" value="Submit" />
</p>
</form>
<!--header ends-->
</div>
<!-- content-wrap starts -->
<div id="content-wrap">
<div id="main">
<a name="TemplateInfo"></a>
<h2><a href="index.html">Template Info</a></h2>
<p class="post-info">Posted by <a href="index.html">erwin</a> | Filed under <a href="index.html">templates</a>, <a href="index.html">internet</a> </p>
<p><strong>Colourise</strong> is a free, W3C-compliant, CSS-based website template
by <a href="http://www.styleshout.com/">styleshout.com</a>. This work is
distributed under the <a rel="license" href="http://creativecommons.org/licenses/by/2.5/">
Creative Commons Attribution 2.5 License</a>, which means that you are free to
use and modify it for any purpose. All I ask is that you give me credit by including a <strong>link back</strong> to
<a href="http://www.styleshout.com/">my website</a>.
</p>
<p>
You can find more of my free template designs at <a href="http://www.styleshout.com/">my website</a>.
For premium commercial designs, you can check out
<a href="http://www.dreamtemplate.com" title="Website Templates">DreamTemplate.com</a>.
</p>
<p class="postmeta">
<a href="index.html" class="readmore">Read more</a> |
<a href="index.html" class="comments">Comments (7)</a> |
<span class="date">February 02, 2008</span>
</p>
<h2><a href="index.html">Lorem Ipsum Dolor Sit Amet</a></h2>
<h3>Aliquam Risus Justo</h3>
<p><a href="http://getfirefox.com/"><img src="images/firefox-gray.jpg" width="100" height="120" alt="firefox" class="float-left" /></a>
Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Donec libero. Suspendisse bibendum.
Cras id urna. Morbi tincidunt, orci ac convallis aliquam, lectus turpis varius lorem, eu
posuere nunc justo tempus leo. Donec mattis, purus nec placerat bibendum, dui pede condimentum
odio, ac blandit ante orci ut diam. Cras fringilla magna. Phasellus suscipit, leo a pharetra
condimentum, lorem tellus eleifend magna, eget fringilla velit magna id neque. Curabitur vel urna.
In tristique orci porttitor ipsum. Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Donec libero. Suspendisse bibendum.
Cras id urna. Morbi tincidunt, orci ac convallis aliquam, lectus turpis varius lorem, eu
posuere nunc justo tempus leo.
</p>
<blockquote>
<p>Most of the important things in the world have been accomplished
by people who have kept on trying when there seemed to be no help at all.
</p>
<p class="align-right"> - Dale Carnegie </p>
</blockquote>
<p>
Vestibulum venenatis. Nulla vel ipsum. Proin rutrum, urna sit amet bibendum
pellentesque, ante sapien varius turpis, eu nonummy nunc urna scelerisque ante.
Nunc sed leo at dolor pharetra facilisis. Sed sed lectus at justo dapibus tristique.
Morbi molestie pulvinar elit. Donec dictum nibh nec est. Aliquam sagittis, lacus
a pharetra tempor, enim justo tempor nisi, at aliquet nulla metus sed augue.
Praesent sed nibh. Vestibulum bibendum enim ut nisi fringilla accumsan.
Nullam dapibus fermentum nulla. Phasellus in orci vel justo facilisis iaculis.
Quisque facilisis ornare felis. Curabitur nunc libero, dapibus vel, commodo nec,
semper a, massa. Suspendisse potenti. Morbi a nisl. Nunc euismod elit non lectus.
</p>
<h2><a href="index.html">Aliquam Risus Justo</a></h2>
<h3>Lorem Ipsum Dolor Sit Amet</h3>
<p><a href="http://getfirefox.com/"><img src="images/firefox-gray.jpg" width="100" height="120" alt="firefox" class="float-right" /></a>
Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Donec libero. Suspendisse bibendum.
Cras id urna. Morbi tincidunt, orci ac convallis aliquam, lectus turpis varius lorem, eu
posuere nunc justo tempus leo. Donec mattis, purus nec placerat bibendum, dui pede condimentum
odio, ac blandit ante orci ut diam. Cras fringilla magna. Phasellus suscipit, leo a pharetra
condimentum, lorem tellus eleifend magna, eget fringilla velit magna id neque. Curabitur vel urna.
In tristique orci porttitor ipsum. Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Donec libero. Suspendisse bibendum.
Cras id urna. Morbi tincidunt, orci ac convallis aliquam, lectus turpis varius lorem, eu
posuere nunc justo tempus leo.
</p>
<h3>Lorem Ipsum</h3>
<p>
Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Donec libero. Suspendisse bibendum.
Cras id urna. Morbi tincidunt, orci ac convallis aliquam, lectus turpis varius lorem, eu
posuere nunc justo tempus leo. Donec mattis, purus nec placerat bibendum, dui pede condimentum
odio, ac blandit ante orci ut diam. Cras fringilla magna. Phasellus suscipit, leo a pharetra
condimentum, lorem tellus eleifend magna, eget fringilla velit magna id neque. Curabitur vel urna.
In tristique orci porttitor ipsum. Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Donec libero. Suspendisse bibendum.
Cras id urna. Morbi tincidunt, orci ac convallis aliquam, lectus turpis varius lorem, eu
posuere nunc justo tempus leo.
</p>
<br />
<!-- main ends -->
</div>
<!-- sidebar starts -->
<div id="sidebar">
<h3>Sidebar Menu</h3>
<ul class="sidemenu">
<li><a href="index.html">Home</a></li>
<li><a href="index.html#TemplateInfo">TemplateInfo</a></li>
<li><a href="style.html">Style Demo</a></li>
<li><a href="http://www.styleshout.com/">More Free Templates</a></li>
<li>
<a href="http://www.buywebtemplates.net" title="Web Templates">Web Templates</a></li>
</ul>
<h3>Links</h3>
<ul class="sidemenu">
<li><a href="http://www.psdtuts.com/">PSDTuts</a></li>
<li><a href="http://www.alistapart.com">Alistapart</a></li>
<li><a href="http://www.cssremix.com">CSS Remix</a></li>
<li><a href="http://www.cssmania.com/">CSS Mania</a></li>
</ul>
<h3>Sponsors</h3>
<ul class="sidemenu">
<li><a href="http://www.dreamtemplate.com" title="Website Templates">DreamTemplate <br />
<span>Over 6,000+ Premium Web Templates</span></a>
</li>
<li><a href="http://www.themelayouts.com" title="WordPress Themes">ThemeLayouts <br />
<span>Premium WordPress & Joomla Themes</span></a>
</li>
<li><a href="http://www.imhosted.com" title="Website Hosting">ImHosted.com <br />
<span>Affordable Web Hosting Provider</span>
</a></li>
<li><a href="http://www.dreamstock.com" title="Stock Photos">DreamStock <br />
<span>Download Amazing Stock Photos</span></a>
</li>
<li><a href="http://www.evrsoft.com" title="Website Builder">Evrsoft <br />
<span>Website Builder Software & Tools</span></a>
</li>
<li><a href="http://www.ehostinfo.com/" title="Web Hosting">Web Hosting <br />
<span>Top 10 Hosting Reviews</span></a>
</li>
</ul>
<h3>Wise Words</h3>
<p>"Most of the important things in the world have been accomplished
by people who have kept on trying when there seemed to be no help at all." </p>
<p class="align-right">- Dale Carnegie</p>
<h3>Support Styleshout</h3>
<p>If you are interested in supporting my work and would like to contribute, you are
welcome to make a small donation through the
<a href="http://www.styleshout.com/">donate link</a> on my website - it will
be a great help and will surely be appreciated.</p>
<h3>Search Box</h3>
<form action="#" class="searchform">
<p>
<input name="search_query" class="textbox" type="text" />
<input name="search" class="button" value="Search" type="submit" />
</p>
</form>
<!-- sidebar ends -->
</div>
<!-- content-wrap ends-->
</div>
<!-- footer starts here -->
<div id="footer-wrap"><div id="footer-content">
<div class="col float-left space-sep">
<h3>Resources</h3>
<p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Donec libero. Suspendisse bibendum.
Cras id urna. Morbi tincidunt, orci ac convallis aliquam, lectus turpis varius lorem.</p>
<ul class="col-list">
<li><a href="http://www.dreamtemplate.com" title="Website Templates">DreamTemplate -
<span>Over 6,000+ Premium Web Templates</span></a>
</li>
<li><a href="http://www.themelayouts.com" title="WordPress Themes">ThemeLayouts -
<span> Premium WordPress & Joomla Themes</span></a>
</li>
<li><a href="http://www.imhosted.com" title="Website Hosting">ImHosted.com -
<span>Affordable Web Hosting Provider</span></a>
</li>
<li><a href="http://www.dreamstock.com" title="Stock Photos">DreamStock -
<span>Download Amazing Stock Photos</span></a>
</li>
<li><a href="http://www.evrsoft.com" title="Website Builder">Evrsoft -
<span>Website Builder Software & Tools</span></a>
</li>
<li><a href="http://www.webhostingwp.com" title="Web Hosting">Web Hosting -
<span>Top 10 Hosting Reviews</span></a>
</li>
</ul>
</div>
<div class="col float-left">
<h3>Lorem Ipsum</h3>
<p>
<strong>Lorem ipsum dolor</strong> <br />
Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Donec libero. Suspendisse bibendum.
Cras id urna. Morbi tincidunt, orci ac convallis aliquam, lectus turpis varius lorem, eu
posuere nunc justo tempus leo. Donec mattis, purus nec placerat bibendum, dui pede condimentum
odio, ac blandit ante orci ut diam. <a href="index.html">Read more...</a>
</p>
<ul class="col-list">
<li><a href="index.html">consequat molestie</a></li>
<li><a href="index.html">sem justo</a></li>
<li><a href="index.html">semper</a></li>
<li><a href="index.html">magna sed purus</a></li>
<li><a href="index.html">tincidunt</a></li>
</ul>
</div>
<div class="col2 float-right">
<h3>About</h3>
<p>
<a href="http://getfirefox.com/"><img src="images/thumb.jpg" width="40" height="40" alt="firefox" class="float-left" /></a>
Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Donec libero. Suspendisse bibendum.
Cras id urna. Morbi tincidunt, orci ac convallis aliquam, lectus turpis varius lorem, eu
posuere nunc justo tempus leo. Donec mattis, purus nec placerat bibendum, dui pede condimentum
odio, ac blandit ante orci ut diam.</p>
<p>
Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Donec libero. Suspendisse bibendum.
Cras id urna. <a href="index.html">Learn more...</a></p>
<p>
© copyright 2010 <strong>Your Company Name</strong><br />
Design by <a href="http://www.styleshout.com/">styleshout</a>
| <a href="http://www.ehostinfo.com/">Web Hosting</a></p>
<p>
<a href="index.html">Home</a> |
<a href="index.html">Sitemap</a> |
<a href="index.html">RSS Feed</a> |
<a href="http://jigsaw.w3.org/css-validator/check/referer">CSS</a> |
<a href="http://validator.w3.org/check/referer">XHTML</a>
</p>
</div>
</div></div>
<div class="clearer"></div>
<!-- footer ends here -->
<!-- wrap ends here -->
</div>
</body>
</html>
Related examples in the same category