WordPress.org

Forums

Disabling the user from changing font sizes? (26 posts)

  1. DrPepper
    Member
    Posted 10 years ago #

    How can i do this correctly? I know that <noresize> deals with frames, but i want to do this so people cannot change the size of my fonts. If they do so, it changes the location of the text, which in effect. changes my template.

    Does anyone no how to do this? or where i might want to throw this tag in to make it work like im trying to explain?

    Thank you in advance! this has been bugging me for quite some time.

  2. fuzzy_logic
    Member
    Posted 10 years ago #

    Is this even possible?

  3. DrPepper
    Member
    Posted 10 years ago #

    yes it is, ive seen it done on a few sites. ill post an example.

  4. DrPepper
    Member
    Posted 10 years ago #

    http://www.pavs.org.uk/about/changing_text_size.html

    that site. when you hold control, or manually change the font size, it doens't. only the bullets, and a small other items change. how can i do that?!

    thanks.

  5. Mark (podz)
    Support Maven
    Posted 10 years ago #

    Using Firefox, I can make all text bigger or smaller.

  6. DrPepper
    Member
    Posted 10 years ago #

    i see that is the case with my FF too. but it stays within its boundaries. in IE, on mine, i change font, and the whole look and feel changes. i was just wondering if there is an easier way to prevent it from happening on this site.

    http://www.pkpsdsu.com

    when you enlarge the text it changes location. even on this help forum, by changing the text size, it only effects certain aspect. and not previous posts (in IE that is)

  7. Mark (podz)
    Support Maven
    Posted 10 years ago #

    That'll be an IE (ahem) 'feature' no doubt.
    This may be better queried in a more IE-friendly forum :)

  8. DrPepper
    Member
    Posted 10 years ago #

    haha, well i cater to FF and IE users. if its being changed in FF, then ill post that. they are both reading out the same code - so why cant there be a code, that doens't exist for both? or , more importanly, is there one for FF then?

  9. idbehold
    Member
    Posted 10 years ago #

    The reason I love Firefox is that there is no way that a site can disable features, unlike in IE.

  10. NuclearMoose
    Member
    Posted 10 years ago #

    A design should accomodate users, not the reverse.

  11. basketball
    Member
    Posted 10 years ago #

    Just a thought. You can add a font changer and make put in the options which won't break your layout but still let the user change font size.

  12. danielck
    Member
    Posted 10 years ago #

    In web design, webmasters have to accodomate users. But for print media design, users accodomate the print media design.

    There seems to be a trend in moving towards print media style of designing for web design recently.

    But as a designer, I would very much hope that the users will be presented with something as close to my design concepts as possible.

    Personally, I feel that the design should be flexible enough for users to change and yet the layout should not be much affected or give the users another perspective when the settings are altered.

    Design is a process where we solve problems creatively. Here, I see a problem waiting for a creative solution! :)

  13. DrPepper
    Member
    Posted 10 years ago #

    my thoughts exactly daneilck!

  14. Root
    Member
    Posted 10 years ago #

    Turning the q inside out it really reads - *How can I fix my layout so that it wont bork in variable text sizes* ?.

  15. DrPepper
    Member
    Posted 10 years ago #

    i guess it does. im not trying to hide a question here.

    i dont want variable text sizes. black and white. im not all knowing, just thought that someone would have an answer, or....something creative.

  16. Root
    Member
    Posted 10 years ago #

    Well there is nothing wrong in flexible set ups. Except that they are notoriously difficult to implement. :)

  17. NuclearMoose
    Member
    Posted 10 years ago #

    You might try checking out some CSS sites or CSS forums.

  18. lawtai
    Member
    Posted 10 years ago #

    Instead of having your text defined by using em use px. This will still scale with FF, but won't in IE. Also, you'd have better control over the text.

  19. basketball
    Member
    Posted 10 years ago #

    That's odd lawtai, my site uses almost all em declarations and it still isn't resizable in IE.

  20. vkaryl
    Member
    Posted 10 years ago #

    Set your font sizes in "pt". IE won't resize the text period AFAIK. Pt is deprecated and may not validate depending on doctype but maybe that won't matter to you.

  21. Joni
    Member
    Posted 10 years ago #

    If you lean on the Ctrl + "+" key long enough in FF, you can make the text gargantuan. Even a few clicks of the + key may "break" the design. But it's the tradeoff between that and being able to see the text (if your eyes are tired and old, as mine are).

    Even if you create the pixel perfect design, with all font sizes declared (in pts. no less), FF goes around that. IE does to a lesser extent, but the results can be really hideous.

    A lot of designers started out as graphic artists, who designed mostly for print media. The web is not print yet designers (myself included) have been attempting to corral the content, often with disastrous results

  22. lawtai
    Member
    Posted 10 years ago #

    basketball: I'm not sure if this is true, but my guess is that it doesn't scale on your site because you're basing your em off of the font-size decleration in your body which is set with px. If you change that to %, then your site should scale with IE.

  23. basketball
    Member
    Posted 10 years ago #

    Oh that makes sense, thanks for the clarificatoin lawtai

  24. DrPepper
    Member
    Posted 10 years ago #

    thanks for all the help, im still trying to get this working successfully

  25. Root
    Member
    Posted 10 years ago #

    lawtai is right on the money. In body set up font-size 100%.(whatever) Then IE will do the em thing .

  26. Typey
    Member
    Posted 10 years ago #

    One of the main reasons for font resizing (as far as I'm aware) is to accomodate users with poor vision. My old boss used to double or triple the font sizes on all webpages. This made the designs look awful in almost every case, but he was able to use the sites where he would not have been able to otherwise. This seems pretty valuable to me.

    In any event, I don't think it's possible to completely disable client-side font resizing.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.