Quotations : Quotation « CSS Controls « HTML / CSS






Quotations

  
<!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>

<meta name="Description" content="Information architecture, Web Design, Web Standards." />
<meta name="Keywords" content="your, keywords" />
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<meta name="Distribution" content="Global" />
<meta name="Author" content="Erwin Aligam - ealigam@gmail.com" />
<meta name="Robots" content="index,follow" />

<style type='text/css'>
/* ----------------------------------------------------

   AUTHOR           :    Erwin Aligam
   WEBSITE:       :  http://www.styleshout.com/
   TEMPLATE NAME    :  Envision
   TEMPLATE CODE    :   S-0013
   VERSION          :   1.2
   LAST MODIFIED    :   January 19, 2010

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

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

/* Top Elements */
* { margin: 0; padding: 0; outline: 0 }

body {
  background: #CCC;
  font: 70%/1.6em Verdana, Tahoma, arial, sans-serif;
  color: #555; 
  text-align: center;
}

/* links */
a, a:visited {
  text-decoration: none;
  color: #2180BC;
  background: inherit;
}
a:hover {
  color: #88ac0b;
  background: inherit;
  text-decoration: underline;
}

/* headers */
h1, h2, h3 {
  font-family: 'Trebuchet MS', Tahoma, Sans-serif;       
}
h1 {
  font-size: 150%;  
  font-weight: normal;
  color: #006699;
}
h2 {
  font-size: 140%;
  text-transform: uppercase;
  color: #88ac0b;
}
h3 {
  font-size: 120%;
  color: #666666; 
}

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

h1, h2, h3, p {
  padding: 10px;    
  margin: 0;
}
ul, ol {
  margin: 5px 20px;
  padding: 0 20px;
}

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;  
}
acronym {
  cursor: help;
  border-bottom: 1px dotted #777;
}
blockquote {
  margin: 10px;
   padding: 0 0 0 28px;  
   border: 1px solid #f2f2f2; 
    background: #FAFAFA url(Envision-images/quote.gif) no-repeat 5px 5px;    
}

/* start - table */
table {
  border-collapse: collapse;
  margin: 10px;  
}
th strong {
  color: #fff;
}
th {
  background: #93BC0C;
  height: 29px;
  padding-left: 12px;
  padding-right: 12px;
  color: #FFF;
  text-align: left;
  border-left: 1px solid #B6D59A;
  border-bottom: solid 2px #FFF;
}
tr {
  height: 30px;
}
td {
  padding-left: 11px;
  padding-right: 11px;
  border-left: 1px solid #FFF;
  border-bottom: solid 1px #ffffff;
}
td.first,th.first {
  border-left: 0px;
}
tr.row-a {
  background: #F8F8F8;
}
tr.row-b {
  background: #EFEFEF;
}
/* end - table */

/* form elements */
form {
  margin:10px; padding: 0 5px;
  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:400px;
  padding:2px;
  font: normal 1em Verdana, sans-serif;
  border:1px solid #eee;
  height:100px;
  display:block;
  color:#777;
}
input.button { 
  font: bold 12px Arial, Sans-serif; 
  height: 24px;
  margin: 0;
  padding: 2px 3px; 
  color: #FFF;
  background: #8EB50C url(Envision-images/button-bg.jpg) repeat-x 0 0;
  border: none;
}

/* search form */
.searchform {
  background-color: transparent;
  border: none;  
  margin: 0; padding: 5px 0 15px 0;  
  width: 190px;  
}
.searchform p { margin: 0; padding: 0; }
.searchform input.textbox { 
  width: 120px;
  color: #777; 
  height: 18px;
  padding: 2px;  
  border: 1px solid #E5E5E5;
  vertical-align: top;
}
.searchform input.button { 
  width: 60px;
  height: 24px;
  padding: 2px 5px;
  vertical-align: top;
}

/* -----------------------------------------
   LAYOUT
-------------------------------------------- */
#wrap {
  width: 820px;
  background: #CCC url(Envision-images/content.jpg) repeat-y center top;
  margin: 0 auto;
  text-align: left;
}
#content-wrap {
  clear: both;
  width: 760px;
  padding: 0; 
  margin: 10px auto;
}
#header {
  width: 820px;
  position: relative;
  height: 103px;
  background: #CCC url(Envision-images/header.jpg) no-repeat center top;
  padding: 0;  
  color: #FFF;  
}
#header h1#logo-text a {
  position: absolute;
  margin: 0; padding: 0;
  font: bolder 44px 'Trebuchet MS', Arial, Sans-serif;
  letter-spacing: -2px;
  color: #FFF;
  text-transform: none;
  text-decoration: none;
  background: transparent;
  
  /* change the values of top and left to adjust the position of the logo*/
  top: 25px; left: 47px;  
}
#header p#slogan {
  position: absolute;
  margin: 0; padding: 0;
  font: normal 12px '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: 70px; left: 55px;    
}

/* header links */
#header #header-links {
  position: absolute;
  top: 20px; right: 30px;  
  color: #C6DDEE;
  font-size: 10px;  
}
#header #header-links a {  
  color: #FFF;
  text-decoration: none;  
}
#header #header-links a:hover {
  color: #D4E59F;  
}

/* Menu */
#menu {
  clear: both;  
  margin: 0 auto; padding: 0;
  background: url(Envision-images/menu.jpg) repeat-x 0 0;  
  font: bold 12px/37px Verdana, Arial, Tahoma, Sans-serif;
  height: 37px;
  width: 780px;  
}
#menu ul {
  float: right;
  list-style: none;
  margin:0; padding: 0;
}
#menu ul li {
  display: inline;
}
#menu ul li a {
  display: block;
  float: left;
  padding: 0 12px;
  color: #FFF;  
  text-decoration: none;
}
#menu ul li.last a {
  padding-right: 20px;  
}
#menu ul li a:hover {
  color: #D4E59F;  
}
#menu ul li#current a {  
  color: #D4E59F;
}

/* Main Column */
#main {
  float: left;
  width: 70%;
  padding: 0; margin: 5px 0 0 5px;
  display: inline;
}
#main h2 {
  margin-top: 10px;
  font: Bold 140% 'Trebuchet MS', Tahoma, Sans-serif;
  color: #88ac0b; 
  padding: 5px 0 5px 25px;   
  border-bottom: 1px solid #EFF0F1;
  background: #FFF url(Envision-images/square-green.png) no-repeat 3px 50%;  
  text-transform: none;
}
#main h2 a {
  background: none;
  color: #88ac0b;
  text-decoration: none;
}

#main ul li {
  list-style-image: url(Envision-images/bullet.gif);
}

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

/* Sidebar */  
#sidebar {
  float: right;
  width: 26.5%;
  padding: 0; margin: 0;  
  color: #68774A;  
}  
#sidebar h3 {
  margin-top: 10px;
  padding: 5px 5px; 
  font: bold 1.4em 'Trebuchet MS', Tahoma, Sans-serif;
  color: #728D26;  
}
#sidebar ul.sidemenu {
  list-style: none;
  text-align: left;
  margin: 7px 4px 8px 0; padding: 0;
  text-decoration: none;    
  background: url(Envision-images/dots.jpg) repeat-x left top;
}
#sidebar ul.sidemenu li {
  list-style: none;
  background: url(Envision-images/dots.jpg) repeat-x left bottom;
  padding: 4px 0 4px 5px;
  margin: 0 2px;  
  color: #68774A;  
}
* html body #sidebar ul.sidemenu li {
  height: 1%;
}
#sidebar ul.sidemenu li a {
  text-decoration: none;  
  background-image: none;  
  color: #666666;      
}
#sidebar ul.sidemenu li a:hover {  
  color: #1773BC;  
}
#sidebar ul.sidemenu ul { margin: 0 0 0 5px; padding: 0; }
#sidebar ul.sidemenu ul li { background: none; }


/* Footer */  
#footer {
  color: #C6DDEE;
  background: #CCC url(Envision-images/footer.jpg) no-repeat center top;
  clear: both;
  width: 820px;
  height: 65px;
  text-align: center;  
  font-size: 92%;  
}
#footer a { 
  color: #FFF;
  text-decoration: none; 
}

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

/* display and additional classes */
.clear { clear: both; }


</style>



<title>Envision</title>
  
</head>

<body>
<!-- wrap starts here -->
<div id="wrap">
    
    <!--header -->
    <div id="header">      
        
      <h1 id="logo-text"><a href="index.html">envision</a></h1>    
      <p id="slogan">put your site slogan here...</p>    
      
      <div id="header-links">
      <p>
        <a href="index.html">Home</a> | 
        <a href="index.html">Contact</a> | 
        <a href="index.html">Site Map</a>      
      </p>    
    </div>    
            
    </div>
    
    <!-- menu -->  
    <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 class="last"><a href="index.html">About</a></li>    
      </ul>
    </div>          
      
    <!-- content-wrap starts here -->
    <div id="content-wrap">
        
      <div id="sidebar">
      
        <h3>Search Box</h3>  
        <form action="#" class="searchform">
          <p>
          <input name="search_query" class="textbox" type="text" />
            <input name="search" class="button" value="Search" type="submit" />
          </p>      
        </form>  
          
        <h3>Sidebar Menu</h3>
        <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>
        
      
        <h3>Links</h3>
        <ul class="sidemenu">
          <li><a href="http://www.pdphoto.org/">PDPhoto.org</a></li>
          <li><a href="http://www.squidfingers.com/patterns/">Squidfingers</a></li>
          <li><a href="http://www.alistapart.com">Alistapart</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">
                    <strong>DreamTemplate</strong></a> <br /> Over 6,000+ Premium Web Templates</li>
                    <li><a href="http://www.themelayouts.com" title="WordPress Themes">
                    <strong>ThemeLayouts</strong></a> <br /> Premium WordPress &amp; Joomla Themes</li>
                    <li><a href="http://www.imhosted.com" title="Website Hosting">
                    <strong>ImHosted.com</strong></a> <br /> Affordable Web Hosting Provider</li>
                    <li><a href="http://www.dreamstock.com" title="Stock Photos">
                    <strong>Dreamstock</strong></a> <br /> Download Amazing Stock Photos</li>
                    <li><a href="http://www.evrsoft.com" title="Website Builder">
                    <strong>Evrsoft</strong></a> <br /> Website Builder Software &amp; Tools</li>
                    <li><a href="http://www.ehostinfo.com/" title="Web Hosting">
                    <strong>Web Hosting</strong></a> <br /> Top 10 Hosting Reviews</li>
                </ul>
        
        <h3>Wise Words</h3>
        <div class="left-box">
          <p>&quot;Evaluation of the past is the first step toward 
          vision for the future.&quot; </p>
          
          <p class="align-right">- Chris Widener</p>
        </div>  
        
        <h3>Support Styleshout</h3>
        <div class="left-box">
          <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>              
                
      </div>
        
      <div id="main">
        
        <a name="TemplateInfo"></a>
        <h2><a href="index.html">Template Info</a></h2>
        
                <p><strong>Envision</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 align-right">          
          <a href="index.html" class="readmore">Read more</a>
          <a href="index.html" class="comments">Comments (7)</a>
          <span class="date">Oct 01, 2006</span>  
        </p>
      
        <a name="SampleTags"></a>
        <h2><a href="index.html">Sample Tags</a></h2>
        
        <h3>Code</h3>        
        <p><code>
        code-sample { <br />
        font-weight: bold;<br />
        font-style: italic;<br />        
        }    
        </code></p>  
        
        <h3>Example Lists</h3>
      
        <ol>
          <li>Here is an example</li>
          <li>of an ordered list</li>                
        </ol>  
              
        <ul>
          <li>Here is an example</li>
          <li>of an unordered list</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. Lorem ipsum dolor sit amet, consectetuer adipiscing elit. 
        Donec libero.          
        </p>
        
        <h3>Table Styling</h3>
              
        <table>
          <tr>
            <th class="first"><strong>post</strong> date</th>
            <th>title</th>
            <th>description</th>
          </tr>
          <tr class="row-a">
            <td class="first">04.18.2007</td>
            <td><a href="index.html">Augue non nibh</a></td>
            <td><a href="index.html">Lobortis commodo metus vestibulum</a></td>
          </tr>
          <tr class="row-b">
            <td class="first">04.18.2007</td>
            <td><a href="index.html">Fusce ut diam bibendum</a></td>
            <td><a href="index.html">Purus in eget odio in sapien</a></td>
          </tr>
          <tr class="row-a">
            <td class="first">04.18.2007</td>
            <td><a href="index.html">Maecenas et ipsum</a></td>
            <td><a href="index.html">Adipiscing blandit quisque eros</a></td>
          </tr>
          <tr class="row-b">
            <td class="first">04.18.2007</td>
            <td><a href="index.html">Sed vestibulum blandit</a></td>
            <td><a href="index.html">Cras lobortis commodo metus lorem</a></td>
          </tr>
        </table>
                
        <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>
    
    <!-- content-wrap ends here -->  
    </div>
          
    <!--footer starts here-->
    <div id="footer">
      
            <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>&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>  

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

</body>
</html>

   
    
  








Related examples in the same category

1.Text wraps quotations
2.Quotation style
3.Quotation with quotation mark image
4.Sidebar with links, text and quotations
5.Quotation with background
6.Quotation with left bar
7.Quotation with quotation mark
8.Quotation Example
9.Using content property to add quotation marks to blockquote
10.Using div to create quotation box
11.Content and quotation
12.Quotation on the right, wrap with text
13.Paragraph wraps around quotation
14.Using classes and CSS overrides to create an alternate pull quote
15.Creating pull quotes in CSS
16.Quote with border