SpeedCrazy Posted April 7, 2011 Posted April 7, 2011 (edited) Hey guys. I was wondering, does css have a or if function? I am building a drop down menu and when i shrink my window too far all the buttons jump all over the page. I want the menu items to stay in a line without having to scroll sideways(not that i can fix them that way either...) So i was wondering if i could have them set as something where whichever width was smallest would display. eg. Currently the buttons are 10em, if i could set them up to be 15% until the window is large enough that 10em is larger than 15%. Im not trying to make a mobile version alongside the full version, just allow for smaller windows. Any ideas, Thanks EDIT: Forget it, % makes the drop down sections tiny. I think it does percent of the mother element. Edited April 7, 2011 by SpeedCrazy Quote Share this post Link to post Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.