Rabbitfacedkilla
Gawd
- Joined
- Jan 1, 2001
- Messages
- 581
So I'm working on a simple layout for a business venture and I'm having a hell of a time floating a layer on top of another set of layers. You'll see what I mean in a second.
The layout so far is as shown below in an icky low quality jpg:
Code to make it all happen is two files, index.html & styles.css.
Index.html
styles.css
The layer I'm trying to float is menu as defined in the styles.css file, it renders as TEST on that disgusting JPEG above. For whatever reason (i know i'm doing something wrong, but I can't figure it out) it floats left on the very bottom. Mind explaining to this very tired fellow what I'm doing wrong?
And before everyone jumps on the standards / validation bandwagon, yes, none of this will validate as of yet. Layout first, validation later.
The layout so far is as shown below in an icky low quality jpg:
Code to make it all happen is two files, index.html & styles.css.
Index.html
Code:
<html>
<head>
<title>JDM Authority - 6535950 Canada Inc</title>
<link href="styles.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="frame">
<div id="banner">
<img src="images/layout/banner.png">
</div>
<div id="contentcenter">
<h1>content center</h1>
</div>
<div id="bottom">
<img src="images/layout/bottom.png">
</div>
</div>
<div id="menu">
<p>TEST</p>
</div>
</body>
</html>
styles.css
Code:
body {
text-align:center;
font-family:Helevetica, Times;
background: #FFFFFF;
}
#frame {
width:909px;
height: 800px;
text-align:left;
}
#banner {
height:360px;
width:738px;
float:left;
background:#fff;
}
#contentcenter {
width:909px;
float:left;
background:#fff;
}
#bottom {
height: 90px;
width:909px;
padding-left: 200px;
float: left;
background:#fff;
}
#menu {
height: 350px;
background: #fff;
}
The layer I'm trying to float is menu as defined in the styles.css file, it renders as TEST on that disgusting JPEG above. For whatever reason (i know i'm doing something wrong, but I can't figure it out) it floats left on the very bottom. Mind explaining to this very tired fellow what I'm doing wrong?
And before everyone jumps on the standards / validation bandwagon, yes, none of this will validate as of yet. Layout first, validation later.