I'm novise in responsive css/html. I try to implement the css-only responsive navigation and I got a problem.
See the code: here
In menu, our services > distribution overlaps the next menu item. adding the overflow:hidden
in #dropdown ul li ul
fix this problem in firefox, but, in IE and mobile browser it does not work.
Please help me to solve this.
Regards, Andrey
The nested li
is inheriting the following styles from its parent;
#dropdown ul li { height:50px;}
You you remove the height, the overlap will be prevented.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.