Jump to content

Recommended Posts

I trying to build a page that has a variable width depending on the viewing monitor that also has a fixed column to one side.

 

My problem is that when I have floated divs in the none floated div and put <br style="clear; both;"/> under the divs or apply the clear to the p tag the clear drops below the right column.

 

I thought the clear style only applied to it's containing div.

 

How can I fix this?

 

Thanks.

 

This image is an example of my problem

post-103106-0-94128900-1374271492_thumb.jpg

Edited by floridaflatlander
  • 2 weeks later...

You should add a div after the two coloured divs which has the CSS for clearing the floats.

 

This will allow any content that is after these two divs to be displayed below them on the page, instead of underneath them, as would be the case if the float wasn't cleared.

 

Denno

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.