CSS Clearing Div Float Frustrations - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.

CSS Clearing Div Float Frustrations

I'm having an absolute nightmare working with the floats and clearing them in order for content to remain even on my latest project.

I've read up on CSS tricks about the great collapse and everything else but it's just not working for me.

Let me show you what I mean...

Look at [link=http://www.insured101.com/car-insurance/florida/]the page for Florida.[/link]

Under Bodily Injury Liablity the "Compare Quotes Now" button is perfectly centered under the divs like it should be.

But then if you look at [link=http://www.insured101.com/car-insurance/arkansas/]the Arkansas page[/link]

Suddenly the button has gone off center! I can't figure out why it's not clearing the floats like it should...any ideas?


Sign In or Register to comment.