Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Going nuts! Last button in my horizontal menu moves to the next line when re-sizing browser Re: Going nuts! Last button in my horizontal menu moves to the next line when re-sizing browser

#124137
lanacaralee
Member

@Paulie_D Thanks for the info on percentage widths versus pixels. I suspected as much but wasn’t sure how I could apply that to my coding.


@ChrisP
Thanks so much for the suggestion. I added the box-sizing: border-box and took off the width for the first and last child and made them all 11.11% width. Unfortunately, the last menu item now sits on the second line just underneath the first menu item. Any other ideas? Here’s the revised code: