SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Member
    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?

  2. #2
    SitePoint Guru
    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.

  3. #3
    SitePoint Author silver trophybronze trophy

    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •