OK got it working kind of by using some background images for the grey lines. But in firefox there is a a 1px line missing on the blue navigation bar thing. Any ideas?
heres the site and hers is the code
HTML Code:
<!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=iso-8859-1" />
<title>My site</title></title>
<style type="text/css">
<!--
body {
background-color: #EEE;
font-family: "Times New Roman", Times, serif;
color: #000;
}
#container {
width: 700px;
margin: 0px;
margin-left: auto;
margin-right: auto;
background-color: #FFF;
}
#nav {
background-color: #006;
visibility: visible;
width: 700px;
}
#nav ul {
margin-left: 0;
padding-left: 0;
display: inline;
}
#nav ul li {
padding: 3px 15px;
list-style: none;
display: inline;
}
#nav a {
color: #FFF;
text-decoration:none;
font-weight: bold;
}
#nav a:hover {
color: #D42B1D;
}
#content {
margin: 0px;
margin-left: auto;
margin-right: auto;
width: 660px;
}
#top {
visibility: visible;
width: 660px;
background-image: url(images/bk.png);
background-repeat: repeat-y;
}
#bot {
visibility: visible;
width: 660px;
background-image: url(images/bot.png);
background-repeat: repeat-x;
}
#top_left {
width:229;
float: left;
margin:0px;
}
#top_right {
width: 330;
float: right;
margin:0px;
}
.clearer{
height:1px;
overflow:hidden;
clear:both;
margin-top:-1px;
}
-->
</style>
</head>
<body>
<div id="container">
<div id="nav">
<ul>
<li><a href="schedule.html">Schedule</a></li>
<li><a href="about.html">About</a></li>
<li><a href="committee.html">Committee</a></li>
<li><a href="contact.html">Contact</a></li>
</ul>
</div><!-- end nav -->
<div id="content">
<div id="top">
<div id="top_left">
<p>top lef</p>
<p>this is a teast it should work </p>
</div>
<div id="top_right">top right</div>
<div class="clearer"></div>
</div><!-- end top -->
<div id="bot">bottom</div><!-- end bot -->
</div><!-- end content -->
</div><!-- end container -->
</body>
</html>
Bookmarks