Results 1 to 6 of 6

Thread: Text size cannot be changed in IE

  1. #1
    Join Date
    Jun 2006
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Text size cannot be changed in IE

    Hello everyone,

    I am sure it is just a simple thing, but I am not able to change the text size of my website in IE, but in Firefox it works fine. I use CSS extensively, but also tables. But all text sizes, colours and fonts are set in a seperate CSS file.

    Any Idea why this is?

  2. #2
    Join Date
    Mar 2006
    Posts
    600
    Thanks
    5
    Thanked 4 Times in 4 Posts

    Exclamation

    PLEASE: Include the URL to your problematic webpage that you want help with.

  3. #3
    Join Date
    Feb 2006
    Location
    LA, CA, USA
    Posts
    32
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Quote Originally Posted by JodiSte
    Hello everyone,

    I am sure it is just a simple thing, but I am not able to change the text size of my website in IE, but in Firefox it works fine. I use CSS extensively, but also tables. But all text sizes, colours and fonts are set in a seperate CSS file.

    Any Idea why this is?
    If your font sizes are set in px (pixels), then IE users won't be able to adjust the font size from the

    view -> text size

    menu. Now, you can still manually override the font size in IE, but you'll have to go into the options menu. It's annoying, but if you're determined you'll find the relevant settings (perhaps its under "accessibility"?).

    I don't have a PC available, otherwise I'd be able to give you precise menu paths.

    BUT, you should really uses %'s or em's (relative font size) for your site. Then IE/win users won't have any grief.

  4. #4
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    12,164
    Thanks
    265
    Thanked 690 Times in 678 Posts

    Default

    If your font sizes are set in px (pixels), then IE users won't be able to adjust the font size
    Exactly. Firefox, for some reason, for better or worse, ignores the "absolute" sizing and allows you to adjust. i'm not sure which is "correct", according to html standards and such.
    BUT, you should really uses %'s or em's (relative font size) for your site. Then IE/win users won't have any grief.
    Yes, just use relative units IF you want them to be able to change it.
    If not, use px as you have been doing.

    Note that % refers to "% of window" for almost all things html, but in this case it is based on 100% equally the browser's/user's default text size. This may vary by monitor or need, like the somewhat sight impared.
    That confused me before I found that out.
    Daniel - Freelance Web Design | <?php?> | <html>| espa˝ol | Deutsch | italiano | portuguŕs | catalÓ | un peu de franšais | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum

  5. #5
    Join Date
    Dec 2004
    Location
    UK
    Posts
    2,358
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Quote Originally Posted by djr33
    Firefox, for some reason, for better or worse, ignores the "absolute" sizing and allows you to adjust. i'm not sure which is "correct", according to html standards and such.
    HTML has no say in the matter, though CSS does.

    Internet Explorer is right to not resize lengths defined in absolute units. A millimeter is a millimeter, an inch is an inch, and a point is, well, 1/72th inches. For the purposes of resizing, a pixel is a pixel, too. However, it should be noted that none of these will realistically be the same across different machines. Displays are not usually calibrated to the real world, and therefore if 72pt is really an inch, it's probably just coincidence. Similarly, the size of a pixel depends entirely upon the resolution of the monitor and the settings in use.

    That said, anyone that's used the Web for long enough should realise that there are plenty of designers with a penchant for microfonts. Some are so daft that they make text almost impossible to read, whilst others just make prolonged reading uncomfortable and tiring to the eyes (which isn't much of an improvement). As a result, the ability to resize fonts and to specify minimums is a very good feature.

    It should be noted that Opera is slightly different here: it doesn't resize, it zooms. Everything, including images, change size.

    Yes, just use relative units IF you want them to be able to change it.
    There should be very little reason for not doing so. After all, if the author-specified size was well chosen, the user won't bother trying and the point is moot.

    Note that % refers to "% of window" for almost all things html
    Not at all. Percentage lengths refer to the relevant dimension (width or height) of the containing block. Often, that means the containing block-level element. The only element where the viewport size is considered is the root (html) element.

    but in this case it is based on 100% equally the browser's/user's default text size.
    'Based', yes. The computed value for the root element will be the default font size expressed in the user's preferences, and computed value of the font-size property is inherited. However, a percentage value is applied to the font size of the parent element, so font-size: 50% might be half of the default, but it might also be half of some other value.

    Mike

  6. #6
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    12,164
    Thanks
    265
    Thanked 690 Times in 678 Posts

    Default

    Not at all. Percentage lengths refer to the relevant dimension (width or height) of the containing block. Often, that means the containing block-level element. The only element where the viewport size is considered is the root (html) element.
    Ah, yes, I said window but meant region it is in. True.
    But.... still, note that text is very different from these.
    Daniel - Freelance Web Design | <?php?> | <html>| espa˝ol | Deutsch | italiano | portuguŕs | catalÓ | un peu de franšais | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum

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
  •