prideandprejudice
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<title>Pride & Prejudice</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<style type='text/css'>
/*PRIDE by Payal Dhar, 2006
(http://writeside.net)*/
*{
padding:0;
margin:0;
outline:0;
}
body{
background:url(prideandprejudice-images/body.jpg) fixed;
color:#737373;
font:0.8em 'Trebuchet MS', Verdana, sans-serif;
}
#wrapper{
margin:0 auto;
width:750px;
}
/*Styles for the header*/
#header{
font-size:3em;
height:234px;
background:url(prideandprejudice-images/header1.jpg) left no-repeat;
border-bottom:3px #D2A675 solid;
text-align:center;
}
.title{
padding:75px;
text-align:center;
}
.small{
font-size:0.5em;
font-style:italic;
}
/*Styles for the mainbar*/
#mainbar{
padding:4px;
text-align:center;
}
#mainbar ul li{
list-style:none;
display:inline;
padding:2px;
}
#mainbar a{
color:#f0f0f0;
text-decoration:none;
padding:4px;
background:#D2A675;
}
#mainbar a:hover{
color:#800000;
}
/*Styles for content area*/
#content{
border-top:3px #D2A675 solid;
background:url(prideandprejudice-images/back.gif);
}
/*Styles for the sidebar*/
#sidebar{
width:25%;
float:left;
margin:10px 5px;
}
#sidebar ul li{
list-style:none;
padding:5px;
}
#sidebar ul li ul{
margin:7px 5px 0px 5px;
font-size:0.9em;
}
#sidebar a{
color:#D2A675/*808080*/; /*In case you think the links are too light, change to the other colour*/
text-decoration:none;
padding:5px;
}
#sidebar a:hover{
color:#800000;
text-decoration:none;
border-bottom:1px solid #800000;
}
#sidebar ul li ul a:hover{
border:0;
}
/*Styles for main text area*/
#text{
float:right;
width:70%;
margin:10px 5px;
}
#text p{
padding:5px 5px 5px 0px;
line-height:1.5em;
}
#text a{
color:#D2A675;
}
#text a:hover{
color:#800000;
}
#text ul{
list-style:none;
padding:5px;
}
#text ul li{
padding-left:15px;
background:url(prideandprejudice-images/bullet.gif) left no-repeat;
}
#text ol{
list-style:lower-roman;
padding:5px 5px 5px 25px;
}
#text img{
padding:2px;
border: 1px solid #D2A675;
}
#text img:hover{
border:1px solid #800000;
}
.left{
float:left;
margin-right:2px;
}
.right{
float:right;
margin-left:2px;
}
#gallery{
clear:both;
border-top:1px solid #707070;
width:100%;
}
#gallery .photos{
width:60%;
float:right;
padding:5px;
}
#gallery .links{
width:35%;
float:left;
padding:5px;
}
#gallery img{
border:1px solid #D2A675;
padding:2px;
margin:10px;
float:left;
}
#gallery img:hover{
border:1px solid #800000;
}
#gallery ul li{
list-style:none;
padding:5px 5px 2px 10px;
}
#gallery a{
color:#808080;
text-decoration:none;
border-bottom: 1px solid #808080;
display:block;
width:100%;
}
#gallery a:hover, a:active{
color:#800000;
text-decoration:none;
border-bottom:1px solid #800000;
}
blockquote{
margin:15px 25px;
padding:5px;
border-right:2px solid #D2A675;
border-left:1px solid #D2A675;
border-top:1px solid #D2A675;
border-bottom:2px solid #D2A675;
}
/*Styles for footer*/
#footer{
clear:both;
text-align:center;
border-top:3px solid #D2A675;
padding:3px;
font-size:0.85em;
}
#footer a{
color:#D2A675;
}
#footer a:hover{
color:#800000;
}
/*Styles for headers*/
#text h1, #gallery h1, #sidebar h1{
background:url(prideandprejudice-images/h1.gif) left no-repeat;
padding:10px 5px 5px 25px;
font-size:1.51em;
}
#text h2, #gallery h2{
font-size:1.2em;
border-bottom:1px solid #737373;
padding:10px 5px 5px 0px;
}
#text h3{
font-size:1em;
padding:10px 5px 5px 0px;
}
#sidebar h1{
font-size:1.2em;
}
#gallery h2{
border:0;
padding:5px 0px;
}
/*Form styles*/
input{
border:1px solid #D2A675;
background:url(prideandprejudice-images/back.gif);
padding:4px;
margin:0 0 4px 4px;
}
input:hover, input:focus{
border:1px solid #800000;
}
textarea{
border:1px solid #D2A675;
padding:4px;
margin:0 0 4px 4px;
}
textarea:hover, textarea:focus{
border:1px solid #800000;
}
</style>
</head>
<body>
<div id="wrapper">
<div id="header">
<div class="title">Pride & Prejudice <span class="small">by Jane Austen</span></div>
</div>
<div id="mainbar">
<ul>
<li><a href="http://www.free-css.com/">Section 1</a></li>
<li><a href="http://www.free-css.com/">Section 2</a></li>
<li><a href="http://www.free-css.com/">Section 3</a></li>
</ul>
</div>
<div id="content">
<div id="sidebar">
<h1>Navigation</h1>
<ul>
<li><a href="http://www.free-css.com/">Home</a>
<ul>
<li>» <a href="http://www.free-css.com/">Sub-item</a></li>
<li>» <a href="http://www.free-css.com/">Sub-item</a></li>
<li>» <a href="http://www.free-css.com/">Sub-item</a></li>
</ul>
</li>
<li><a href="http://www.free-css.com/">Item two</a>
<ul>
<li>» <a href="http://www.free-css.com/">Sub-item</a></li>
<li>» <a href="http://www.free-css.com/">Sub-item</a></li>
<li>» <a href="http://www.free-css.com/">Sub-item</a></li>
</ul>
</li>
<li><a href="http://www.free-css.com/">Item three</a></li>
<li><a href="http://www.free-css.com/">Item four</a></li>
</ul>
<form method="post" action="#">
<h1>Search</h1>
<input type="text" name="name" id="name" size="18%" />
<br />
<input type="submit" value="Submit" alt="Subscribe to our newsletter" />
</form>
</div>
<div id="text">
<h1>About this design</h1>
<p><img class="left" src="prideandprejudice-images/pic.jpg" alt="" />This is my entry for the Favourite Book Design Contest. It is based on Jane Austen's <em>Pride & Prejudice</em>. The photo used in the design is from SXC.hu and there are no restrictions, though I will be happy if you kept the credit.</p>
<h2>An H2 heading</h2>
<p><img class="right" src="prideandprejudice-images/pic.jpg" alt="" />Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Nunc facilisis. Morbi congue dapibus tellus. Nam neque eros, pharetra sit amet, suscipit at, tincidunt sed, justo. Suspendisse euismod ultrices pede. Fusce pede tellus, aliquam at, tincidunt a, ornare id, arcu. Lorem ipsum dolor sit amet, consectetuer adipiscing elit.</p>
<h3>And an H3 heading</h3>
<p>This is a blockquote:</p>
<blockquote> Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Nunc facilisis. Morbi congue dapibus tellus. Nam neque eros, pharetra sit amet, suscipit at, tincidunt sed, justo. Suspendisse euismod ultrices pede. Fusce pede tellus, aliquam at, tincidunt a, ornare id, arcu. Lorem ipsum dolor sit amet, consectetuer adipiscing elit. </blockquote>
<p>An unordered list will look like this...</p>
<ul>
<li>Item one</li>
<li>Item two</li>
<li>Item three</li>
<li>Item four</li>
<li>Item five</li>
</ul>
<p>And an ordered list:</p>
<ol>
<li>Item one</li>
<li>Item two</li>
<li>Item three</li>
<li>Item four</li>
<li>Item five</li>
</ol>
</div>
<div id="gallery">
<h1>Gallery :: A selection of recent photographs</h1>
<div class="photos"> <img src="prideandprejudice-images/sample2.jpg" alt="" /> <img src="prideandprejudice-images/sample2.jpg" alt="" /> <img src="prideandprejudice-images/sample2.jpg" alt="" /> <img src="prideandprejudice-images/sample2.jpg" alt="" /> </div>
<div class="links">
<h2>Browse for more</h2>
<ul>
<li><a href="http://www.free-css.com/">Section title 1</a></li>
<li><a href="http://www.free-css.com/">Section title 2</a></li>
<li><a href="http://www.free-css.com/">Section title 3</a></li>
</ul>
</div>
</div>
<div id="footer"> Design by <a href="http://writeside.net">Payal Dhar</a>, 2006 | <a href="http://validator.w3.org/check?uri=referer" title="Validate XHTML">XHTML</a> | <a href="http://jigsaw.w3.org/css-validator/check/referer" title="Validate CSS">CSS</a> </div>
</div>
</div>
</body>
</html>
Related examples in the same category