[KDE Dot News]
 faq
 flatforty
 contribute
 subscribe
 configure
 search
 rdf

 main
 parent
 thread


Re: Lovely Improvement but...
by Steve on Monday 03/Mar/2003, @01:49
I bet you're using IE, aren't you?

In Konqueror and Mozilla, you can explicitly set the preferred font size, but in IE you're restricted to View->Text Size. I couldn't find a way of changing "normal" in IE to be a smaller font size, and if I use "smaller" some sites are too small. IE has no minimum font size either.

I fixed it for me by not using IE. You can't do that for other people though, so on my sites I did this in the style sheet for IE users only:

body, td, th { font-size: 80%; }

All of the other font sizes must then be relative and not explicit (eg: "larger", "smaller" or "xx%" instead of "normal", "large" etc). Other elements will inherit the parent element's font size, and adjustments will be relative to the inherited size.

I think the KDE site would benefit from doing the same.

-- Steve
  Related Links
 ·   Articles on KDE Official News
 ·   Also by Steve
 ·   Contact author

Thread Threshold:

The Fine Print: The following comments are owned by whomever posted them.
( Reply )

Re: Lovely Improvement but...
by Jim Dabell on Monday 03/Mar/2003, @02:43
You want to watch out when using hacks like that. The default font-size for IE 4 - 6 (in quirks mode) is small, which makes the 80% very small indeed.

If you only test in IE 6 (in standards-compliant mode), you won't catch this, as it uses the proper default, medium.

Why not just let your users view the site using the setting they want?
[ Reply To This | View ]
The Fine Print: The previous comments are owned by whomever posted them.
( Reply )

  "It's Friday the 13th, so, I thought it appropriate for me to commit this now." -- Charles Samuels
KDE®, "K Desktop Environment", "KDE Dot News", "got the dot?" and the KDE Logo® are trademarks or registered trademarks of KDE e.V. in the European Union, the United States and other countries. All other trademarks and copyrights on this page are owned by their respective owners. Comments are owned by the poster. The rest: Copyright © 2000-2008 KDE e.V. for The KDE Project. For further information or comments on this site, please contact the Webmaster.
[ home | post article | flat forty | subscribe | search | rdf ]