# \[CSS\] Clear not working in IE6

**URL:** https://forum.kirupa.com/t/css-clear-not-working-in-ie6/240614
**Category:** web dev
**Created:** [October 4, 2007, 2:09pm UTC](https://forum.kirupa.com/t/css-clear-not-working-in-ie6/240614 "2007-10-04T14:09:44Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![NeoDreamer](https://avatars.discourse-cdn.com/v4/letter/n/ccd318/32.png) [@NeoDreamer](https://forum.kirupa.com/u/NeoDreamer)
#### Post date: [October 4, 2007, 2:09pm UTC](https://forum.kirupa.com/t/css-clear-not-working-in-ie6/240614/1 "2007-10-04T14:09:44Z")

</div>

**[http://joanna-levesque.org/main/index.php?language=english](http://joanna-levesque.org/main/index.php?language=english)**

I wanted my floats to affect the DIV’s that they are contained in, so I applied \<br class=“clear” /\> judiciously everywhere. I see that they are not working in IE6 or IE7.

```auto

.clear { 
	height: 1%; 
	padding: 0; 
	margin: 0; 
	clear: both;
}

```

The 1st picture is IE and the 2nd picture is FF:

![](http://forum.kirupa.com/uploads/kirupa/4080/2edcc45466381219.jpg)
