Mariamus
05-30-2005, 03:33 PM
I've tried just about anything in my stupid css reference manual. and I can't figure out what i'm supposed to do now.
I need a box that stays at the bottom of the browserwindow at any time.
you can see the site here: http://www.mariamus.dk/homesite/
here's my css and HTML code.
html->
<html>
<head>
<title>Mariamus.dk</title>
<link rel="STYLESHEET" type="text/css" href="stylesheet.css">
</head>
<body bgcolor="#b6b6c6" scroll="auto" link="#OOOOOO" vlink="#OOOOOO" alink="#OOOOOO"> <font color="#OOOOOO">
<div align="center">
<div id="mainfelt">
<bgcolor="#FFFFFF">
<div id="top">
<div align="left">
<img src="homesite.png" width="164" height="50" alt="">
<font size="-1">
<div id="box">
<div align="left">
<font size="-1">
test
<div id="bottom">
<div align="left">
<font size="-1">
test
</font>
</div>
</div>
</div>
</body>
</html>
stylesheet ->
#mainfelt {
position: relative;
top: 0px;
left: 0px;
background-color: #b6b6c6;
}
#background {
position: absolute;
top: 0px;
left: 0px;
z-index: 0;
}
#top {
position: relative;
width: 100%;
top: 0px;
height: 50px;
font-family: "verdana";
background-color: #525268;
}
#box {
position: relative;
width: 100%;
top: 50px;
font-family: "verdana";
background-color: #b6b6c7;
}
#bottom {
width: 100%;
position: relative;
bottom: 0px;
font-family: "verdana";
background: #525268;
}
img {
behavior: url("pngbehavior.htc");
}
I need a box that stays at the bottom of the browserwindow at any time.
you can see the site here: http://www.mariamus.dk/homesite/
here's my css and HTML code.
html->
<html>
<head>
<title>Mariamus.dk</title>
<link rel="STYLESHEET" type="text/css" href="stylesheet.css">
</head>
<body bgcolor="#b6b6c6" scroll="auto" link="#OOOOOO" vlink="#OOOOOO" alink="#OOOOOO"> <font color="#OOOOOO">
<div align="center">
<div id="mainfelt">
<bgcolor="#FFFFFF">
<div id="top">
<div align="left">
<img src="homesite.png" width="164" height="50" alt="">
<font size="-1">
<div id="box">
<div align="left">
<font size="-1">
test
<div id="bottom">
<div align="left">
<font size="-1">
test
</font>
</div>
</div>
</div>
</body>
</html>
stylesheet ->
#mainfelt {
position: relative;
top: 0px;
left: 0px;
background-color: #b6b6c6;
}
#background {
position: absolute;
top: 0px;
left: 0px;
z-index: 0;
}
#top {
position: relative;
width: 100%;
top: 0px;
height: 50px;
font-family: "verdana";
background-color: #525268;
}
#box {
position: relative;
width: 100%;
top: 50px;
font-family: "verdana";
background-color: #b6b6c7;
}
#bottom {
width: 100%;
position: relative;
bottom: 0px;
font-family: "verdana";
background: #525268;
}
img {
behavior: url("pngbehavior.htc");
}