Hi,
Seems like a simple case of Maths to me.
You set the width of the nav in percentage and the width of the list items in percentage which means that when you increase the nav the list elements will also increase in size.
You set the items to 27% wide with 2% padding on each side making a total of 31% which means only 3 will fit on a line. You need to reduce the size to 21% + 2% padding which will make them 25% and then 4 will fit in one line(for older browsers you will probably need to round it down a little to stop then growing too big with rounding errors) .
Code:
nav#desktopNav a {
float: left;
margin: 0 1.7%;
padding: 25px 2%;
width: 20.9%;
}
Rather than using side padding it would be better to give them a 25% width and center the text and then the element can collapse even smaller.
Bookmarks