.clearfix::after { content: ""; clear: both; display: table; }
<!--[if lt IE 7]> Your code for IE 7 only <![endif]-->