Search box at the top : Seach box « CSS Controls « HTML / CSS






Search box at the top

  
<!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">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>Chasmogamous by Free CSS Templates</title>
<meta name="keywords" content="" />
<meta name="description" content="" />
<style type='text/css'>
body {
  background:#000000 url(21-Creative-Blot-images/headerBackground.gif) repeat-x;  
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  color: #FFFFFF;
  margin: 0px;
  padding: 0px;
}

textarea {
  width: 220px;
  background: #FFFFFF url(21-Creative-Blot-images/img04.gif) repeat-x;
  border-top: 1px solid #A3A3A3;
  border-right: 1px solid #E5E5E5;
  border-bottom: 1px solid #FFFFFF;
  border-left: 1px solid #D6D6D6;
  font: normal 1em/normal "Trebuchet MS", Arial, Helvetica, sans-serif;
  color: #6E6E6E;
}

h1, h2, h3 {
}

h1, h1 a, h2, h2 a {
  text-decoration: none;
}

h1 a:hover, h2 a:hover {
  text-decoration: underline;
}

h1 {
  font-size: 38px;
}

h2 {
  font-size: 28px;
  font-weight: normal;
}

h3 {
  font-size: 16px;
}

p, ul, ol {
  margin-top: 1.5em;
  line-height: 190%;
}

ul, ol {
  margin-left: 3em;
}

blockquote {
  margin-left: 3em;
  margin-right: 3em;
}

a {
  color: #FFFFFF;
}

a:hover {
  text-decoration: none;
  color: #FFFFFF;
}

a img {
  border: none;
}

img.left {
  float: left;
  margin-right: 20px;
}

img.right {
  float: right;
  margin-right: 20px;
}

hr {
  display: none;
}

#header {
  width: 960px;
  height: 206px;
  margin: 0 auto;
  background: url(21-Creative-Blot-images/header.jpg) no-repeat top left;
}

/* Logo */

#logo {
  width: 870px;
  height: 152px;
  margin: 0 auto;
}

#logo h1, #logo h2 {
  margin: 0;
}

#logo h1 {
  float: left;
  padding-top: 10px;
  padding-left: 20px;
  font-weight: normal;
  text-transform: lowercase;
  font-size:60px;
}

#logo h2 {
  float: left;
  padding-top: 95px;
  text-transform: uppercase;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: bold;
  font-size: 10px;
}

#logo h2, #logo h2 a {
  color: #FFFFFF;
}

#logo a {
  text-decoration: none;
}

/* Menu */

#menu {
  width: 960px;
  margin: 0 auto;
  padding-bottom: 30px;
}

#menu ul {
  margin: 0;
  padding: 23px 0 0 28px;
  list-style: none;
  line-height: normal;
}

#menu li {
  float: left;
  padding: 0 2px 0 2px;
}

#menu li.first a{
  float: left;
  background: #FE0000;
  padding: 9px 20px;
  text-decoration: none;
  text-transform: uppercase;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: bold;
  font-size: 10px;
  color: #FFFFFF;
}

#menu a {
  float: left;
  background: #000000;
  padding: 10px 20px;
  text-decoration: none;
  text-transform: uppercase;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: bold;
  font-size: 10px;
  color: #FFFFFF;
}

#menu a:hover {
  text-decoration: none;
  background: #FE0000;
  padding: 9px 20px;
}

/* Search */

#search {
  float: right;
  width: 200px;
}

#search form {
  margin: 0;
  padding: 0;
  margin-top: -10px;
}

#search fieldset {
  margin: 0;
  padding: 0;
  border: none;
}

#search input {
  border:1px solid #FE0000;
}

#search #s {
  width: 150px;
}

#search #x {
  margin: 0;
  padding: 0;
  width: 30px;
  background: #FE0000;
  border:1px solid #FFFFFF;
  color: #FFFFFF;
  cursor:pointer;
}

/* Banner */

#banner {
  width: 960px;
  margin: 0 auto;
  padding: 8px 0;
}

/* Page */

#page {
  width: 900px;
  margin: 0 auto;
  padding: 45px 35px 0 25px;
}

/* Content */

#content {
  float: left;
  width: 603px;
}

.post {
}

.post .title {
  margin: 0;
  padding: 20px 20px 0 20px;
  background: url(21-Creative-Blot-images/img04.gif) no-repeat left 100%;
  border-bottom: 1px solid #FFFFFF;
}

.post .title a:hover {
  text-decoration: none;
}

.post .entry {
  padding: 0 20px;
}

.post .meta {
  height: 25px;
  margin: 15px 0 20px 0;
  padding: 10px 0 0 20px;
  background: #FE0000;
  line-height: normal;
}

/* Sidebar */

#sidebar {
  float: right;
  width: 250px;
}

#sidebar ul {
  margin: 0;
  padding: 0;
  list-style: none;
  line-height: normal;
}

#sidebar li {
  margin-bottom: 40px;
}

#sidebar li ul {
}

#sidebar li li {
  margin: 0;
  padding: 5px 20px;
}

#sidebar li h2 {
  height: 30px;
  margin-bottom: 15px;
  padding: 5px 0px 0px 20px;
  background: #4E9FC8 url(21-Creative-Blot-images/img03.jpg) no-repeat;
  font-size: 18px;
  color: #FFFFFF;
  text-align:right;
  padding-right:10px;
}

#sidebar li p {
  padding: 0 20px;
}

/* Calendar */

#sidebar #calendar {
  padding: 0;
}

#calendar caption {
}

#calendar table {
  width: 100%;
  padding: 0 20px;
  text-align: center;
}

#calendar thead th {
  border-bottom: 2px solid #F2F2F2;
  border-top: 1px solid #F2F2F2;
}

#calendar tbody td {
  padding: 5px 0;
  border-bottom: 1px solid #F2F2F2;
}

#calendar tfoot td {
  border-top: 1px solid #F2F2F2;
}

#calendar #prev {
  text-align: left;
}

#calendar #next {
  text-align: right;
}

#calendar a {
  font-weight: bold;
}

/* Footer */

#footer {
  clear: both;
  width: 870px;
  height: 50px;
  margin: 0 auto;
  padding: 35px 45px;
  border-top: 4px solid #FEF200;
}

#footer p {
  margin: 0;
  line-height: normal;
  color: #FFFFFF;
}

#footer a {
  color: #FEF200;
}

#footer .legal {
  float: left;
}

#footer .credit {
  float: right;
}

</style>


</head>
<body>
<div id="header">
<div id="logo">
  <h1><a href="#">Creative Blot</a></h1>
  <h2><a href="http://www.flash-templates-today.com">by free flash templates</a></h2>
</div>
<div id="menu">
  <ul>
    <li class="first"><a href="#" accesskey="1" title="">Home</a></li>
    <li><a href="#" accesskey="2" title="">Tutorials</a></li>
    <li><a href="#" accesskey="3" title="">Gallery</a></li>
    <li><a href="#" accesskey="4" title="">About Us</a></li>
    <li><a href="#" accesskey="5" title="">News</a></li>
    <li><a href="#" accesskey="6" title="">Contact</a></li>
  </ul>
  <div id="search">
    <form method="get" action="">
      <fieldset>
      <input id="s" type="text" name="s" value="" />
      <input id="x" type="submit" value="GO" />
      </fieldset>
    </form>
  </div>
</div>
</div><hr />
<!-- start page -->
<div id="page">
  <!-- start content -->
  <div id="content">
    <div class="post">
      <h2 class="title"><a href="#">Welcome to Creative Blot</a></h2>
      <div class="entry">
        <p><img src="21-Creative-Blot-images/img08.jpg" alt="" width="132" height="72" class="left" /> This is <strong>Creative Blot</strong>, a free, fully standards-compliant CSS template designed by <a href="http://www.flash-templates-today.com/">Free CSS Templates</a>.</p>
        <p>This free template is released under a <a href="#">Creative Commons Attributions 2.5</a> license, so you're pretty much free to do whatever you want with it (even use it commercially) provided you keep the links in the footer intact. Aside from that, have fun with it :)</p>
      </div>
      <p class="meta">Posted on January 5, 2008 by <a href="#">Someone</a> &nbsp;|&nbsp; <a href="#">32 comments</a></p>
    </div>
    <div class="post">
      <h2 class="title">Blot Design</h2>
            <h2>FROM Flash-Templates-Today.com DESIGN TEAM</h2>
            <p>This <strong>website template</strong> is repeased under a Creative Commons Attribution 2.5 License<br /><br />
We request you retain the full copyright notice below including the link to www.flash-templates-today.com.
This not only gives respect to the large amount of time given freely by the developers
but also helps build interest, traffic and use of our free and paid designs. If you cannot (for good reason) retain the full copyright we request you at least leave in place the
Website Templates line, with <a href="http://www.flash-templates-today.com">Website Templates</a> linked to www.flash-templates-today.com. If you refuse to include even this then support may be affected.<br /><br />
You are allowed to use this design only if you agree to the following conditions:<br />
- You cannot remove copyright notice from this design without our permission.<br />
- If you modify this design it still should contain copyright because it is based on our work.<br />
- You may copy, distribute, modify, etc... this template as long as link to our website remains untouched.<br /><br />
For support visit <a href="http://www.flash-templates-today.com/contact.php" title="flash templates today contact">http://www.flash-templates-today.com/contact.php</a></p>
      <h2 class="title">What does Flash Template mean?</h2>
            <p><strong>Flash Template</strong> is a ready-made Flash Site that you can download and use for free! <strong>Flash Template</strong> was created by professional and independent designers for you. You need only to make your adjustments and your flash site is ready. If you open .fla file you can easily change the text information and graphics of the site. There's no need to make animation - our designers already did it. After your text and graphics adjustments you need only to upload .swf file to your server and enjoy your ready Flash Site! Using <a href="http://www.flash-templates-today.com" title="Free Flash Templates">Free Flash Templates</a> you can save your time and money!</p>
      <p class="meta">Posted on January 5, 2008 by <a href="#">Someone</a> &nbsp;|&nbsp; <a href="#">32 comments</a></p>
    </div>
  </div>
  <!-- end content -->
  <!-- start sidebar -->
  <div id="sidebar">
    <ul>
      <li>
        <h2>Testimonials</h2>
        <p>QGuys, your templates are super! I can see a team of professionals, who are making really great templates. The design's great and the colors match perfectly, I wanted to download it immediately. Your templates are really great!</p>
      </li>
      <li>
        <h2>Custom Design</h2>
        <p>offers unique and impressive free website templates. Our website templates excite and inspire. The main goal of our customer-oriented company is to make the free websites eye-catching and interactive. Download our free website templates designs now!</p>
      </li>
            <li id="calendar">
        <h2>Calendar</h2>
        <table summary="Calendar">
          <caption>
          November 2008
          </caption>
          <thead>
            <tr>
              <th abbr="Monday" scope="col" title="Monday">M</th>
              <th abbr="Tuesday" scope="col" title="Tuesday">T</th>
              <th abbr="Wednesday" scope="col" title="Wednesday">W</th>
              <th abbr="Thursday" scope="col" title="Thursday">T</th>
              <th abbr="Friday" scope="col" title="Friday">F</th>
              <th abbr="Saturday" scope="col" title="Saturday">S</th>
              <th abbr="Sunday" scope="col" title="Sunday">S</th>
            </tr>
          </thead>
          <tfoot>
            <tr>
              <td abbr="October" colspan="3" id="prev"><a href="http://wordpress.local/?m=200810" title="View posts for October 2008">&laquo; Oct</a></td>
              <td class="pad">&nbsp;</td>
              <td abbr="December" colspan="3" id="next"><a href="http://wordpress.local/?m=200810" title="View posts for December 2008">Dec &raquo;</a></td>
            </tr>
          </tfoot>
          <tbody>
            <tr>
              <td colspan="3" class="pad">&nbsp;</td>
              <td>1</td>
              <td>2</td>
              <td>3</td>
              <td>4</td>
            </tr>
            <tr>
              <td id="today">5</td>
              <td>6</td>
              <td>7</td>
              <td>8</td>
              <td>9</td>
              <td>10</td>
              <td>11</td>
            </tr>
            <tr>
              <td>12</td>
              <td>13</td>
              <td>14</td>
              <td>15</td>
              <td>16</td>
              <td>17</td>
              <td>18</td>
            </tr>
            <tr>
              <td>19</td>
              <td>20</td>
              <td>21</td>
              <td>22</td>
              <td>23</td>
              <td>24</td>
              <td>25</td>
            </tr>
            <tr>
              <td>26</td>
              <td>27</td>
              <td>28</td>
              <td>29</td>
              <td>30</td>
              <td class="pad" colspan="2">&nbsp;</td>
            </tr>
          </tbody>
        </table>
      </li>
    </ul>
  </div>
  <!-- end sidebar -->
  <div style="clear: both;">&nbsp;</div>
</div>
<!-- end page -->
<div id="footer">
  <p class="legal">Copyright (c) 2008 Website Name. All rights reserved. <a href="http://validator.w3.org/check/referer" title="This page validates as XHTML 1.0 Transitional"><abbr title="eXtensible HyperText Markup Language">XHTML</abbr></a> | <a href="http://jigsaw.w3.org/css-validator/check/referer" title="This page validates as CSS"><abbr title="Cascading Style Sheets">CSS</abbr></a></p>
  <p class="credit">Designed by <a href="http://www.flash-templates-today.com/">Free Flash Templates</a> | <a href="http://free-templates.ru/">Free Template</a></p>
</div>
</body>
</html>

   
    
  








Related examples in the same category

1.Seach box floating right
2.Adding search to the header
3.Search box 2
4.Search box layout
5.Search box inside sidebar
6.Search box bar with image background
7.Search box inside sidebar 3
8.Search box
9.Search box 3
10.Search box style
11.Search box with border
12.Search box 4
13.Search box and button
14.Large and wide search box
15.Grey style search box inside left section bar
16.Search box at the top 2