Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Height:auto; - Why not for firefox?

Status
Not open for further replies.

stevet26

Programmer
Feb 9, 2005
53
Hi

I have a web page which is made up of three divs. One that goes across the top with my banner in, one on the left for navigation and one on the right for content.

The background colour for my body tag is set to #fff. And the background colour for my navigation and content is set to a light grey colour.

What I want to achieve is that both the navigation on the content divs are level even when the content div get bigger when more content is added. I have tried setting both divs height to auto, but that does not work. I have tried putting both divs within a 'wrapper' div and that only works in IE.

Does anyone who has not got tried of reading this small story have any suggestions on how I can achieve this result for my page?

Thanking you in advance.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top