Hi there,

I'm having a little difficulty getting the height of a containing div to adjust, so it will fit the child elements inside.

You will be able to understand the problem if you visit:

www[dot]websiteacademy[dot-net]/expedientlive/individuals/our-courses/

If you click on the NVQ’s and QCF’s link, you'll see a vertical navigation bar appear. But the container box doesn't adjust with the content. Like I said, you'll understand this on visiting the page.

It's probably something I've simply overlooked. But any help would be greatly apprenticated.

Regards

Hi,

that's a float problem, to resolve it: just insert <div style="clear: both;"></div> after the float elements.

My test: Capture35

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.