Jump to content

"clear: left" clears too much.


sullivat

Recommended Posts

Hi, I have a basic 2 column page with a floating navbar on the left and a content div to the right of it. Inside the content div I have 2 columns of text at the top and paragraphs in one column below.I'm using a br with clear: left before the one column paragraphs so the paragraph text doesn't float to the right of the second column above it. It works, except the br seems to be clearing the floating nav bar and the text appears below a huge white space.If I wasn't able to describe it well enough, check out page here:http://staff.reynolds.k12.or.us/dept/curriculum/Also, it looks like there is a typo on the w3schools page for the css clear property, where it says:Possible Values...both No floating elements allowed on either the left or the right sidenone Allows floating elements on both sides(http://www.w3schools.com/css/pr_class_clear.asp)

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...