Re: Conditional formatting for font size?



On 7 sep, 02:23, Charlie <charliecle...@xxxxxxxxxxxxxx> wrote:

here to ask the question and learn something.

I believe the best policy is to not define any font-size for any
textual elements. That way

- the text will be resizable at will by the users/visitors in any/all
browsers, if they need to resize the text size (low vision)
- the accessibility feature of browsers regarding font-size will be
already, by default, established, honored.
E.g.: Tools/Internet Options.../Accessibility/Ignore font-size on
webpages in Internet Explorer 7 and Internet Explorer 8 will be
already working perfectly for your IE 7 and IE 8 users. What more can
you ask?
- the webpage will avoid each and all of the font-size unit problems
or known bugs (px, em, ex) in browsers. What more could you ask for?
- browser default font-size values for elements like h1, h2, ... p,
div are now pretty much the same across browser manufacturers (at
least in their recent releases: IE 8, Firefox 3.x, Opera 9+). So, why
would you (or anyone) need to modify these values?

More reading/learning:

"
Browsers allow the user to set a default font size which will be
applied to any font that is not given an explicit size by the
displayed page.(...)
If you do not specify any font size at all (as on the pages you are
reading), text will appear in the default size that was selected by
the user. (...)
"
Truth & Consequences in web design: Font size by Chris Beal
http://pages.prodigy.net/chris_beall/TC/Font size.html

Let Users Control Font Size
http://www.useit.com/alertbox/20020819.html

Browser Defaults Are Not Too Big
http://mrmazda.no-ip.com/auth/bigdefaults.html

"
How do site developers know what size my default is?
They don't. They can't.
"
Web Browser Default Text Size
http://mrmazda.no-ip.com/auth/defaultsize.html

The 100% Easy-2-Read Standard
http://informationarchitects.jp/100e2r/

regards, Gérard
--
Internet Explorer 8 bugs: 56 bugs so far
http://www.gtalbot.org/BrowserBugsSection/MSIE8Bugs/
Internet Explorer 7 bugs: 182 bugs so far
http://www.gtalbot.org/BrowserBugsSection/MSIE7Bugs/
.



Relevant Pages

  • Re: Conditional formatting for font size?
    ... I believe the best policy is to not define any font-size for any ... - the accessibility feature of browsers regarding font-size will be ... Browsers allow the user to set a default font size which will be ... Internet Explorer 8 bugs: 56 bugs so farhttp://www.gtalbot.org/BrowserBugsSection/MSIE8Bugs/ ...
    (alt.html)
  • Re: font-size question...
    ... as percentages so users can change font-sizes on their browsers... ... instance, means the font-size is 100% of the parent's font size, which is ... If you later set the font-size to 70%, say in a div, that is inherited ...
    (comp.infosystems.www.authoring.stylesheets)
  • Re: User selectable font size and IE6
    ... browsers should make this evident. ... Thank you for the correction and for your study on font sizes. ... Thus, since fonts exist in some sizes only, and ultimately since the physical presentation consists of pixels, the computed value of font-size needs to be mapped to a value that can be used, or "approximated" by it. ...
    (comp.infosystems.www.authoring.stylesheets)
  • Re: Are EMs still needed?
    ... I am not saying users are wrong. ... I am saying browsers should use, for example, a 12px default font size. ... body {font-size: 75.0%} ...
    (comp.infosystems.www.authoring.stylesheets)
  • Re: TaskSpeed results for My Library
    ... And your quoting is as incompetent as usual (I doubt I noted ... Other libraries unit tests are inconsequential at this stage. ... through unscathed in all browsers tested. ... expect others to report bugs in your lib. ...
    (comp.lang.javascript)