开发者

I am trying to make UL li based good CSS menus and having positioning problem

开发者 https://www.devze.com 2023-03-24 05:33 出处:网络
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 ou开发者_运维问答t of div i put them in. How to fix this problem ?I

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 ou开发者_运维问答t of div i put them in. How to fix this problem ?


I am guessing that you are having problem with browsers auto margin feature.

Use this to reset their margin feature before starting menus.

* {
    margin : 0;
    padding : 0;
}  


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消