Forum Moderators: not2easy
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>This is a test</title>
<link href="styles/temp.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="wrapper">
<div id="header">
<h1><span>Blue Sky Music Camps</span><a href="Home"><img src="images/logo.png" alt="Blue Sky Logo" /></a></h1>
</div>
<div id="inner-wrapper">
<div id="navbar">
<ul>
<li><a href="Home"><span>Home</span></a></li>
<li id="current"><a href="Faculty Info"><span>Faculty Info</span></a></li>
<li><a href="Camps"><span>Camps</span></a></li>
<li><a href="Classes and Schedules"><span>Classes and Schedules</span></a></li>
<li><a href="Register"><span>Register</span></a></li>
</ul>
</div>
<div id="scrollholder" class="scrollholder">
<div id="content" class="scroll"> <span class="title">
<h2>Faculty Info</h2>
</span>
<h5>"This ain't your Mamma's music . . . IT'S YOUR GRANDPA'S!"</h5>
<p>Hello and welcome to Blue Sky Music Camp - The youth summer folk music experience of a lifetime. Come, bring your fiddle, guitar, cello, viola, mandolin, bass, banjo, or singing voice and share in the excitement of Celtic, bluegrass, swing jazz, and other great folk music. Whether you are a beginner or advanced musician - this is the place for you.</p>
<p>Blue Sky Music Camps was founded by brothers Aaron and Brian Ashton.</p>
</div>
</div>
</div>
<div id="footer">
<p>Footer stuff here</p>
</div>
</div>
</body>
</html>
Here's the accompanying CSS:
body, h1, h2, h3, h4, h5, h6, p, ul, li, ol {
margin: 0px;
padding: 0px;
}
img {
border: none;
}
body {
font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
color: #FFFFFF;
text-align: center;
background: #227DCF;
}
#wrapper {
width: 1021px;
height: 700px;
margin: 0 auto;
text-align: left;
background: url("../images/bg-girl.jpg") no-repeat center top;
}
#header {
margin: 0 0 0 70px;
padding-top: 20px;
height: 162px;
}
#header span, .title {
position: absolute;
left: -3000px;
}
#inner-wrapper {
position: relative;
height: 420px;
width: 951px;
top: 50px;
left: 70px;
}
/*Navbar stuff */
#navbar {
/*float:left;*/
width:731px;
/*background:url("../images/navbar_bg.png") repeat bottom;
font-size:100%;
line-height:normal;*/
padding: 5px 15px 0 15px;
height: 39px;
}
#navbar ul {
margin:0;
padding:10px 10px 0;
list-style:none;
}
#navbar li {
display:inline;
margin:0;
padding:0;
}
#navbar a {
float:left;
background:url("../images/left_both.png") no-repeat left top;
margin:0;
padding:0 0 0 9px;
border-bottom:1px solid #765;
text-decoration:none;
}
#navbar a span {
float:left;
display:block;
background:url("../images/right_both.png") no-repeat right top;
padding:5px 15px 4px 6px;
width:.1em;
font-weight:bold;
color:#765;
white-space:nowrap;
}
#navbar > ul a span {width:auto;}
/* Fix IE5-Mac \*/
#navbar a span{float:none;}
/* End fix */
#navbar #current a {
background-position:0 -150px;
border-width:0;
}
#navbar #current a span {
background-position:100% -150px;
padding-bottom:5px;
color:#333;
}
#navbar a:hover {
background-position:0% -150px;
}
#navbar a:hover span {
background-position:100% -150px;
}
/*End navbar stuff */
#content {
background: url("../images/content_bg.png") repeat;
overflow-x:hidden;
padding: 30px 10px 10px 20px;
}
#content p {
line-height: 1.4em;
padding-bottom: .6em;
font-weight: bolder;
margin-right: 30px;
}
#content h3 {
font-weight: bold;
border-bottom: medium solid #FFFFFF;
margin-right: 30px;
font-size: 150%;
padding-top: .5em;
margin-bottom: 5px;
}
#content h5 {
font-size: 130%;
font-weight: normal;
padding-bottom: 1em;
}
#content table {
border-collapse: collapse;
width: 95%;
font-size:90%;
border: 1px solid #FFFFFF;
}
#content td, #content th {
border: 1px solid #FFFFFF;
padding: 0 3px 0 3px;
}
/* Scrolling stuff */
.scrollholder {
position: relative;
width: 620px; height: 420px;
z-index: 1;
}
.scroll {
position: absolute;
left: 0; top: 0;
width: 95%; overflow: auto;
z-index: 2;
}
.track {
position: relative;
float:right;
top: 0;
width: 11px; height: 100%;
font-size: 0;
z-index: 3;
background: #FFFFFF;
}
.drag_bar {
position: absolute;
width: 100%; height: 14px;
cursor: pointer;
z-index: 4;
background: #227DCF;
}
/*End of scrolling stuff*/
#footer {
width: 280px;
height: 60px;
position: relative;
text-align: right;
font-size: 80%;
left: 720px;
top: 35px;
}
#footer p {
font-weight: 900;
}
.clearfloat {
font-size: 1px;
line-height: 0px;
clear: both;
width: 0px;
}
The navbar css is complex because it uses sliding doors. The content div has some minor surrounding div-itis since I'm using a javascript scroll bar for the overflow.
Thanks!