Banner with search box : Banner « CSS Controls « HTML / CSS






Banner with search box

  

<!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>TechJunkie</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 : TechJunkie
  Template Code : S-0024
  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 {
  background: #f3ebe0 url(TechJunkie-images/bg.gif) repeat-x;
  font: 12px/170% 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
  color: #666666; 
  text-align: center;  
}

/* links */
a, a:visited {  
  color: #306495;
  background: inherit;
  text-decoration: none;
}
a:hover {
  color: #73471B;
  background: inherit;
  text-decoration: underline;
}

/* headers */
h1, h2, h3 {
  font-family: 'Trebuchet MS', 'Helvetica Neue', Arial, Sans-serif;
  font-weight: Bold;   
  padding: 10px;    
  color: #444;  
}
h1 {
  font-size: 2.2em;    
}
h2 {
  font-size: 2em;
  color: #88ac0b;
}
h3 {
  font-size: 1.4em;
  font-weight: normal;  
  padding: 16px 10px 4px 10px;
}

/* Paragraph */
p { padding: 12px 10px;  }

/* Lists */
ul, ol {
  margin: 10px 20px;
  padding: 0 20px;  
}
ul { list-style: none; }

dl { padding: 10px; margin: 0; }

dt {
  font-weight: bold;
  color: #79A62E;
}
dd {
  padding-left: 25px; 
}

/* images */
img {
  background: #fafafa;
   border: 1px solid #dcdcdc;
  padding: 7px;
}
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; */
    border: 1px solid #deedae; 
  background: #F0FFD2; 
}
acronym {
  cursor: help;
  border-bottom: 1px dotted #895F30;
}
blockquote {
  margin: 15px 10px;
   padding: 5px 7px 5px 40px;    
   font-weight: normal;
  font-size: 17px;
  line-height: 1.6em;
  font-style: italic;
  font-family: Georgia, 'Times New Roman', Times, serif;    
  color: #80614D;  
  border: 1px solid #DFF4B5; 
  background: #F0FFD2 url(TechJunkie-images/quote.gif) no-repeat 7px 10px;
}

/* start - table */
table {
  border-collapse: collapse;
  margin: 15px 10px;    
}
th {
  height: 38px;
  padding-left: 12px;
  padding-right: 12px;
  color: #fff;
  text-align: left;
  background: #ADD163;  
  border-width: 1px;
    border-style: solid;
    border-color: #C4DE8F #93C138 #93C138 #C4DE8F;  
}
tr {
  height: 34px;
  background: #fff;
}
td {
  padding-left: 11px;
  padding-right: 11px;
  border: 1px solid #E7F0CC;  
}  
/* end - table */

/* form elements */
form {
  margin: 15px 10px; 
  padding: 5px 10px 20px 10px;
  border: 1px solid #D8E99E; 
  background: #deedae;   
}
label {
  display: block;
  font-weight: bold;
  margin: 8px 0 5px 0;
  color: #895F30;
}
input, textarea, select {
  padding: 4px;
  color: #666666;    
  background: #fff;
  
    border-width: 1px;
    border-style: solid;
    border-color: #d4d4d4 #ebebeb #ebebeb #d4d4d4; 
  
  font: normal 11px Verdana, sans-serif;
}
textarea {
  width: 400px;  
  height: 100px;
  display: block;  
}
input.button { 
  font: bold 12px Arial, Sans-serif; 
  height: 30px;
  margin: 0;
  padding: 2px 3px; 
  color: #fff;
  background: #A6CD56;
  
  border-width: 1px;
    border-style: solid;
    border-color: #C4DE8F #8DB836 #8DB836 #C4DE8F;
}


/********************************************
   LAYOUT
********************************************/ 
#wrap {
  position: relative;
  width: 920px;
  background: #edf8c7 url(TechJunkie-images/wrap.gif) repeat-y center top;
  margin: 35px auto;
  text-align: left;  
}
#content-wrap {
  position: relative;
  clear: both;
  float: left;  
  width: 920px;  
  padding: 25px 0;   
  background: #edf8c7 url(TechJunkie-images/content.gif) repeat-y;  
}
#header {
  position: relative;
  width: 920px;
  height: 205px;
  background: #317cb1 url(TechJunkie-images/header.gif) no-repeat;  
  color: #fff;  
  padding: 0;  
  margin: 0;
}
#header h1#logo-text a {
  position: absolute;
  margin: 0; padding: 0;
  font: bold 56px 'Trebuchet MS', 'Helvetica Neue', Arial, Sans-serif;
  letter-spacing: -3px;
  text-decoration: none;
  color: #fff;
  
  /* change the values of top and left to adjust the position of the logo*/
  top: 58px; left: 55px;  
}
#header p#slogan {
  position: absolute;
  margin: 0; padding: 0;
  font: bold 15px 'Trebuchet MS', 'Helvetica Neue', Arial, Sans-serif;
  color: #D6EBAB;
  letter-spacing: -0.5px;
  
  /* change the values of top and left to adjust the position of the slogan*/
  top: 122px; left: 135px;    
}

/* header quick search */
#header form#quick-search {
  position: absolute;
  top: 75px; right: 55px;
  padding: 0; margin: 0;
  border: none;
  width: 223px; height: 33px;
  background: #82c7f4 url(TechJunkie-images/header-search.gif) no-repeat;  
  z-index: 999999;
}
#header form#quick-search p {
  margin: 0; padding: 0;    
}
#header form#quick-search input {
  border: none;
  background: transparent;
  color: #0e5792;
  float: left;
}
#header form#quick-search .tbox {
  margin: 5px 0 0 5px; 
  width: 170px;  
  display: inline;  
}
#search form#quick-search .btn{
  width: 25px; height: 25px;    
}
#header form#quick-search label {
  display: none;
}

/* Navigation */
#nav {
  clear: both;  
  padding: 0;  margin: 0;
  width: 920px;
  height: 50px;
  background: #0e609e url(TechJunkie-images/nav.gif) no-repeat;    
}
#nav ul {
  float: left;
  list-style: none;  
  margin: 0;
  padding: 0 0 0 40px;      
  height: 50px;  
}
#nav ul li {
  display: inline;
  margin: 0; padding: 0;
}
#nav ul li a {
  display: block;
  float: left;
  width: auto;
  margin: 0;
  padding: 0 14px;
  color: #fff;
  font: bold 16px/50px 'Trebuchet MS', 'Helvetica Neue', Arial, sans-serif;
  text-decoration: none;  
  letter-spacing: -0.5px;
}
#nav ul li a:hover, 
#nav ul li a:active {
  color: #edf8c7;  
}
#nav ul li#current a {  
  background: #0c4e80 url(TechJunkie-images/pointer.gif) no-repeat center bottom;  
  color: #93DAFF;
}

/* Main Column */
#main {
  float: left;
  width: 525px;
  padding: 0; margin: 0 0 0 45px;
  display: inline;  
}
#main h2 {
  font: bold 2.25em 'Trebuchet MS', 'Helvetica Neue', Arial, Sans-serif;
  color: #115280; 
  padding: 10px 0 5px 5px;   
  margin-left: 5px;    
  letter-spacing: -1px;
  border-bottom: 1px solid #D2E9A4;
}
#main h2 a {
  color: #115280;
  text-decoration: none;    
}
#main ul li {
  list-style-image: url(TechJunkie-images/bullet.gif);
}

#sidebar {
  float: right;
  width: 270px;
  padding: 0; 
  margin: 0 45px 0 0;
  display: inline;  
}
#sidebar h3 {
  color: #115280; 
  font: normal 1.6em 'Trebuchet MS', 'Helvetica Neue', Arial, Sans-serif;
  text-transform: none;
  padding: 10px 0 2px 0; 
  margin: 10px 0 0 10px; 
}

/* sidebar menu */
#sidebar .sidemenu {
  margin: 5px 10px 8px 7px; padding: 0;
  text-decoration: none;    
  border-top: 2px solid #D0E89F;
}
#sidebar .sidemenu li {
  list-style: none;
  margin: 0;
  padding: 7px 10px;       
  border-bottom: 1px solid #DAEBA3;  
}
* html body #sidebar .sidemenu li {
  height: 1%;
}
#sidebar .sidemenu li a {
  text-decoration: none;  
  color: #684F3E;
}
#sidebar .sidemenu li a span {
  color: #A98D76;  
  font-size: .9em;
  
  font-family: Georgia, 'Times New Roman', Times, serif;
  font-style: italic;
  font-weight: normal;    
}
#sidebar .sidemenu li a:hover {  
  color: #000;  
  background: none;  
}
#sidebar .sidemenu ul { margin: 0 0 0 5px; padding: 0; }
#sidebar .sidemenu ul li { border: none; }

/* search form */
#sidebar .searchform {
  background-color: transparent;
  border: none;  
  margin: 0 0 0 5px; 
  padding: 10px 0 10px 10px;  
  width: 260px;  
}
#sidebar .searchform p { margin: 0; padding: 0; }
#sidebar .searchform input.textbox { 
  width: 180px;
  height: 18px;
  padding: 2px;  
  vertical-align: top;
}
#sidebar .searchform input.button { 
  width: 60px;
  height: 24px;
  padding: 2px 4px;
  vertical-align: top;
}

/* footer */
#footer-wrap {
  clear: both;
  width: 920px;
  text-align: left;
  padding: 0;  margin: 0;
  background: url(TechJunkie-images/footer-bottom.gif) no-repeat left bottom;    
}
#footer-content {
  width: 920px;
  background: url(TechJunkie-images/footer-top-sep.gif) no-repeat;  
  padding: 30px 0 35px 0;
}

#footer-wrap p {
  padding:10px 0;
}
#footer-wrap h3 {
  color: #145F94; 
  margin: 0;
  padding: 5px 0 5px 10px; 
  text-transform: uppercase;
}
#footer-wrap a:hover { 
  color: #000; 
  text-decoration: none;
}

#footer-columns {
  color: #888;
  margin: 0 auto; 
  padding: 0;  
  width: 800px;    
}
#footer-columns ul {
  list-style: none;
  margin: 0; 
  padding: 0;  
  border-top: 1px solid #BFD286;
}
#footer-columns li {
  border-bottom: 1px solid #CCDA9E;    
}
#footer-columns li a {
  display: block;
  font-weight: normal;
  padding: 8px 0 8px 10px;
  width: 96%;
  color: #666666;  
}

#footer-columns .col3, .col3-center {
  float: left;
  width: 32%;
}
#footer-columns .col3-center { 
  margin: 0 15px; 
}

/* bottom */
#footer-bottom {
  clear: both;
  color: #555;  
  margin: 0 auto; 
  width: 920px;
  padding: 15px 0 10px 0;
  text-align: center;  
  font-size: 0.95em;
}
#footer-bottom a { color: #306495; }

/* postmeta */
.post-footer {
  padding: 8px 5px; 
  margin: 5px 10px 10px 10px;  
  color: #A2745D;
  border: 1px solid #deedae; 
  background: #F0FFD2;
}
.post-footer .date{ margin: 0 10px 0 5px;  }
.post-footer a.comments { margin: 0 10px 0 5px;  }
.post-footer a.readmore { margin: 0 10px 0 5px;  }

.post-info { font-size: .95em; padding: 0 10px; margin-left: 2px; color: #A98D76; }
.post-info a, .post-info a:visited { color: #9C652E; }

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

/* clearing */
.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="">techjunkie</a></h1>    
    <p id="slogan">put your site slogan here...</p>    
      
    <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" alt="Search" type="image" name="searchsubmit" title="Search" src="images/search.gif" />
      </p>
    </form>  
      
  <!--header ends-->          
  </div>
    
  <!-- navigation starts-->  
  <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>
  <!-- navigation ends-->  
  </div>          
      
  <!-- content-wrap starts -->
  <div id="content-wrap">
  
    <div id="main">
        
      <a name="TemplateInfo"></a>
      <h2><a href="index.html" title="">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>TechJunkie</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">May 20, 2007</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>When I have fully decided that a result 
      is worth getting I go ahead of it and 
      make trial after trial until it comes.</p>
      <p class="align-right"> - Thomas A. Edison</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>      

    <!-- main ends -->  
    </div>
        
    <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.freephotos.se/">FreePhotos.se</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 &amp; 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 &amp; 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>Search Box</h3>  
      <form class="searchform" action="index.html" method="get">
        <p>
        <input name="search_query" class="textbox" type="text" />
          <input name="search" class="button" value="Search" type="submit" />
        </p>      
      </form>  
        
      <h3>Wise Words</h3>
      <p>&quot;When I have fully decided that a result 
      is worth getting I go ahead of it and 
      make trial after trial until it comes.&quot; </p>
          
      <p class="align-right">- Thomas A. Edison</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>      
            
    <!-- sidebar ends -->    
    </div>    
    
  <!-- content-wrap ends-->  
  </div>
    
  <!-- footer starts -->    
  <div id="footer-wrap"><div id="footer-content">
  
    <div id="footer-columns">  
      <div class="col3">
        <h3>Tincidunt</h3>
        <ul>
          <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="col3-center">
        <h3>Sed purus</h3>
        <ul>
          <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="col3">
        <h3>Praesent</h3>
        <ul>
          <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>
    <!-- footer-columns ends -->
    </div>  
  
    <div id="footer-bottom">
      <p>
      &copy; 2010 <strong>Your Company</strong> &nbsp;&nbsp;&nbsp;&nbsp;
      Design by <a href="http://www.styleshout.com/">styleshout</a> |
      <a href="http://www.ehostinfo.com/">Web Hosting</a> |
      Valid <a href="http://validator.w3.org/check?uri=referer">XHTML</a> | 
      <a href="http://jigsaw.w3.org/css-validator/check/referer">CSS</a>
      
           &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
      
      <a href="index.html">Home</a>&nbsp;|&nbsp;
           <a href="index.html">Sitemap</a>&nbsp;|&nbsp;
           <a href="index.html">RSS Feed</a>
           </p>
    </div>  

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

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

</body>
</html>

   
    
  








Related examples in the same category

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