CJ, On Dec 21, 2005, at 1:10 PM, CJ Larson wrote:
> In one of my site layouts, I have the navigation floated to the left > and > gave the content area a margin-left to give the float room to breathe. > On my content area, I have <p> tags clearing left by default since I > float several things on various pages. Where this creates a problem is > when the <p> element is supposed to show horizontally in the same area > as the menu. > > Zoe helped Jennifer with an issue like this earlier this week, but the > recommended solution was to float the content area. What might be > another solution if floating the content div isn't desirable? > > My (cut down) page: > http://sltclan.com/images/cj/default.html > > Notice that the "please select a layout" paragraph is below the bottom > of the left menu because of the "clear: left" I set in layout5.css. > (The problem doesn't occur in IE.) As Zoe said, you need a new 'block formatting context' All of the following will do that float: left; position: absolute; display: table; But, all of these cause the container to 'shrink-wrap' Floating .inside seems the most typical approach, but other approaches may be better in your circumstances. There are always trade-offs... Roger, Roger Roelofs "Remember, if you’re headed in the wrong direction, God allows U-turns!" ~Allison Gappa Bottke ______________________________________________________________________ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/