brightsideoflife1.0 : Design 3 « Templates « HTML / CSS






brightsideoflife1.0

     

<!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>Bright Side of Life</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<style type='text/css'>
/********************************************
   AUTHOR:        Erwin Aligam 
   WEBSITE:         http://www.styleshout.com/
  TEMPLATE NAME:   Bright Side of Life
   TEMPLATE CODE:   S-0005
   VERSION:          1.0            
 *******************************************/ 
 
/********************************************
   HTML ELEMENTS
********************************************/ 

/* top elements */
* { padding: 0; margin: 0; }

body {
  margin: 0;
  padding: 0;
  font: .70em/1.5em  Verdana, Tahoma, Helvetica, sans-serif;
  color: #666666; 
  background: #A9BAC3 url(bg.gif) repeat-x;
  text-align: center;
}

/* links */
a { 
  color: #4284B0;
  background-color: inherit;
  text-decoration: none;
}
a:hover {
  color: #9EC068;
  background-color: inherit;
}

/* headers */
h1, h2, h3 {
  font: bold 1em 'Trebuchet MS', Arial, Sans-serif;
  color: #333;  
}
h1 { font-size: 1.5em; color: #6297BC; } 
h2 { font-size: 1.4em; text-transform:uppercase;}
h3 { font-size: 1.3em; }

p, h1, h2, h3 {
  margin: 10px 15px;
}
ul, ol {
  margin: 10px 30px;
  padding: 0 15px;
  color: #4284B0;
}
ul span, ol span {
  color: #666666; 
}

/* images */
img {
  border: 2px solid #CCC;
}
img.no-border {
  border: none;
}
img.float-right {
  margin: 5px 0px 5px 15px;  
}
img.float-left {
  margin: 5px 15px 5px 0px;
}
a img {  
  border: 2px solid #568EB6;
}
a:hover img {  
  border: 2px solid #CCC !important; /* IE fix*/
  border: 2px solid #568EB6;
}

code {
  margin: 5px 0;
  padding: 10px;
  text-align: left;
  display: block;
  overflow: auto;  
  font: 500 1em/1.5em 'Lucida Console', 'courier new', monospace;
  /* white-space: pre; */
  background: #FAFAFA;
  border: 1px solid #f2f2f2;  
  border-left: 4px solid #4284B0; 
}
acronym {
  cursor: help;
  border-bottom: 1px solid #777;
}
blockquote {
  margin: 15px;
   padding: 0 0 0 20px;    
    background: #FAFAFA;
  border: 1px solid #f2f2f2; 
  border-left: 4px solid #4284B0;   
  color: #4284B0;
  font: bold 1.2em/1.5em Georgia, 'Bookman Old Style', Serif; 
}

/* form elements */
form {
  margin:10px; padding: 0;
  border: 1px solid #f2f2f2; 
  background-color: #FAFAFA; 
}
label {
  display:block;
  font-weight:bold;
  margin:5px 0;
}
input {
  padding: 2px;
  border:1px solid #eee;
  font: normal 1em Verdana, sans-serif;
  color:#777;
}
textarea {
  width:300px;
  padding:2px;
  font: normal 1em Verdana, sans-serif;
  border:1px solid #eee;
  height:100px;
  display:block;
  color:#777;
}
input.button { 
  margin: 0; 
  font: bold 1em Arial, Sans-serif; 
  border: 1px solid #CCC;
  background: #FFF; 
  padding: 2px 3px; 
  color: #4284B0;  
}

/* search form */
form.searchform {
  background: transparent;
  border: none;
  margin: 0; padding: 0;
}
form.searchform input.textbox { 
  margin: 0; 
  width: 120px;
  border: 1px solid #9EC630; 
  background: #FFF;
  color: #333; 
  height: 14px;
  vertical-align: top;
}
form.searchform input.button { 
  margin: 0; 
  padding: 2px 3px; 
  font: bold 12px Arial, Sans-serif; 
  background: #FAFAFA;
  border: 1px solid #f2f2f2;
  color: #777;  
  width: 60px;
  vertical-align: top;
}

/***********************
    LAYOUT
************************/
#wrap {
  background: #FFF;
  width: 820px; height: 100%;
  margin: 0 auto;  
  text-align: left;
}
#content-wrap {
  clear: both;
  margin: 0; padding: 0;  
  background: #FFF;
}

/* header */
#header {
  position: relative;
  height: 85px;  
  background: #000 url(headerbg.gif) repeat-x 0% 100%;  
}
#header h1#logo {
  position: absolute;
  margin: 0; padding: 0;
  font: bolder 4.1em 'Trebuchet MS', Arial, Sans-serif;
  letter-spacing: -2px;
  text-transform: lowercase;
  top: 0; left: 5px;  
}
#header h2#slogan {
  position: absolute;   
  top:37px; left: 95px;
  color: #666666;
  text-indent: 0px;
  font: bold 11px Tahoma, 'trebuchet MS', Sans-serif; 
  text-transform: none;  
}
#header form.searchform {
  position: absolute;
  top: 0; right: -12px;  
}

/* main */
#main {
  float: left;
  margin-left: 15px;
  padding: 0;
  width: 50%;    
}

.post-footer {
  background-color: #FAFAFA;
  padding: 5px; margin: 20px 15px 0 15px;
  border: 1px solid #f2f2f2;
  font-size: 95%;  
}
.post-footer .date {
  background: url(clock.gif) no-repeat left center;
  padding-left: 20px; margin: 0 10px 0 5px;
}
.post-footer .comments {
  background: url(comment.gif) no-repeat left center;
  padding-left: 20px; margin: 0 10px 0 5px;
}
.post-footer .readmore {
  background: url(page.gif) no-repeat left center;
  padding-left: 20px; margin: 0 10px 0 5px;
}

/* sidebar */
#sidebar {
  float: left;
  width: 23%;
  margin: 0;  padding: 0; 
  display: inline;    
}
#sidebar ul.sidemenu {
  list-style:none;
  margin:10px 0 10px 15px;
  padding:0;    
}
#sidebar ul.sidemenu li {
  margin-bottom:1px;
  border: 1px solid #f2f2f2;
}
#sidebar ul.sidemenu a {
  display:block;
  font-weight:bold;
  color: #333;  
  text-decoration:none;  
  padding:2px 5px 2px 10px;
  background: #f2f2f2;
  border-left:4px solid #CCC;  
  
  min-height:18px;
}

* html body #sidebar ul.sidemenu a { height: 18px; }

#sidebar ul.sidemenu a:hover {
  padding:2px 5px 2px 10px;
  background: #f2f2f2;
  color: #339900;
  border-left:4px solid #9EC630;
}

/* rightbar */
#rightbar {
  float: right;
  width: 23%;
  padding: 0; margin:0;    
}

/* Footer */
#footer { 
  clear: both; 
  color: #FFF; 
  background: #A9BAC3; 
  border-top: 5px solid #568EB6;
  margin: 0; padding: 0; 
  height: 50px;    
  font-size: 95%;    
}
#footer a { 
  text-decoration: none; 
  font-weight: bold;  
  color: #FFF;
}
#footer .footer-left{
  float: left;
  width: 65%;
}
#footer .footer-right{
  float: right;
  width: 30%;
}

/* menu tabs */
#header ul {
  z-index: 999999;
  position: absolute;
   margin:0; padding: 0;
   list-style:none;
  right: 0; 
  bottom: 6px !important; bottom: 5px;
  font: bold 13px  Arial, 'Trebuchet MS', Tahoma, verdana,  sans-serif;  
}
#header li {
   display:inline;
   margin:0; padding:0;
}
#header a {
   float:left;
   background: url(tableft.gif) no-repeat left top;
   margin:0;
   padding:0 0 0 4px;
   text-decoration:none;
}
#header a span {
   float:left;
   display:block;
   background: url(tabright.gif) no-repeat right top;
   padding:6px 15px 3px 8px;
   color: #FFF;
}
/* Commented Backslash Hack hides rule from IE5-Mac \*/
#header a span {float:none;}
/* End IE5-Mac hack */
#header a:hover span {
  color:#FFF;
}
#header a:hover {
   background-position:0% -42px;
}
#header a:hover span {
   background-position:100% -42px;
}
#header #current a {
   background-position:0% -42px;
  color: #FFF;
}
#header #current a span {
   background-position:100% -42px;
  color: #FFF;
}
/* end menu tabs */

/* alignment classes */
.float-left  { float: left; }
.float-right {  float: right; }
.align-left  {  text-align: left; }
.align-right {  text-align: right; }

/* additional classes */
.clear { clear: both; }
.green {  color: #9EC630; }
.gray  {  color: #BFBFBF; }


</style>


</head>
<body>
<div id="wrap">
  <div id="header">
    <h1 id="logo">bright<span class="green">side</span>of<span class="gray">life</span></h1>
    <h2 id="slogan">Put your company slogan here...</h2>
    <form method="post" class="searchform" action="http://www.free-css.com/">
      <p>
        <input type="text" name="search_query" class="textbox" />
        <input type="submit" name="search" class="button" value="Search" />
      </p>
    </form>
    <ul>
      <li id="current"><a href="http://www.free-css.com/"><span>Home</span></a></li>
      <li><a href="http://www.free-css.com/"><span>News</span></a></li>
      <li><a href="http://www.free-css.com/"><span>Downloads</span></a></li>
      <li><a href="http://www.free-css.com/"><span>Services</span></a></li>
      <li><a href="http://www.free-css.com/"><span>Support</span></a></li>
      <li><a href="http://www.free-css.com/"><span>About</span></a></li>
    </ul>
  </div>
  <div id="content-wrap"> <img src="brightsideoflife1.0-images/headerphoto.jpg" width="820" height="120" alt="headerphoto" class="no-border" />
    <div id="sidebar" >
      <h1>Sidebar Menu</h1>
      <ul class="sidemenu">
        <li><a href="http://www.free-css.com/">Home</a></li>
        <li><a href="#TemplateInfo">Template Info</a></li>
        <li><a href="#SampleTags">Sample Tags</a></li>
        <li><a href="http://www.free-css.com/">More Free Templates</a></li>
        <li><a href="http://www.free-css.com/">Premium Templates</a></li>
      </ul>
      <h1>Site Partners</h1>
      <ul class="sidemenu">
        <li><a href="http://www.free-css.com/">Dreamhost</a></li>
        <li><a href="http://www.free-css.com/">4templates</a></li>
        <li><a href="http://www.free-css.com/">TemplateMonster</a></li>
        <li><a href="http://www.free-css.com/">Fotolia.com</a></li>
        <li><a href="http://www.free-css.com/">Text Link Ads</a></li>
      </ul>
      <h1>Wise Words</h1>
      <p>&quot;Men are disturbed, not by the things that happen, but by their opinion of the things that happen.&quot;</p>
      <p class="align-right">- Epictetus</p>
    </div>
    <div id="main"> <a name="TemplateInfo"></a>
      <h1>Template <span class="green">Info</span></h1>
      <p><strong>Bright Side of Life 1.0</strong> is a free, W3C-compliant, CSS-based website template by <strong><a href="http://www.styleshout.com/">styleshout.com</a></strong>. 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 include a link back to <a href="http://www.styleshout.com/">my website</a> in your credits.</p>
      <p>For more free designs, you can visit <a href="http://www.styleshout.com/">my website</a> to see my other works.</p>
      <p>Good luck and I hope you find my free templates useful!</p>
      <p class="post-footer align-right"> <a href="http://www.free-css.com/" class="readmore">Read more</a> <a href="http://www.free-css.com/" class="comments">Comments (7)</a> <span class="date">Oct 15, 2006</span> </p>
      <a name="SampleTags"></a>
      <h1>Sample <span class="green">tags</span></h1>
      <h3>Code</h3>
      <p><code> code-sample { <br />
        font-weight: bold;<br />
        font-style: italic;<br />
        } </code></p>
      <h3>Example Lists</h3>
      <ol>
        <li><span>example of ordered list</span></li>
        <li><span>uses span to color the numbers</span></li>
      </ol>
      <ul>
        <li><span>example of unordered list</span></li>
        <li><span>uses span to color the bullets</span></li>
      </ul>
      <h3>Blockquote</h3>
      <blockquote>
        <p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat....</p>
      </blockquote>
      <h3>Image and text</h3>
      <p><a href="http://getfirefox.com/"><img src="brightsideoflife1.0-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. Aliquam ornare diam iaculis nibh. Proin luctus, velit pulvinar ullamcorper nonummy, mauris enim eleifend urna, congue egestas elit lectus eu est. </p>
      <h3>Example Form</h3>
      <form action="http://www.free-css.com/">
        <p>
          <label>Name</label>
          <input name="dname" value="Your Name" type="text" size="30" />
          <label>Email</label>
          <input name="demail" value="Your Email" type="text" size="30" />
          <label>Your Comments</label>
          <textarea rows="5" cols="5"></textarea>
          <br />
          <input class="button" type="submit" />
        </p>
      </form>
      <br />
    </div>
    <div id="rightbar">
      <h1>Support Styleshout</h1>
      <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>
      <h1>Lorem Ipsum</h1>
      <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.</p>
    </div>
  </div>
  <div id="footer">
    <div class="footer-left">
      <p class="align-left"> &copy; 2006 <strong>Company Name</strong> | Design by <a href="http://www.styleshout.com/">styleshout</a> | Valid <a href="http://validator.w3.org/check/referer">XHTML</a> | <a href="http://jigsaw.w3.org/css-validator/check/referer">CSS</a> </p>
    </div>
    <div class="footer-right">
      <p class="align-right"> <a href="http://www.free-css.com/">Home</a>&nbsp;|&nbsp; <a href="http://www.free-css.com/">SiteMap</a>&nbsp;|&nbsp; <a href="http://www.free-css.com/">RSS Feed</a> </p>
    </div>
  </div>
</div>
</body>
</html>

   
    
    
    
    
  








Related examples in the same category

1.blankspace
2.Blasphemy
3.blended
4.blewwave
5.blootoon
6.blush
7.boardroom
8.BOOM
9.boorish
10.boosting
11.bordered
12.boswell
13.bounderies
14.boxedtype
15.boxes_template
16.boxybox
17.branches
18.breaking_ontop
19.brewedcoffee
20.brightfolio
21.Broadcaster
22.broadsheet
23.brycesunrise
24.bucolic
25.burgeon
26.buzz
27.BW
28.bwdec2007
29.calliope
30.callofduty2
31.candiiclouds
32.cantya-studio
33.canuckington-post
34.canvass
35.capricious
36.capsicum
37.carbonated
38.carbonizer
39.carlmelon
40.caronline
41.carrera
42.castellated
43.catch_info
44.cattleya
45.center-stage
46.COIL
47.col1
48.col2
49.col3
50.collaboration
51.collectiveblue
52.collegemusic
53.colorus
54.colosseum
55.columna
56.combination
57.ComingSoon
58.commission
59.communication-1.0
60.communication-co
61.communication
62.community-live
63.compiled
64.complete-collection
65.complimentary
66.component
67.compressed
68.compromise
69.compus
70.conceptnova
71.concrete
72.concurrence
73.condition
74.conglomerate
75.conjunction
76.connection
77.connections
78.consulting-co
79.contemplate
80.convergence
81.cookiefusion
82.Copy of modify
83.corporattica
84.Cosmopolitan
85.counterstrike
86.cover
87.coverage
88.coxswain
89.creamburn
90.crisp2
91.criterion
92.crystalblack
93.css-heaven-1
94.cssgallery
95.cssheaven-2
96.cssmajesty
97.cubismo
98.cultivated
99.cultureshock
100.cupofcoffee
101.customary
102.customize
103.cyano
104.cyanspark
105.cyberarray
106.daleri-mega
107.daleri-structure
108.dalmatians
109.danmyaz1
110.dapple
111.david-kruger
112.deardiary
113.decorative
114.deepimpact
115.deerpark
116.dekada
117.delta
118.delzep_enterprise
119.description
120.deserted
121.desertsand
122.design-gallery
123.design-studio
124.design10
125.Design9
126.designersstudio
127.designersworld
128.designgalo
129.designhq
130.designstudio
131.Design_Agency
132.deskspace
133.detachable
134.deviation
135.devision
136.dewdrops
137.dezinstudio
138.didactic
139.Did_My_Time
140.differential
141.digitalweb
142.dimension
143.diminishing
144.dirtylicious
145.disambiguation
146.discovery
147.distillate
148.distinctive
149.diversity
150.DJ