Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

strange behavior of lastUnit #43

ibrezac opened this Issue Oct 14, 2010 · 2 comments


None yet
2 participants

ibrezac commented Oct 14, 2010


The following is an example that demonstrates unexpected behavior of .lastUnit on FF 3.6 and Chrome 6.0. IE8 does not appear to be affected. I have not tried other browsers yet.

stuff here
This div will cause additional space added at the bottom of the parent div (lastUnit)

Removing clear: both from .lastUnit:after appears to fix the issue, but I am not sure if this created other problems.

Any ideas?



stubbornella commented Oct 14, 2010

do you have an example online somewhere? I think github is stripping some of the code.

ibrezac commented Oct 14, 2010

Yep, sorry about that. Here it is: http://www.ypass.net/lastUnit.htm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment