css - IE img doesn't stretch li -
i have this code here. if open browser other ie, able see 3rd , 5th li of ul.submenu have img inside. in ie unfortunately it's not displayed on 3rd li, , it's going underneath in different line if lacks floats. normally, img should expand li in rest browsers.
i have tried changing display property of both li , img, various margin , padding combinations of img no luck.
anyone knows why happens , should reach proper result? help much appreciated! :)
number 1 rule of styling lists: utilize display:block on a-tag , set styling there (other things positioning/hiding/showing lists).
see tutorail: i love lists.
css internet-explorer html-lists image expand
No comments:
Post a Comment