ClulessChris
IS-IT--Management
I've cobbled together the following rules for my site.
This works well with IE7, Safari, and Opera, but appears broken with Firefox (ff).
When viewed in ff the content div appears partially hidden under the navigation div (navBar), and not wide enough.
I’m able to fix this (at the cost of other browsers) by increasing the width of the wrapper div.
How can I get this to run in ff without breaking it for other browsers?
Never knock on Death's door: ring the bell and run away! Death really hates that!
This works well with IE7, Safari, and Opera, but appears broken with Firefox (ff).
When viewed in ff the content div appears partially hidden under the navigation div (navBar), and not wide enough.
I’m able to fix this (at the cost of other browsers) by increasing the width of the wrapper div.
How can I get this to run in ff without breaking it for other browsers?
Code:
html, body, #wrapper{
min-height: 100%;
width: 80%;
height: 100%;
}
html>body, html>body#wrapper{ height: auto; }
html>body div#header { position: fixed; }
html>body div#navBar { position: fixed; }
.banner{ height: 99px; width: 100%; }
#wrapper{
position: absolute;
left: auto;
Top: 0;
width: 80%;
Padding: 0px;
}
#header{
position: absolute;
top: 0px;
left: 2%;
height: 99px;
border: 1px solid black;
width: 96%;
margin: 0 auto;
background-color: #FFFFFF;
}
#navBar{
position: absolute;
width: 20%;
left: 2%;
Top: 100px;
height: 80%;
padding: 25px 5px 25px 5px;
border: 1px solid black;
font-size: .95em;
line-height: 3em;
background-color: #FFCC66;
}
#content{
float: right;
width: 90%;
padding: 7em 1em 0 6em;
border: none;
overflow: hidden;
font-size: 1em;
}
Never knock on Death's door: ring the bell and run away! Death really hates that!