PDA

View Full Version : creating wrapper/container/content


baydreamer
08-13-2012, 03:51 PM
Hi Guys

I'm new to the forum and new to dreamweaver.

A bit of help if I may?

I've trying to create a header area, top navigation area, content and footer.

I've created a wrapper, and the main content is within container. So my header nav content and footer all should fall within the container div.

This is where my problems starts, I can see where the container div ends but when I put my footer div into this area, it appears above my content???

Any ideas on why this should happen

Corrosive
08-13-2012, 04:53 PM
Code or a link please :) - welcome to the forum by the way.

baydreamer
08-14-2012, 11:10 AM
Hi Guys

I'm new to the forum and new to dreamweaver.

A bit of help if I may?

I've trying to create a header area, top navigation area, content and footer.

I've created a wrapper, and the main content is within container. So my header nav content and footer all should fall within the container div.

This is where my problems starts, I can see where the container div ends but when I put my footer div into this area, it appears above my content???

Any ideas on why this should happen

Thanks for the quick replies, apologies for the delay, couldnt log myself back in for some reason

I think I have found the answer, its to do with a left float on the contents box this was throwing it out and the footer was wrapping around the contents instead of being below

Corrosive
08-14-2012, 11:29 AM
Yes, you need to clear floats wherever you want a containing div to wrap them.