Hello everyone,
I'm new to tableless designs and need a little help with my CSS.
Here is the layout I want:
Here is what I have for code:
Code:
<HTML>
<HEAD>
<TITLE>A frame document with CSS2</TITLE>
<STYLE type="text/css">
<BODY
#header {
position: fixed;
width: 800px;
height: 150px;
top: 0;
right: 0;
bottom: auto;
left: 0;
}
#topLinks {
position: fixed;
width: 800px;
height: 55px;
top: 150px;
right: 0;
bottom: auto;
left: 0;
}
#sideBar {
position: fixed;
width: 150px;
height: auto;
top: 205px;
color: #48607C;
right: 0;
bottom: auto;
left: 650px;
}
#main {
position: fixed;
width: 650px;
height: auto;
top: 205px;
right: 150px;
bottom: auto;
left: 0;
}
</style>
<div id="header"></div>
<div id="topLinks"></div>
<div id="sideBar">This needs to be on the right side </div>
<div id="main"></div>
</body>
</html>
What am I doing wrong?
Can someone help me get started out?
Thanks,
Alex
|