This seems to work better, but it's guess work:
index-2.html:
Code:
<!--Website created by www.timandjerry.com-->
<!doctype html>
<html>
<head>
<meta charset="UTF-8">
<meta name="author" content="www.timandjerry.com">
<link rel="stylesheet" href="css/styles-2.css" type="text/css" >
<title>NOW+GENERATION</title>
</head>
<body>
<div id="header">
<!--test nav-->
<div id="navigation">
<ul id="nav-left">
<li><a href="index.html" class="current">Home</a></li>
<li><a href="about.html">About</a></li>
</ul>
<ul id="nav-right">
<li><a href="video.html">Video</a></li>
<li><a href="social.html">Social</a></li>
</ul>
<div id="logo" style="left:30%; ">
<a href="index.html" target="_top"><img src="images/logo.png" style="width:40%" alt="NOW+GEN"></a>
</div>
</div>
<!--test nav-->
</div>
<h1>Lorem du ples me como leromes oaf los ochos marones</h1>
</body>
</html>
styles-2.css
Code:
/*
Design by Tim Howe & Jerremy Jacob
http://timandjerry.com
*/
body {
background: #09c;
}
#header {
position: fixed;
top: 0px;
left: 0px;
right:0px;
height:200px; background-image:url(../images/header-background.jpg);
background-repeat: repeat-x;
background-position: top;
}
#navigation {
width:100%;
text-align: center; margin-left:auto;
margin-right:auto;
}
#nav-left {
float:left;
display:inline-block;margin-left: 20%
}
#nav-right {
float:right;
display:inline-block;margin-right: 20%
}
a {
color: #999999;
text-transform:uppercase;
text-decoration: none;
padding:6px 10px 6px 10px;
font-family:"Courier New", Courier, monospace;
font-size:25px;
}
a:hover, a.current {
color: #F96728;
}
li {
display:inline-block;
margin-top:13px;
}
#logo {
position: absolute; width: 40%; top:20px}
h1 {
margin-top:300px;
margin-bottom:800px;
}
Bookmarks