By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,334 Members | 1,861 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,334 IT Pros & Developers. It's quick & easy.

Floated div with border problem

P: n/a
Hey all,

May have missed this in the FAQ, advice or article links welcome.

Have a content div with a navigation div floated left and an
advertisement div floated right. I would like to have a border
going around the content, the two divs and right down to the bottom.

So far, all I've got is this:

http://www.redbrick.dcu.ie/~alex/test/corporate/

CSS:

http://www.redbrick.dcu.ie/~alex/tes...orate-main.css

Ideally, I would like the two floated divs to extend downwards as more
content is added, and taking the border with it. I tried messing
around with height: 100%; (for the floated divs) but didn;t really
understand what it was doing.

Any ideas?

(Also, when I take out the border (in Opera 8.54), the margins jump a
little for the entire #contentcontainer div - what's up with that?

Any help appreciated.

Alex

--
I must not fear. Fear is the mindkiller.
Fear is the little death that brings total obliteration.
Jul 7 '06 #1
Share this Question
Share on Google+
1 Reply


P: n/a

alex wrote:
May have missed this in the FAQ, advice or article links welcome.
brainjar.com (look for "CSS positioning")

Jul 7 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.