Pergunta

I don't understand why I should use clear class in 960 css framework. In any example I remove div with class clear it works fine. could you tell me the usage and the purpose of that class?

Foi útil?

Solução

It makes sure floating elements wont exist to the left or right of the element with the class (if you have any float elements that might cause a layout you weren't after).

Also worth a search on google is clearfix

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top