Hi,
Firstly thanks for your hard work and putting your plugin online for open use. It's definitely looking like a great candidate for a responsive design project I'm working on.
I have a problem though with setting up the menu using percentage widths to get a full width 'responsive' menu. I have 5 columns set at 20% with each, like this:
ul.slimmenu {
list-style-type: none;
margin: 0;
padding: 0;
width: 100%;
}
ul.slimmenu li {
position: relative;
display: inline-block;
background-color: #AAA;
width:20%;
}
ul.slimmenu li ul li { background-color: #BBB; width:100%;}
As you'd expect, this doesn't quite do the job. In the lines below there is some styling relating to a negative right margin and the left border:
ul.slimmenu > li { margin-right:-0.3125em; border-left: 0.0625em solid #fff; }
ul.slimmenu > li:first-child { border-left: 0 }
ul.slimmenu > li:last-child { margin-right: 0 }
If I set the border-left to 0, the menu then fits into the full page width as desired on Chrome and Safari(windows) but not on Firefox or IE9. Opera seems to add its own border! In any case, I really like to keep the border, but I can't see a straight forward way to do this. Can you help?
Also, why is that negative 'margin-right' there?
Regards and thanks in advance.
Rich