SitePoint Sponsor |
|
User Tag List
Results 1 to 3 of 3
-
Apr 3, 2006, 01:11 #1
- Join Date
- Apr 2006
- Posts
- 4
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Forcing a specific font size and type on users?
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?
-
Apr 3, 2006, 01:46 #2
- Join Date
- Aug 2004
- Location
- Port Sunlight
- Posts
- 815
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Use an image.
Or ask yourself why you are constraining yourself, and alienating those who you don't know.
-
Apr 3, 2006, 02:18 #3
- Join Date
- Nov 2004
- Location
- Ankh-Morpork
- Posts
- 12,158
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
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