Hi
I have an odd problem with my borders in css in firefox.
I have a DIV with the border properties that contains the whole page:
#mainPage {
border: black 5px solid;
color: black;
background-color: white;
height: auto; <---this works in IE but not firefox
width: 720px;
}
In IE the DIV will stretch as the child containers grow, but in Firefox I have to set a fixed height for the page or the border will hang around at the top as if it's an empty DIV
What's going on? How do I fix this?
Thanks
I have an odd problem with my borders in css in firefox.
I have a DIV with the border properties that contains the whole page:
#mainPage {
border: black 5px solid;
color: black;
background-color: white;
height: auto; <---this works in IE but not firefox
width: 720px;
}
In IE the DIV will stretch as the child containers grow, but in Firefox I have to set a fixed height for the page or the border will hang around at the top as if it's an empty DIV
What's going on? How do I fix this?
Thanks