Hi all, I'm new to css and html too for that matter.
this is my html so far:-
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>AlienNet Public Access Gateway</title>
<embed src="audio/thunder3.wav" autostart="true" loop="false" width="0" height="0"></embed>
<link rel="icon" type="image/png" href="http://alienlinux.homelinux.net/images/alien.png">
<link rel="stylesheet" href="mystyle.css">
</head>
<ul class="banner">
test
</ul>
<ul class="navbar">
test
</ul>
<ul class="main">
test
</ul>
and this is my stylesheet:-
ul.banner {
position: fixed;
top: 0px;
left: 0px;
right: 0px;
height: 78px;
background-color: green;
padding: 0px;
}
ul.navbar {
position: fixed;
top: 78px;
left: 0px;
width: 180px;
height: 100%;
bottom: 0px;
background-color: red;
padding: 0px;
}
ul.main {
position: fixed;
top: 78px;
left: 180px;
right: 0px;
width:100%;
height: 100%;
bottom: 0px;
background-color: yellow;
padding: 0px;
}
my problem is that there is a gap at the top of the page, how do i stop this happening?
thanks :D
Mark