Forum Moderators: open
<html>
<head>
<link rel="stylesheet" type="text/css" href="CSS.css" />
</head>
<body>
<div id="bg"><img src="background.jpg"></div>
<div id="body">
<h1>My Site</h1>
<table class="tab">
<tr>
<td><a href="My site.html">Home</a></td>
<td><a href="My site 2.html">Forms</a></td>
<td><a href="http://www.google.com/">Google</a></td>
<td><a href="http://www.google.com/">Google</a></td>
</tr>
</table>
</div>
</body>
</html>
#bg {
position: fixed;
margin: 0px;
border: 0px;
padding: 0px;
left: 0px;
top: 0px;
width: 100%;
height: 100%;
overflow: hidden;
z-index: -1;
}
#bg img {
width: 100%;
}
#body {
margin: 0 auto;
top: 0%;
width: 900px;
height:98%;
padding: 0px;
z-index: 1;
background-color: 9C0011;
-moz-opacity: 0.6;
filter: Alpha(Opacity=60);
opacity:0.60;
-khtml-opacity:0.60;
}
h1 {
background-image:url('banner-with-logo.jpg');
background-repeat:no-repeat;
color:transparent;
font-size:36pt;
height: 75px;
width: 900px;
}
hr {
color:black;
}
table.tab {
background-color: white;
width: 900px;
border: 6px inset red;
cellspacing: 0;
cellpadding: 0;
}
table.tab td{
border: 2px solid red;
width: 75px;
align: center;
text-align: center;
}
a:link {
color:black;
}
a:visited {
color:black;
}
a:hoover {
color:blue;
}
a:active {
color:blue;
}
lower case and underscore is what he always tells me
[edited by: tedster at 5:22 pm (utc) on Apr 4, 2011]
<!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">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>My Site</title>
<link rel="stylesheet" type="text/css" href="CSS.css" />
<!--[if IE]>
<style type="text/css">
#body {
margin: 0 auto;
top: 0%;
width: 900px;
height:98%;
padding: 0px;
z-index: 1;
background-color: transparent;
filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#99990009,endColorstr=#99990009);
zoom: 1;
}
</style>
<![endif]-->
</head>
<body>
<div id="body">
<h1>My Site</h1>
<table class="tab">
<tr>
<td><a href="my_site.html">Home</a></td>
<td><a href="my_site_2.html">Forms</a></td>
<td><a href="my_site_3">Glove Straps</a></td>
<td><a href="my_site_4">Products</a></td>
</tr>
</table>
</div>
</body>
</html>
#body {
width: 900px;
margin-left: auto;
margin-right: auto;
top: 0%;
height:98%;
padding: 0px;
z-index: 1;
background-color: rgb(153,0,0);
background-color: rgba(153,0,0,.4);
}
body {
background-image: url(background.jpg);
background-repeat: no-repeat;
background-position: top center;
}
h1 {
background-image:url(banner-with-logo.jpg);
background-repeat:no-repeat;
color:transparent;
font-size:36pt;
height: 75px;
width: 900px;
}
table.tab {
background-color: white;
width: 900px;
border: 6px inset red;
cellspacing: 0;
cellpadding: 0;
}
table.tab td{
border: 2px solid red;
width: 75px;
height: 10px;
align: center;
text-align: center;
}
a:link {
color:black;
}
a:visited {
color:black;
}
a:hoover {
color:blue;
}
a:active {
color:blue;
}