IN IE7 when ‘ul’ float: left and ‘li’ float:left, the width of ‘ul’ is ok. but when ‘ul’ float:left and ‘li’ float: right, the width of ‘ul’ is 100%(the background yellow). What should i do to make the width of ul when ‘li’ float:right is look like ‘li’ float:left. i can’t set width of ul because it’s must depends of ‘li’. width of ‘ul’ = total width of ‘li’.