Comments form : Comment « CSS Controls « HTML / CSS






Comments form

  
<!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="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    :   Bright Side of Life
   TEMPLATE CODE    :   S-0005
   VERSION          :   1.1
   LAST DATE MOD    :   January 20, 2010

 ----------------------------------------------------- */

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

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

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

/* links */
a:link, a:visited {
  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 {
  background: #FAFAFA;
    border: 1px solid #DCDCDC;
  padding: 8px;
}
img.float-right {
  margin: 5px 0px 5px 15px;  
}
img.float-left {
  margin: 5px 15px 5px 0px;
}

code {
  margin: 5px 0;
  padding: 10px 15px;
  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: 5px 10px 5px 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;
    font-style: italic;
}

/* 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: 3px 5px;
  border:1px solid #eee;
  font: normal 1em Verdana, sans-serif;
  color:#777;
}
textarea {
  width:300px;
  padding: 3px 5px;
  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: 5px 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-photo {
  border: none;
  padding: 0;
}


/* header */
#header {
  position: relative;
  height: 85px;  
  background: #000 url(BrightSide-images/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(BrightSide-images/clock.gif) no-repeat left center;
  padding-left: 20px; margin: 0 10px 0 5px;
}
.post-footer .comments {
  background: url(BrightSide-images/comment.gif) no-repeat left center;
  padding-left: 20px; margin: 0 10px 0 5px;
}
.post-footer .readmore {
  background: url(BrightSide-images/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:3px 5px 3px 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:3px 5px 3px 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:link, #footer a:visited  {
  text-decoration: none;
  font-weight: normal;
}
#footer a:hover {
  color: #333;
}
#footer .footer-left{
  float: left;
  width: 45%;
}
#footer .footer-right{
  float: right;
  width: 50%;
}

/* 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(BrightSide-images/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(BrightSide-images/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>
<!-- wrap starts here -->
<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="#">
      <p><input type="text" name="search_query" class="textbox" />
        <input type="submit" name="search" class="button" value="Search" /></p>
    </form>
      
    <!-- Menu Tabs -->
    <ul>
      <li id="current"><a href="index.html"><span>Home</span></a></li>
      <li><a href="index.html"><span>News</span></a></li>
      <li><a href="index.html"><span>Downloads</span></a></li>
      <li><a href="index.html"><span>Services</span></a></li>
      <li><a href="index.html"><span>Support</span></a></li>
      <li><a href="index.html"><span>About</span></a></li>      
    </ul>  
                          
  </div>  

  <!-- content-wrap starts here -->
  <div id="content-wrap">    
                      
  <img src="images/headerphoto.jpg" width="820" height="120" alt="headerphoto" class="header-photo" />
    
    <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>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;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</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">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="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>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>      
      
  <!-- content-wrap ends here -->    
  </div>

<!-- footer starts here -->  
<div id="footer">
  
  <div class="footer-left">
    <p class="align-left">      
    2010 Company Name |Design by <a href="http://www.styleshout.com/">
    styleshout</a>|
    <a href="http://www.cssportal.com/">CSS Portal</a>

    </p>    
  </div>
  
  <div class="footer-right">
    <p class="align-right">
    <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/referer">XHTML</a> |
    <a href="http://jigsaw.w3.org/css-validator/check/referer">CSS</a>
    </p>
  </div>
  
</div>
<!-- footer ends here -->
  
<!-- wrap ends here -->
</div>

</body>
</html>

   
    
  








Related examples in the same category

1.Post comment layout
2.Sidebar with latest comments
3.Comments form 2
4.Read more and comments bar
5.Comments form 3
6.Comments form 4
7.Comments form 5
8.Comments form 6
9.Comments form template
10.Comments form with background
11.Post by date
12.Contact information panel
13.?Add Comments.doc
14.Comments Form 7
15.Read more and comments
16.Comments form 8
17.Read more and comment links
18.Comment form
19.Comments form 9
20.Comment links below the summary