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.
精彩评论