I have a list and the li's have a float:left;. The contents after the <ul> should be aligned correctly. Therefore i can build the following:
I thought, that I can remove the <div class="clear"> by using pseudo selectors like :after.
But the example is not working:
Do I always have to create a separate div to clear floating elements?