1

I'm attempting to put a bunch of div's inside one big div (which has a nice border)

The problem is it's not surrounding the inner divs (it just stays on top of them)

Here is the page:

http://townappliance.arosavd.com/index.php/cooking.html

4
  • 2
    Maybe you could tell us what part of the page specifically you're talking about. Commented Aug 24, 2011 at 18:58
  • Sounds like an issue with floated inner divs, but I concur with meagar's statement: We need more information. Commented Aug 24, 2011 at 19:01
  • sorry i'm referring to a div called <div class="landing-page-main"> which is part of the main content of the page (surrounding cooktops, ranges, etc.) Commented Aug 24, 2011 at 19:05
  • no worries though brandon's answer worked thanks for your concern and time Commented Aug 24, 2011 at 19:05

3 Answers 3

5

Right before the closing tag of <div class="landing-page-main"> add something like this where you clear the float.

<br style="clear:both;"/>

Sign up to request clarification or add additional context in comments.

2 Comments

@pzirkind, no problem. If this solved your problem please remember to mark it as the accepted answer.
just did (it prevented me from doing it earlier) :)
0

Just add float: left to landing-page-main-top, landing-page-main and landing-page-main-bot

Comments

0

I think you also can do this:

.landing-page-main { display: inline-block; }

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.