- This topic is empty.
Viewing 6 posts - 1 through 6 (of 6 total)
Viewing 6 posts - 1 through 6 (of 6 total)
- The forum ‘CSS’ is closed to new topics and replies.
The forums ran from 2008-2020 and are now closed and viewable here as an archive.
I have a navigation bar, It looks perfectly but when users from other countries see the translated page each nav link becomes larger or smaller and when each word becomes larger the nav overflows and is covered. How can i make the font-size shrink or get larger depending on the available space. Here’s a pen so you can better see what i mean.[http://codepen.io/Jarolin/pen/bsJxi](http://codepen.io/Jarolin/pen/bsJxi “”)
WOW…Ok.
To start with you can’t use the same ID more than once so giving it to all of your links is a big “no-no”.
Here…I’ve tidied it up a little. :http://codepen.io/Paulie-D/pen/mHtGr
As for how it is viewed when translated…I don’t think there is much you can do about that….but I’ll have a think about inline-block and how that reacts to viewport sizes.
There must be a way of doing it. I’m sure ive seen it before. Just cant remember where.
Perhaps they were using rems…but browser support isn’t too bad at the moment. IE9+ etc.
Maybe something with jquery or javascript can work.