Two column with banner and top menu : Banner « CSS Controls « HTML / CSS






Two column with banner and top menu

  
<!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>Stylevantage</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'>
/* ------------------------------------------------------

   AUTHOR           :    Erwin Aligam
   WEBSITE          :   http://www.styleshout.com/
   TEMPLATE NAME    :   Stylevantage - orange
   TEMPLATE CODE    :   S-0001
   VERSION          :   1.1
   LAST DATE MOD    :   January 21, 2010

 --------------------------------------------------------- */
 
/* -------------------------------------------------------
   HTML ELEMENTS
---------------------------------------------------------- */

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

body {
  margin: 0; padding: 0;
  font: 12px/160% 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, Sans-Serif;
  background: url(stylevantage-images/headerbg-orange.gif) repeat-x;
  color: #666666;  
  text-align: center;    
}

/* links */
a:link, a:visited {
  background: inherit;
  color: #EC981F;
    text-decoration: none;
}
a:hover {
  background: inherit;
  color: #806B4D;
}

/* headers */
h1, h2, h3 {
  font: bold 1em 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, Sans-Serif;
  color: #555;
}
h1 { font-size: 1.4em; }
h2 { font-size: 1.3em; }
h3 { font-size: 1.2em; font-weight: bold; }

#main h1, #rightbar h1 {
  padding: 10px 0 5px 5px;
  margin: 0 0 10px 10px;
     border-bottom: 1px solid #f2f2f2;
}  
#sidebar h1 {
  padding: 10px 0px 5px 5px;
  margin: 0 0 5px 0;
}

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

/* images */
img {
  background: #FAFAFA;
    border: 1px solid #E4E4E4;
  padding: 8px;
}
img.float-right {
  margin: 5px 0px 5px 15px;  
}
img.float-left {
  margin: 5px 15px 5px 0px;
}

code {
  margin: 5px 0;
  padding: 15px 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: 3px solid #EC981F;
}
acronym {
  cursor: help;
  border-bottom: 1px solid #777;
}
blockquote {
  margin: 15px;
   padding: 5px 5px 5px 32px;
    background: #FAFAFA url(stylevantage-images/quote.gif) no-repeat 5px 10px !important; 
  background-position: 8px 10px;
  border: 1px solid #f2f2f2; 
  border-left: 3px solid #EC981F;  
  font-weight: bold; 
}

/* form elements */
form {
  margin:10px; padding: 5px;
  border: 1px solid #f2f2f2; 
  background-color: #FAFAFA; 
}
label {
  display:block;
  font-weight:bold;
  margin:5px 0;
}
input {
  padding: 4px 5px;
  border:1px solid #eee;
  font-size: 1em;
  color:#777;
}
textarea {
  width:350px;
  padding:4px 5px;
  font-size: 1em;
  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: 5px;
  color: #333;  
}

/* search form */
form.searchform {
  background: transparent;
  border: none;
  margin: 0; padding: 0;  
}
form.searchform input.textbox { 
  margin: 0; 
  width: 120px;
  border: 1px solid #CCC; 
  background: #FFF;
  color: #333; 
  vertical-align: top;
}
form.searchform input.button {
  width: 55px;
  vertical-align: top;
    padding: 2px 5px;
}

/* ----------------------------------
    Layout
------------------------------------- */
#wrap {
  margin: 0 auto;
    width: 850px;
  text-align: left;    
  background: #FFF;  
}
#content-wrap {
  clear:both;
    margin: 0; padding:0;
  width: 850px;  
}

/* header */
#header {
  position: relative;
  background: url(stylevantage-images/headerbg-orange.gif) repeat-x 0 0;
  height: 84px;  
}
#header h1#logo {
  position: absolute;
  margin: 0; padding: 0;
  font: bold 3.5em 'Trebuchet MS', Arial, Sans-serif;
  letter-spacing: -3px;
  color: #CCC;
  text-transform: lowercase;
  /* change the values of top and Left to adjust the position of the logo*/
  top: 0; left: 5px;  
}
#header h2#slogan {
  position: absolute;
  margin: 0; padding: 0;
  font: bold 11px 'Trebuchet MS', Arial, Sans-serif;
  text-transform: none;
  color: #FFF;
  /* change the values of top and Left to adjust the position of the slogan*/
  top: 48px; left:70px;
}
#header .searchform {
  position: absolute;
  top: 5px; right: 3px;
}

/* main column */
#main {
  float: left;
     margin-left: 15px;
  padding: 10px 0 0 5px;
  width: 54%;  
  border-left: 1px solid #f2f2f2;
}

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

/* sideabar */
#sidebar {
  float: left;
  width: 21%;
  margin: 0;  padding: 10px 0 0 0;
  display: inline;  
}
#sidebar ul.sidemenu {
  list-style: none;
  text-align: left;
  margin: 0 0 8px 0;  
  padding: 0;
  text-decoration: none;
    font-size: .9em;
    border-top: 1px solid #EFF0F1;
}
#sidebar ul.sidemenu li {
  border-bottom: 1px solid #EFF0F1;
  background: url(stylevantage-images/arrow.gif) no-repeat 2px 9px;
  padding: 3px 5px 3px 18px;
}

* html body #sidebar ul.sidemenu li { height: 1%; }

#sidebar ul.sidemenu a {
  font-weight: bold;
  background-image: none;
  text-decoration: none;  
}

/* rightbar */
#rightbar {
  float: right;
  width: 21%;
  padding: 10px 0 0 0;
    margin: 0;
}

/* footer */
#footer {
  clear: both;
  background: #FFF url(stylevantage-images/footerbg.gif) repeat-x left top;
  border-top: 1px solid #F2F2F2;
  text-align: center;  
  height: 80px;
    font-size: .9em;
}

#footer a { text-decoration: none; }

/* menu */
#menu {
  clear: both;
  margin: 0; padding: 0;  
}
#menu ul {  
  position: relative; 
  bottom: 4px;
  margin: 0; padding: 0;  
  float: left;
  font: bold 1.1em 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, Sans-Serif;
  width: 850px;/* 775px; */
  border: 1px solid #808080;
  border-width: 0 0 4px 0;  
  list-style: none;
}
#menu ul li{
  display: inline;  
}
#menu ul li a {  
  position: relative; bottom: -4px;
  float: left;
  color: #808080;
  padding: 5px 10px;
  text-decoration: none;
  background: white url(stylevantage-images/menudivide.gif) repeat-y right top; 
  border-bottom: 4px solid #808080;   
}
#menu ul li a:hover{
  color: black;
  background-color: #F3F3F3; 
  border-bottom: 4px solid #FFA600;
}
#menu ul li#current a{
  color: #333;
  background-color: #F3F3F3; 
  border-bottom: 4px solid #FFA600;
}

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

/* display classes */
.clear  { clear: both; }
.block  { display: block; }
.hide   { display: none; }  
.orange { color: #FFA600; }




</style>



</head>

<body>
<!-- wrap starts here -->
<div id="wrap"> 

  <div id="header">  
      
    <h1 id="logo">style<span class="orange">vantage</span></h1>
    <h2 id="slogan">put your site slogan here...</h2>  
    
    <form method="post" class="searchform" action="#">
      <p><input type="text" name="search_query" class="textbox" />
        <input type="submit" name="search" class="button" value="Search" /></p>
    </form>
    
  </div>    
    
  <div id="menu">
    <ul>
      <li id="current"><a href="index.html">Home</a></li>
      <li><a href="index.html">Archives</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>
  
  <!-- content-wrap starts here -->  
  <div id="content-wrap">  
  
      <div id="sidebar">
      
        <h1>Sidebar Menu</h1>
        <ul class="sidemenu">
          <li><a href="index.html">Home</a></li>
          <li><a href="#TemplateInfo">Template Info</a></li>
          <li><a href="#SampleTags">Sample Tags</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>        
            
        <h1>Themes</h1>        
        <ul class="sidemenu">
          <li><a href="index.html">Orange</a></li>
          <li><a href="Green.html">Green</a></li>
          <li><a href="Blue.html">Blue</a></li>
          </ul>
        
        <h1>Site Partners</h1>        
        <ul class="sidemenu">
                    <li><a href="http://www.dreamtemplate.com" title="Website Templates">DreamTemplate</a></li>
                    <li><a href="http://www.themelayouts.com" title="WordPress Themes">ThemeLayouts</a></li>
                    <li><a href="http://www.imhosted.com" title="Website Hosting">ImHosted.com</a></li>
                    <li><a href="http://www.dreamstock.com" title="Stock Photos">DreamStock</a></li>
                    <li><a href="http://www.evrsoft.com" title="Website Builder">Evrsoft</a></li>
                    <li><a href="http://www.ehostinfo.com/" title="Web Hosting">Web Hosting</a></li>
        </ul>
        
        <h1>Wise Words</h1>
        <p>&quot;Keep away from people who try to belittle your ambitions. Small people
        always do that, but the really great make you feel that you, too, can
        become great.&quot;</p>  
        
        <p class="align-right">- Mark Twain</p>
        
      </div>    
  
        <div id="main"> 
        
        <a name="TemplateInfo"></a>
        <h1>Template Info</h1>
        
                <p><strong>Stylevantage</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="post-footer">
          <a href="index.html" class="readmore">Read more</a>
          <a href="index.html" class="comments">Comments (7)</a>
          <span class="date">Sep 15, 2006</span>  
        </p>
        
        <a name="SampleTags"></a>        
        <h1>Sample Tags</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="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="#">  
          <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>More Text</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. Cras fringilla magna.</p>
        
        <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>        
      
      </div>      
  
  <!-- content-wrap ends here -->  
  </div>
  
<!-- wrap ends here -->
</div>    

<!-- footer starts here -->    
    <div id="footer">

            <p>
        &copy; 2010 Your Company |
        Design by <a href="http://www.styleshout.com/">styleshout</a>

                &nbsp;| <a href="http://www.cssportal.com/">CSS Portal&nbsp;</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;

        <a href="index.html">Home</a> |
                <a href="index.html">Sitemap</a> |
                <a href="index.html">RSS Feed</a> |
                <a href="http://validator.w3.org/check?uri=referer">XHTML</a> |
        <a href="http://jigsaw.w3.org/css-validator/check/referer">CSS</a>
      </p>

    </div>  
<!-- footer ends here -->  

</body>
</html>

   
    
  








Related examples in the same category

1.Banner with tab like menu bar
2.Banner with search box
3.Huge banner
4.Split the banner with link list
5.Binder like banner
6.Large banner image
7.Banner header