Tab menu bar with round corner
<!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-AU">
<head>
<title>black.orange</title>
<meta http-equiv="content-type" content="application/xhtml; charset=UTF-8" />
<style type='text/css'>
/*
Name:
Description:
Author: will rossiter
Copyright: Its a FREE template but i would like if you left this notice here :D
*/
/***Misc Tags***/
* {
margin: 0px;
padding: 0px;
}
body {
background: #fff url(black.orange-Image/bodybg.png) repeat-x;
font-family: Verdana, Arial, sans-serif;
font-size: 16px;
color: #000;
text-align: center;}
a img{
border: 0px;}
a {
text-decoration: none;}
.hidden {
text-indent: -9000px;
background: inherit;}
/***Header/logo tags***/
#header {
width: 850px;
margin: 0 auto;
height: 180px;
border-top: 1px solid #000;}
#logo {
float: left;
margin-left: 10px;
margin-top: 10px;
width: 250px;}
#logo h1,#logo h2 {
font-weight:400;
letter-spacing:-2px;
}
#logo h1 {
font-size:2.4em;
padding-top:10px;
color: #F58220;
}
#logo h2 {
font-size:1.3em;
color: #a0a0a0;
}
/***Top Navigation - try not to findle this took me a while to work out and get right***/
#topnav {
margin-top:105px;
margin-left: 300px}
#topnav a{
display: block;
float: left;
text-align: center;
width: 95px;
height: 35px;
line-height: 35px;
text-decoration: none;
color: #a0a0a0;
text-transform: uppercase;
font-size: 0.7em;
background-image:url(black.orange-Image/tab.png);
background-position:bottom left;
background-repeat:no-repeat;}
#topnav a:hover {
background-image:url(black.orange-Image/tab.png);
color: #000;
background-position:top left;
background-repeat:no-repeat;}
#topnav .active {
background-image:url(black.orange-Image/tab.png);
color: #000;
background-position:top left;
background-repeat:no-repeat;}
/***MAIN CONTENT (WHITE) AREA***/
#content {
clear: both;
text-align: left;
width: 650px;
margin: 20px auto 0 auto;
padding: 5px;
width: 655px;}
#content h2{
padding-left: 8px;
font-size: 1.2em;
text-transform: uppercase;
margin-left: 15px;
letter-spacing:-1px;
margin-bottom: 10px;
color: #F58220;}
#content p {
font-size: 0.8em;
line-height: 1.5em;
color: #8f8f8f;}
#content p a{
color: #324A97;}
#content p a:hover {
color: #fff;
background: #324A97;}
#content blockquote {
margin: 15px;
border: 1px solid #b0b0b0;
padding: 10px;
width: 500px;
background: #f4f4f4;
font-size: 0.8em;
font-family: Courier, "Lucidia Console", "Times New Roman", sans-serif;
color: #a0a0a0;}
#content abbr {
border-bottom: 1px dotted #8f8f8f;}
/***Random stuff Area***/
#latest {
width: 100%;
background: #333333 url(black.orange-Image/bg2.png) repeat-x;
font-size: 0.7em;
padding-top: 80px;
}
#container2 {
clear: both;
background: #333333;
text-align: left;
width: 650px;
color: #fff;
margin: 0 auto;}
#container2 h3{
font-size: 1.2em;
text-transform: uppercase;
margin-left: 10px;
letter-spacing:-1px;
margin-bottom: 10px;
color: #F58220;}
.name {
color: #c0c0c0;
}
.blocklinks {
width: 320px;
float: left;
background: #333333;}
.blocklinks a.link {
display: block;
padding: 10px;
background: inherit;
color: #fff;
border-top: 1px dotted #a0a0a0;
}
.blocklinks a:hover.link {
color: #DDD;
background: #525252;
border-top: 1px dotted #a0a0a0;
}
#articles {
width: 320px;
float: right;
background: #333333;}
/***FOOTER***/
#footer {
width: 100%;
clear: both;
text-align: center;
background: #333333;
font-size: 0.8em;
margin-top: 105px;
color: #a0a0a0;}
</style>
</head>
<body>
<!--HEADER/LOGO-->
<div id="header">
<div id="logo">
<h1>black.orange</h1>
<h2>I love fruit. Its good for you</h2>
</div>
<!--TAB NAVIGATION-->
<div id="topnav">
<a href="#" class="active">Home</a><!--Use class="active" to show where user is-->
<a href="#">Portfolio</a>
<a href="#">Blog</a>
<a href="#">Templates</a>
<a href="#">Contact</a>
</div>
</div>
<!--MAIN CONTENT-->
<div id="content">
<h2>Welcome - A short about ›</h2>
<p>Okay this design was not meant for open-release as a template (but I will release it :) so it may not be the easiest design to edit. Contact me @ <a href="mailto:will.rossiter@gmail.com">will.rossiter[at]gmail[dot]com</a> if you have any troubles. And no doubt - someone will. :P. If anyone wants to mod this to <a href="http://wordpress.com/">WordPress</a> or <a href="http://textpattern.com/">Textpattern</a> They can and I wish them luck.<br/>
</p>
<br />
<p>The header looks a bit funny because I did have a picture there but due to the rules I replaced it with normal text. The uploaded document "index.html" was checked and found to be valid XHTML 1.0 Strict.</p>
<br />
<br />
<h2>Some filler text</h2>
<p>
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
</p>
<br />
<blockquote><p>Go the block quote !! Put some example code or something here</p></blockquote>
<p>Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit</p>
<br />
<p> sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem. Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla pariatur?</p>
</div>
<!--OUCH DID I NEED SO MANY DIVS HERE..:P..-->
<div id="latest">
<div id="container2">
<div id="randomcrap">
<!--LEFT LINKS-->
<div class="blocklinks">
<h3>Links ›</h3>
<a href="http://www.openwebdesign.org" class="link"><span class="name">Open Web Design.org</span> - free templates and a forum full of talent and friendly people</a>
<a href="http://www.oswd.org" class="link"><span class="name">OSWD.org</span> - free templates and helpful people</a>
<a href="http://www.stylegala.com" class="link"><span class="name">StyleGala</span> - busy forum full of advice bout webdesign</a>
<a class="link" href="http://www.ehostinfo.com/"><span class="name">Web
Hosting</span> - Web Hosting Directory</a></div>
</div>
<!--LASTEST ARTICLES-->
<div id="articles">
<div class="blocklinks">
<h3>Latest Articles ›</h3>
<a href="#" class="link">will.r releases new template</a>
<a href="#" class="link">My dog ate the neighbours cat</a>
<a href="#" class="link">Google takes over the world</a>
<a href="#" class="link">Well goodluck editing this</a>
</div>
</div>
</div>
<!--THE FOOTER-->
<div id="footer">
<p>Copyright © 2005 willr Webdesign</p>
</div>
</div>
</body>
</html>
Related examples in the same category