Topic: Clearer

<div class="clearer"></div>

Does this actually do anything?

I don't HAVE a signature, ok?

2

Re: Clearer

Yes. It forces a containing box to wrap floated elements. Try setting div.clearer{display:none} in your stylesheet and you will see exactly what it does provided you view in Firefox or Opera.

3 (edited by creaturecorp 2005-06-16 19:31)

Re: Clearer

Could I just use <br> instead? Is there anything potentially wrong with doing this?

http://cash4posts.com/layout.php

It stretches funny in Firefox and Explorer, and removing clearer or setting the css to none removes this behavior.

I don't HAVE a signature, ok?

4

Re: Clearer

No you can't just change it to <br />, that wouldn't accomplish anything unless you made it <br style="clear:both" /> which would then cause the same problem.

There was a discussion about this a few days ago with the solution. See here
http://punbb.org/forums/viewtopic.php?id=7781