Got a strange one here but it's probably a simpleton issue so I thought I would ask you.
I have done a layout for a site I am doing and I am having an issue when I am setting the length of the content. I room for a navigation column on the right of the layout and to the left is the content. As the navigation is never going to be as long as the content, and the content size will differ I have chosen both area's height as auto (which I have heard is the way you should always do this?). As my design as curved borders I wanted to do the same with my main content/article area. An example below is of a template page, which room for the navigation just how I want it in IE6/7:
However in Firefox it decides to make the div as small as the content inside it (which, as its the navigation wont be much anyway, and looks like this
I can remedy this somewhat by setting a height attribute for both parts and get the following below in Firefox but this is in no way practical:
These elements both sit in an area of 774px wide. The navigation is called "ContentLeftArea" and the CSS is:
The content area is called "ContentRightArea" and the CSS is:
Its normally dead simple with me but any help on his appreciated.
I have done a layout for a site I am doing and I am having an issue when I am setting the length of the content. I room for a navigation column on the right of the layout and to the left is the content. As the navigation is never going to be as long as the content, and the content size will differ I have chosen both area's height as auto (which I have heard is the way you should always do this?). As my design as curved borders I wanted to do the same with my main content/article area. An example below is of a template page, which room for the navigation just how I want it in IE6/7:

However in Firefox it decides to make the div as small as the content inside it (which, as its the navigation wont be much anyway, and looks like this


I can remedy this somewhat by setting a height attribute for both parts and get the following below in Firefox but this is in no way practical:

These elements both sit in an area of 774px wide. The navigation is called "ContentLeftArea" and the CSS is:
Code:
#ContentLeftArea
{
width:160px;
height:auto;
background-color:White;
margin:0px;
padding:0px;
font-size:0pt;
float:left;
}
The content area is called "ContentRightArea" and the CSS is:
Code:
#ContentRightArea
{
width:614px;
height:auto;
background-color:White;
font-size:0pt;
margin:0px;
padding:0px;
float:right;
}
Its normally dead simple with me but any help on his appreciated.