我正在尝试制作基于 UL li 的良好 CSS 菜单,但有定位问题
我正在尝试制作基于 UL li 的良好 CSS 菜单,但存在定位问题。他们没有得到我想要的位置。他们从我把它们放进去的 div 中出来。如何解决这个问题?
I am trying to make UL li based good CSS menus and having positioning problem. They are not getting positioned as i wanted. They get out of div i put them in. How to fix this problem ?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我猜您对浏览器的自动边距功能有问题。
使用此功能可以在启动菜单之前重置其边距功能。
I am guessing that you are having problem with browsers auto margin feature.
Use this to reset their margin feature before starting menus.
不确定问题是什么,因为您还没有发布 HTML、CSS,甚至没有发布 jsfiddle 的链接...
然而,我确实记得当我还是个新手时,我也遇到过 CSS 菜单的麻烦。
我强烈建议您花时间查看“Son of Suckerfish Dropdowns”:
http: //www.htmldog.com/articles/suckerfish/dropdowns/
我想你会发现它非常有帮助。
Not sure what the issue is as you have not posted your HTML, CSS or even a link to jsfiddle ...
However, I do remember the when I was a newby and I also had troubles with CSS Menus.
I highly recommend you take the time to check out "Son of Suckerfish Dropdowns":
http://www.htmldog.com/articles/suckerfish/dropdowns/
I think you will find it very helpful.