SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Addict adam2003w's Avatar
    Join Date
    Mar 2004
    Location
    colorado
    Posts
    396
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Is there Anyway to "Lock" Text Size with CSS?

    Is there Anyway to "Lock" Text Size with CSS? Maybe keep it from resizing?

  2. #2
    The CSS Clinic is open silver trophybronze trophy
    Paul O'B's Avatar
    Join Date
    Jan 2003
    Location
    Hampshire UK
    Posts
    39,792
    Mentioned
    158 Post(s)
    Tagged
    3 Thread(s)
    Hi,

    You can use px in IE and the user will not be able to adjust using the browser settings. However all other browsers will let you zoom or whatever so you can't stop it unless you want to use images.

    You should try to design so that it doesn't matter what size text the user selects. Use ems or percentages to allow for a fluid page. Of course this isn'y always as easy as it sounds when you need to match things exactly. But with a little forethought it can be done and will help the visitor

    Paul

  3. #3
    SitePoint Addict adam2003w's Avatar
    Join Date
    Mar 2004
    Location
    colorado
    Posts
    396
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Paul O'B
    all other browsers will let you zoom or whatever so you can't stop it unless you want to use images. You should try to design so that it doesn't matter what size text the user selects.
    I was afraid of this. I always try to design with zoom in mind, it's just that on a particular feature I'm building it would be nice to be able to fix the text size. Thanks.

    Anybody else got some thoughts on this?


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
  •