Floodster
Technical User
- Jan 28, 2005
- 204
I have created my site using CSS (I'm still fairly new to CSS). My page basically contains 4 DIVS in this order;
<Div id="Main_nifty">
<Div id="menu">
</Div> 'this closes div#menu
<Div id="container">
<Div id="bottom"
</div> 'close container
</div> 'close bottom
</div> 'close main_nifty
My 2 problems are firstly this doesn't work in Firefox?? & secondly when <div id="container"> height expands it makes <div id="bottom"> disappear???
The site is if it makes it easier to understand.
Many thanks in advance.
<Div id="Main_nifty">
Code:
div#main_nifty {
position: relative;
background-color: #A0D6A4;
width: 900px;
height: auto;
margin: 40px;
}
Code:
div#menu{
position: relative;
margin: 0;
background:#A0D6A4;
float: left;
overflow: auto;
height: auto;
}
<Div id="container">
Code:
div#container{
position: relative;
background:#A0D6A4;
float: left;
width: 650px;
height: auto;
margin: -400px 0px 0px 105px;
overflow: auto;
}
Code:
div#bottom{
position: relative;
background:#A0D6A4;
margin: 20px 20px 20px 20px;
color: #A0D6A4;
}
</div> 'close container
</div> 'close bottom
</div> 'close main_nifty
My 2 problems are firstly this doesn't work in Firefox?? & secondly when <div id="container"> height expands it makes <div id="bottom"> disappear???
The site is if it makes it easier to understand.
Many thanks in advance.