B
Bo
How can make the header position:fixed in the code below? If I add it to the
header div it moves to the right and messes up the layout in IE7. Is it
possible to have a 3 col layout with position:fixed header somehow?
<style type='text/css'>
..wrapper{
margin: 0px auto;
width: 986px;
background-color: #ffffff
}
..header{
float: left;
width: 986px;
height: 114px;
}
..contents{
background-color:#ffffff;
float:left;
width:986px;
}
..left1{
float: left;
margin-right: 20px;
margin-top: 10px;
width: 180px;
background-color: #ffffff
}
..left2{
float: left;
margin-right: 20px;
margin-top: 20px;
width: 606px;
background-color: #ffffff
}
..right{
float: right;
margin-top: 20px;
width: 160px;
background-color: #ffffff
}
..footer{
float: left;
width: 100%;
}
body {
padding: 0px;
margin: 0px;
background-attachment: fixed;
background-color: #7F7F7F;
background-image: url(/layout/bg_grey.png);
background-repeat: repeat-x;
background-position: left top;
min-width:986px;
}
</style>
header div it moves to the right and messes up the layout in IE7. Is it
possible to have a 3 col layout with position:fixed header somehow?
<style type='text/css'>
..wrapper{
margin: 0px auto;
width: 986px;
background-color: #ffffff
}
..header{
float: left;
width: 986px;
height: 114px;
}
..contents{
background-color:#ffffff;
float:left;
width:986px;
}
..left1{
float: left;
margin-right: 20px;
margin-top: 10px;
width: 180px;
background-color: #ffffff
}
..left2{
float: left;
margin-right: 20px;
margin-top: 20px;
width: 606px;
background-color: #ffffff
}
..right{
float: right;
margin-top: 20px;
width: 160px;
background-color: #ffffff
}
..footer{
float: left;
width: 100%;
}
body {
padding: 0px;
margin: 0px;
background-attachment: fixed;
background-color: #7F7F7F;
background-image: url(/layout/bg_grey.png);
background-repeat: repeat-x;
background-position: left top;
min-width:986px;
}
</style>