stylish
<!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>
<title>Stylish</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type='text/css'>
* { padding:0; margin:0; }
body {
background-color:#1e1e1e;
background-image:url(stylish-images/bg.jpg);
background-repeat:repeat-x;
font-family:Georgia, "Times New Roman", Times, serif;
font-size:12px;
}
a:link { color:#CCCCCC; text-decoration: none; }
a:visited { color: #CCCCCC; text-decoration: none; }
a:hover { text-decoration: underline; color: #CCCCCC; }
a:active { text-decoration: underline; color: #CCCCCC; }
#wrapper {
width:797px;
margin:0 auto;
}
#top {
width:797px;
}
#lefta {
width: 400px;
float: left;
}
#rightcolumn {
width:397px;
float:right;
}
#logo {
background-repeat:no-repeat;
height:50px;
width:540px;
font-family:Verdana, Arial, Helvetica, sans-serif;
font-size:18px;
font-weight:bold;
color:#FFFFFF;
}
#logo span {
position: relative;
left:0px;
top: 60px;
color:#FFFFFF;
}
#logo a:hover {
text-decoration:none;
}
#searchform {
float:right;
margin-top:60px;
margin-left: 10px;
}
.search {
background-color:#1e1e1e;
background-image:url(stylish-images/input.png);
background-repeat:no-repeat;
height:29px;
width:190px;
border:none;
padding-top:6px;
overflow:hidden;
padding-left: 5px;
}
.submit {
background-image:url(stylish-images/button.png);
background-repeat:no-repeat;
vertical-align:top;
height:29px;
width:27px;
border:none;
}
#rss {
background-image:url(stylish-images/rss.png);
background-repeat:no-repeat;
height:45px;
width:42px;
float:left;
margin-top:9px;
clear:both;
}
#rss a {
display:block;
height:45px;
}
#rss a:hover {
background-image:url(stylish-images/rssover.png);
background-repeat:no-repeat;
height:45px;
width:42px;
}
#rss a span { display:none; }
#nav {
background-image:url(stylish-images/nav.png);
background-repeat:no-repeat;
height:45px;
width:755px;
float:right;
margin-top:9px;
list-style:none;
}
#nav li {
float:left;
}
#nav li a {
display:block;
background-image:url(stylish-images/rollover.png);
background-repeat:no-repeat;
width:93px;
height:45px;
line-height:45px;
text-align:center;
text-decoration:none;
color:#1e1e1e;
}
#nav li a:hover {
background:url(stylish-images/rollover.png) no-repeat 0 -45px;
color:#fb4e00;
text-decoration:none;
}
#subnav {
background-image:url(stylish-images/subnav.png);
background-repeat:no-repeat;
height:37px;
width:797px;
list-style:none;
clear:both;
}
#subnav li {
float:left;
margin-top:10px;
}
#subnav li a {
color:#FFF;
height:17px;
width:80px;
text-align:center;
text-decoration:none;
display:block;
}
#subnav li a:hover {
text-decoration:underline;
}
#banner {
background-image:url(stylish-images/banner.png);
background-repeat:no-repeat;
height:74px;
width:548px;
margin-top:8px;
float:left;
text-align:left;
font-family:Verdana, Arial, Helvetica, sans-serif;
font-size:18px;
color:#FFFFFF;
}
#banner span {
position:relative;
left: 40px;
top: 25px;
color:#FFFFFF;
}
#banner a {
display:block;
height:74px;
text-decoration:none;
}
#banner a:hover {
text-decoration: none;
}
#left {
width:548px;
float:left;
overflow: hidden;
}
.leftpost {
height:255px;
width:106px;
margin-top:10px;
float:left;
overflow:hidden;
}
.rightpost {
float:right;
width:442px;
margin-top:10px;
}
.info {
background-image:url(stylish-images/cbg.png);
background-repeat:no-repeat;
height:255px;
width:106px;
}
.cpost {
background-image:url(stylish-images/cbg2.png);
min-height: 255px;
max-height:none;
width:442px;
clear:both;
}
.rss2 {
background-image:url(stylish-images/rss2.png);
background-repeat:no-repeat;
height:35px;
width:548px;
margin-top:5px;
float:left;
}
.rss2 a {
display:block;
height:35px;
text-decoration:none;
}
.rss 2 a:hover {
text-decoration:none;
}
.rss2 span {
position: relative;
left: 15px;
top: 9px;
font-family:Geneva, Arial, Helvetica, sans-serif;
text-decoration:underline;
text-transform:uppercase;
color:#999999;
}
h2 {
font-family:Georgia, "Times New Roman", Times, serif;
font-size:18px;
color:#FFF;
padding-top:19px;
padding-left:14px;
}
h3 {
font-family:Georgia, "Times New Roman", Times, serif;
font-size:16px;
colour: #fff;
}
.post {
font-family:Georgia, "Times New Roman", Times, serif;
font-size:11px;
color:#FFF;
padding-top:19px;
padding-left:14px;
padding-right:14px;
}
.callender {
height:64px;
width:78px;
padding-left:20px;
padding-top:20px;
}
.date {
width:64px;
height:30px;
text-align:center;
}
.month {
width:64px;
height:48px;
text-align:center;
}
.comments {
font-family:Georgia, "Times New Roman", Times, serif;
font-size:11px;
color:#FFF;
padding-left:14px;
}
.extra {
font-family:Georgia, "Times New Roman", Times, serif;
font-size:11px;
color:#FFF;
padding-left:14px;
margin-top:15px;
}
.button {
background-image:url(stylish-images/button2.png);
background-repeat:no-repeat;
height:28px;
width:78px;
border:none;
text-align:center;
color:#fb4e00;
margin-left:14px;
margin-top:60px;
}
#righta {
width:237px;
float:right;
overflow: hidden;
}
#atop {
background-image:url(stylish-images/header.png);
background-repeat:no-repeat;
height:52px;
width:237px;
line-height:48px;
padding-left:12px;
margin-top:8px;
color:#FFF;
font-weight:bold;
overflow: hidden;
}
.color {
color:#fb4e00;
}
#acontent {
background-image:url(stylish-images/bg2.png);
background-repeat:repeat-y;
width:237px;
text-align:center;
padding:2px 0 20px 0;
}
#afoot a {
color: #000000;
}
#afoot {
background-image:url(stylish-images/footer.png);
background-repeat:no-repeat;
height:54px;
width:237px;
}
#leftc {
float:left;
width:100px;
margin-left:37px;
padding-top:20px;
}
#rightc {
float:right;
padding-right:22px;
padding-top:20px;
}
.btop {
background-image:url(stylish-images/header.png);
background-repeat:no-repeat;
height:52px;
width:237px;
line-height:48px;
padding-left:12px;
margin-top:8px;
color:#FFF;
font-weight:bold;
}
.bcontent {
background-image:url(stylish-images/bg2.png);
background-repeat:repeat-y;
width:237px;
font-size:11px;
text-align:left;
line-height:23px;
padding:2px 0 0 25px;
}
.bcontent a {
color: #000000;
}
.bfoot {
background-image:url(stylish-images/footer2.png);
background-repeat:no-repeat;
height:12px;
width:237px;
}
.float-left { float: left; padding-right: 5px; }
.float-right { float: right; padding-left: 5px; }
img {
border: 0px;
}
blockquote {
margin: 15px; padding: 0 0 0 20px;
background-color:#FAFAFA;
background-position: 8px 10px;
border-left: 5px solid #666666;
font: bold 1.2em/1.5em "Trebuchet MS", Tahoma, sans-serif;
color: #000000;
font-style:italic;
margin-right: 5px;
}
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-left: 5px solid #666666;
margin-right:5px;
color: #000000;
}
table {
border-collapse: collapse;
margin: 10px 15px;
}
th {
background-image:url(stylish-images/chrome.png); background-repeat:repeat-x;
height: 20px;
padding-left: 11px;
padding-right: 11px;
color: #000;
text-align: left;
border-left: 1px solid #FFFFFF;
border-right: 1px solid #FFFFFF;
}
tr {
height: 30px;
border-right: 1px solid #FFFFFF;
background-color: #000000;
}
td {
padding-left: 11px;
padding-right: 11px;
/* border-left: 1px solid #FFE1C3; */
border-left: 1px solid #FFF;
border-bottom: solid 1px #ffffff;
border-right: 1px solid #FFFFFF;
background-color: #FAFAFA;
}
td.first,th.first {
border-left: 0px;
background-color: #e4fffb;
}
tr.row-a {
background: #F8F8F8;
background-color: #e4fffb;
}
tr.row-b {
background: #EFEFEF;
background-color: #e4fffb;
}
strong {
color: #FFFFFF;
}
#footer {
width: 802;
height: 37px;
background-image:url(stylish-images/footer.gif);
background-repeat:no-repeat;
background-position:center;
clear:both;
text-align:center;
padding-top: 15px;
}
#footer span {
font-size:16px;
color:#666666;
}
</style>
</head>
<body>
<div id="wrapper">
<div id="top">
<div id="lefta">
<div id="logo"><a href="http://www.free-css.com/"><span>Stylish</span></a></div>
</div>
<div id="right">
<form method="get" id="searchform" action="http://www.free-css.com/">
<div>
<input value="search archives" class="search" onfocus="if(this.value = 'Search...') { this.value = 'Search is currently disabled.'; }" type="text">
<input class="submit" value="" type="submit">
</div>
</form>
</div>
</div>
<div id="rss"><a href="http://www.free-css.com/"><span>Subsribe to our RSS Feed</span></a></div>
<ul id="nav">
<li><a href="http://www.free-css.com/">Home</a> </li>
<li><a href="http://www.free-css.com/">About</a></li>
<li><a href="http://www.free-css.com/">Services</a></li>
<li><a href="http://www.free-css.com/">Portfolio</a> </li>
<li><a href="http://www.free-css.com/">Contact</a></li>
<li><a href="http://www.free-css.com/">Sean Pollock</a></li>
</ul>
<ul id="subnav">
<li><a href="http://www.free-css.com/">Sublink 1</a></li>
<li><a href="http://www.free-css.com/">Sublink 2</a></li>
<li><a href="http://www.free-css.com/">Sublink 3</a></li>
<li><a href="http://www.free-css.com/">Sean Pollock </a></li>
<li><a href="http://www.free-css.com/">TemplateFusion</a></li>
<li></li>
</ul>
<div id="banner"><a href="http://www.free-css.com/"><span>Free Websites Templates and Webmaster Articles!</span></a></div>
<div id="righta">
<div id="atop">Featured <span class="color">Project</span></div>
<div id="acontent"><img src="stylish-images/img.png" alt="preview"></div>
<div id="afoot">
<div id="leftc"><a href="http://www.free-css.com/">Live Preview</a></div>
<div id="rightc"><a href="http://www.free-css.com/">Download</a></div>
</div>
<div class="btop">Recent <span class="color">Posts</span></div>
<div class="bcontent">
<ul>
<li><a href="http://www.free-css.com/">Visit TF for Great Articles</a></li>
<li><a href="http://www.free-css.com/">Visit TF for Great Articles</a></li>
<li><a href="http://www.free-css.com/">Visit TF for Great Articles</a></li>
<li><a href="http://www.free-css.com/">Visit TF for Great Articles</a></li>
<li><a href="http://www.free-css.com/">Visit TF for Great Articles</a></li>
<li><a href="http://www.free-css.com/">Visit TF for Great Articles</a></li>
</ul>
</div>
<div class="bfoot"></div>
<div class="btop">Recent <span class="color">Comments</span></div>
<div class="bcontent">
<ul>
<li><a href="http://www.free-css.com/">Wow, TF's Articles are Awseome!</a></li>
<li><a href="http://www.free-css.com/">Wow, TF's Articles are Awseome!</a></li>
<li><a href="http://www.free-css.com/">Wow, TF's Articles are Awseome!</a></li>
<li><a href="http://www.free-css.com/">Wow, TF's Articles are Awseome!</a></li>
<li><a href="http://www.free-css.com/">Wow, TF's Articles are Awseome!</a></li>
<li><a href="http://www.free-css.com/">Wow, TF's Articles are Awseome!</a></li>
</ul>
</div>
<div class="bfoot"></div>
<div class="btop">Featured <span class="color">Sites</span></div>
<div class="bcontent">
<ul>
<li><a href="http://www.free-css.com/">Sean Pollock</a></li>
<li><a href="http://www.free-css.com/">Learn Poetry</a></li>
<li><a href="http://www.free-css.com/">Ajax Powered Whois Tool</a></li>
<li><a href="http://www.free-css.com/">TemplateFusion</a></li>
<li><a href="http://www.free-css.com/">Tutorial Fusion</a></li>
<li><a href="http://www.free-css.com/">PC: Safety Center</a></li>
</ul>
</div>
<div class="bfoot"></div>
</div>
<div id="left">
<div class="leftpost">
<div class="info">
<div class="callender">
<div class="date">23rd</div>
<div class="month">
<h3>Nov.</h3>
</div>
</div>
<p class="comments"><strong>Comments:</strong></p>
<p class="comments">1337</p>
<p class="extra"><strong>Posted in:</strong><br>
template info</p>
<input class="button" value="comment" type="button">
</div>
</div>
<div class="rightpost">
<div class="cpost">
<h2>Stylish - A Free CSS Template by TemplateFusion.org</h2>
<p class="post">This is a free template released by Template Fusion for personal or commercial use. It is licensed under the <a rel="license" href="http://creativecommons.org/licenses/by/2.5/ca/">Creative Commons Attribution 2.5 Canada License</a>. That pretty much means you can use it in any way you want, but you MUST have "attribution" to TemplateFusion in the form of a link in your footer. However you can get permission for legal copyright removal, it costs a mere 10 dollars.</p>
</div>
</div>
<div class="rss2"><a href="http://www.free-css.com/"><span>If You Liked This Post, Please Subscribe To Our RSS Feed!</span></a></div>
<div class="leftpost">
<div class="info">
<div class="callender">
<div class="date">23rd</div>
<div class="month">
<h3>Nov.</h3>
</div>
</div>
<p class="comments"><strong>Comments:</strong></p>
<p class="comments">1337</p>
<p class="extra"><strong>Posted in:</strong><br>
updates</p>
<input class="button" value="comment" type="button">
</div>
</div>
<div class="rightpost">
<div class="cpost">
<h2>Extra Formatting Examples</h2>
<p class="post"><strong>Images Aligned With Text<br>
</strong><a href="http://www.free-css.com/"><img src="stylish-images/templatefusion.jpg" alt="" class="float-left" height="120" width="120"></a> Aligning images to the left of text can be visually appealing, and it can act as a visual aid for the article of text being read. It is simple to align images to text using this template. If you want to align an image to the right of your text, simply add class="float-right" to you <img> tag.. If you want to align the imaeg to the left of your text, add class="float-left" in your <img> tag. If you dont understand, look at the source code. </p>
<p class="post"><strong>Blockquotes<br>
</strong> </p>
<blockquote>A blockquote is meant to seperate a quote or important part of text from the main text body. A stylish blockquote does that with flair.</blockquote>
<p class="post"><strong>Code</strong><br>
<code> code-sample {<br>
font-family:Georgia, "Times New Roman", Times, serif;<br>
margin: 15px; padding: 0 0 0 20px;<br>
} </code> </p>
<p class="post"><strong>Tables</strong><br>
</p>
<table>
<tbody>
<tr>
<th>post date</th>
<th>title</th>
<th>description</th>
</tr>
<tr>
<td>04.18.2007</td>
<td>Augue non nibh</td>
<td>Lobortis commodo </td>
</tr>
<tr>
<td>04.18.2007</td>
<td>Fusce ut diam </td>
<td>Purus in eget odio </td>
</tr>
<tr>
<td>04.18.2007</td>
<td>Maecenas et ipsum</td>
<td>Adipiscing blandit </td>
</tr>
<tr>
<td>04.18.2007</td>
<td>Sed vestibulum blandit</td>
<td>Cras lobortis commodo</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="rss2"><a href="http://www.free-css.com/"><span>If You Liked This Post, Please Subscribe To Our RSS Feed!</span></a></div>
</div>
</div>
<div id="footer"> <span>Copyright © 2007 MySite.com • <a href="http://templatefusion.org">Design by Templatefusion.org</a></span></div>
</body>
</html>
Related examples in the same category