I'm developing a horizontal navbar with CSS and I don't want my end-users to be able to change the font size in their browser preferences because it is going to royally screw up the alignment of all the buttons. How can I do this?
| SitePoint Sponsor |
I'm developing a horizontal navbar with CSS and I don't want my end-users to be able to change the font size in their browser preferences because it is going to royally screw up the alignment of all the buttons. How can I do this?




Use an image.
Or ask yourself why you are constraining yourself, and alienating those who you don't know.


You can do it for IE/Win by using a fixed unit of measurement (pixels, points, ...) but you won't make many friends that way. Other browsers put their users in the centre and allow them to override such rude settings.
You'd be much better off in the long run if you learned how to design for the web, where you cannot 'force' anything.![]()
Birnam wood is come to Dunsinane
Bookmarks