22/02/2012 - Xem: 1089
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 on ‘li’. width of ‘ul’ = total width of ‘li’.
because both and are default display:block, so i can’t set display:inline for
NOTE : only use CSS, not javascript.
Please help me !!!
(i-php.net)