473,788 Members | 3,101 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

font sizes

> I work on Windows (unfortunately) . But I regularly view my work in a Mac
(IE5.x and Safari). I do not notice the phenomenon that you describe.
But then, it hardly seems relevant. What's important is that 100% is
right for you on your setup, and right for someone else on their setup,
whatever there os is.
normal in my case results in too big on Windows. My code is all
valid, so too are style sheets.
I doubt you have anything to worry about, but just in case... url?

Brian
and
When not setting a font size, browsers use *their* normal font size
(whatever the user wants, generally speaking; and it's changeable to
whatever they want, if it's not). But they can't do that if you fix a font
size, and relative font sizing is still a problem (they may have to make
adjustments from site to site).

You're doing the right thing by not setting a size, you don't need to worry
about how different the text looks on different browsers in this situation.
No more than some TV show producer should concern themselves about how loud
or colourful their show is, so long as they produce it to the normal
conditions. The viewer can adjust their set as required.

Tim
Thanks Brian and Tim for your replies. There seems to be a misunderstandin g.
It is the least important thing that it looks good on my set up! I would
rather it looked terrible on my set up but great on everyone else's because
the sites I make are not for me to look at but for others all over the show
(on mostly PCs).

I would be very surprised if I did not have something to worry about. I
understand the point about user settings (analogy of volume control). I am
not worried about how folk set their "volume" controls (so to speak). What I
am worried about is that quite generally, the fonts on most pro sites look
good, normal, average, like each other in size whilst mine stand out as
bigger though I do not set any special font size. What is going on?
My concerns are based on the evidence of looking at my sites on PCs and
getting some written and voiced feedback, and also from a site called
iCapture (takes pics of how sites look on different browsers), am appalled
to see my fonts so big.

Yes, of course, an example: http://ihpst.org/may2004newsletter.html

In iCapture looking at how it looks on IE6 on a PC, the nav bar is fine (no
wonder, the fonts are coded small, but the main Ps in the body are enormous!
Actually, same trouble in Safari for Macs (again, through iCapture and
verbal feedback from a friend)

I look at things on my machine on IE 5.1.6, Mozilla 1.3.1, iCab, Netscape
6.2 and set the prefs for my personal viewing for fonts at 10 or 11pt (but
this should be irrelevant to my problem as explained above). It is the
relativities that are stumping me. I set the code for <meta
http-equiv="Content-Type" content="text/html; charset=iso-8859-1">.

I know there is something I am missing. I have the impression that the pro
sites that look nice in font sizes also are less than pure in their code and
do not rely on simple css linked stylesheets alone, they often make heavy
use of font tags in the html and fancy javascript controls. What's a simple
guy like me that hand-codes and wants to trust the linked css technology to
do? Someone tell me! :)

You should be able to see my style sheet that controls this one example at
http://ihpst.org/ihpst.css

Appreciate any help.

Jul 20 '05
15 2653
On Mon, 17 May 2004, Jukka K. Korpela wrote:
Tim <ti*@mail.local host.invalid> wrote:
chart43 <ch*****@optusn et.com.au> posted:
I am much tempted to just specify sans-serif in the css at the body
level and be done (but I will experiment a little further...
I have done this for headings on my pages, but notice a problem on
Windows machines: MSIE, as usual, ignores the specs and doesn't see
sans-serif as an instruction to use the preferred sans-serif font,


Actually, sans-serif means a generic sans-serif font.


Yes, and older versions of IE had some spectacularly bad behaviour in
that. Which may have persuaded authors to nominate several plausible
Windows font names ahead of the generic choice, thus bringing everyone
down to the mass-market "common factor". I have the impression that
recent versions have got somewhat better. And since anyone who's
keeping their Windoze secure will have been forced to upgrade to IE6
(and taking a look at server access statistics, not that I'd want to
put *too* much credence on sever statistics), probably we can pretty
much ignore old IE versions now.
and the CSS 2 specification explicitly says:
"User agents are encouraged to allow users to select alternative choices
for the generic fonts."


So it does. And how does the dominant vendor respond?
but will often decide to use a font called sans-serif.


Are you sure you have specified sans-serif correctly, and not using the
notation "sans-serif" with quotation marks (which by definition means a
specific, though probably nonexistent, font with that proper name)?


You know, the CSS specs are fairly vague - and I think deliberately so
- when it comes to matching up a CSS font face specification with some
actual font on the target system.

It could be argued that matching a CSS specification of "sans-serif"
with an actual font "MS Sans Serif" was well within the spirit of the
CSS specification, if no closer name match can be found. Even if the
result is unsatisfactory in several different ways!

Well, it seemed that earlier versions of IE were choosing "MS Sans
Serif" in response to the generic sans-serif specification, but I
don't think that current versions are doing so(?)
Jul 20 '05 #11
On Mon, 17 May 2004, Jukka K. Korpela wrote:
Actually, sans-serif means a generic sans-serif font.
Actually, sans-serif means Arial to Microsoft. If you specify "sans-serif"
you will get Arial in Internet Explorer - even if your preferred typeface
is some other sans-serif tpyeface.
I must admit that the description of "generic fonts" looks more and more
confusing to me.


Me too. If don't see any point in specifying a "generic" typeface as last
item in the list.

--
Top-posting.
What's the most irritating thing on Usenet?

Jul 20 '05 #12
Andreas Prilop wrote:
On Mon, 17 May 2004, Jukka K. Korpela wrote:
Actually, sans-serif means a generic sans-serif font.


Actually, sans-serif means Arial to Microsoft. If you specify "sans-serif"
you will get Arial in Internet Explorer - even if your preferred typeface
is some other sans-serif tpyeface.


Exeption being if system doesn't have Arial font (someone dislikes it so
much that removed it). Then at least some versions of IE try to find most
similar font, which can be anything (not just one (low quality) font is
done by editing Arial, leaving panorose information as it was...)
--
Lauri Raittila <http://www.iki.fi/lr> <http://www.iki.fi/zwak/fonts>
I'm looking for work | Etsin työtä
Jul 20 '05 #13
Tim
chart43 <ch*****@optusn et.com.au> posted:
I am much tempted to just specify sans-serif in the css at the body
level and be done (but I will experiment a little further...

Tim <ti*@mail.local host.invalid> wrote:
I have done this for headings on my pages, but notice a problem on
Windows machines: MSIE, as usual, ignores the specs and doesn't see
sans-serif as an instruction to use the preferred sans-serif font,
"Jukka K. Korpela" <jk******@cs.tu t.fi> posted:
Actually, sans-serif means a generic sans-serif font.
System preferred then? ;-)
I must admit that the description of "generic fonts" looks more and more
confusing to me. And it does not help that browsers often have poor
assignments for them.
I can see there being merit in saying use a sans-serif font for headings
and a serif font for text, for example, and letting which particular font
be picked by the user. Opera's method isn't too bad, though it's
convoluted if you want to see all of your H elements to a specific font
(you have to do it one by one, you can't select a group and pick a face).
but will often decide to use a font called sans-serif. Are you sure you have specified sans-serif correctly, and not using the
notation "sans-serif" with quotation marks (which by definition means a
specific, though probably nonexistent, font with that proper name)?
Yes, just like this:

body {font-family: serif}
h1,h2,h3,h4,h5, h6 {font-family: sans-serif; font-weight: bold;}
There's another non-Windows problem: Sans-serif fonts are generally
harder to read (when they're the same size and weight as serif fonts)
on machine printed text (particularly low-resolution screens, as
nearly all VDUs are).

Pardon? If you are referring to printed text, where do the _screens_ come
into the play?


I said machine printed, as opposed to hand written (even if it is printed
on a screen). Machine "rendered" might have been a better word, though; it
was the machine aspect that I was referring to. It's the absolute
regularity of the rendering that give the eyes trouble interpreting text.

--
If you insist on e-mailing me, use the reply-to address (it's real but
temporary). But please reply to the group, like you're supposed to.

This message was sent without a virus, please delete some files yourself.
Jul 20 '05 #14
Tim
On Mon, 17 May 2004 10:43:14 +0100,
"Alan J. Flavell" <fl*****@ph.gla .ac.uk> posted:
Well, it seemed that earlier versions of IE were choosing "MS Sans
Serif" in response to the generic sans-serif specification, but I
don't think that current versions are doing so(?)


Mine still is, from time to time (6.0.2800.1106I S on Win98SE).

--
If you insist on e-mailing me, use the reply-to address (it's real but
temporary). But please reply to the group, like you're supposed to.

This message was sent without a virus, please delete some files yourself.
Jul 20 '05 #15
On Tue, 18 May 2004, Lauri Raittila wrote:
Exeption being if system doesn't have Arial font (someone dislikes it so
much that removed it).


I rather believe in the Yeti than a Windows computer without Arial. ;-)

--
Top-posting.
What's the most irritating thing on Usenet?

Jul 20 '05 #16

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
2738
by: Hostile17 | last post by:
What's considered to be the definitive version of a "good font settings" style sheet? That is, one which allows nearly all modern browsers, and Netscape 4, to get readable text. The basis of this is at http://www.alistapart.com/stories/sizematters/ -- the column "Size Matters" by Todd Fahrner. The concept, as I understand it, is set Netscape 4 fonts to specific
131
21691
by: Peter Foti | last post by:
Simple question... which is better to use for defining font sizes and why? px and em seem to be the leading candidates. I know what the general answer is going to be, but I'm hoping to ultimately get some good real world examples. Fire away! :) Regards, Peter Foti
39
8677
by: David Jubinville | last post by:
Hi All, I've run into a bit of an interesting problem with CSS and font DPI and would certainly welcome help. Problem: Page layout defined in CSS has font size issues (overlapping frames, text overflowing out of popup window, etc) on a windows systems using 120dpi fonts (large fonts), but everything looks perfect in 96dpi small fonts.
300
18475
by: Ståle Sæbøe | last post by:
I am a bit curious about this. The graphic design people I work with say it is their preferred font for web pages. The reason being that it is "kinder" to the eye both in terms of shape and size. The HTML "hardcore elititst" profess that it is a useless font because it is too big compared to other fonts. Personally I do not care one way or the other, but I generally trust
9
3779
by: Dr John Stockton | last post by:
Assuming default set-ups and considering all reasonable browsers, whatever that may mean, what should an author expect that his readers in general will see (with visual browsers) for a page with body like <br><br> Abc <font size=+1> Abc <font size=+1> Abc <font size=+1> Abc <font size=+1> Abc <font size=+1>
60
4787
by: deko | last post by:
As I understand it, most browser manufacturers have agreed on 16px for their default font size. So, this should be an accurate conversion for percentages: px % 16 = 100 14 = 87.5 13 = 81.25
16
2458
by: maya | last post by:
I have heard so much preaching here about how font sizes should be set as percentages so users can change font-sizes on their browsers... ok, so now at work am working on a site where we need to do precisely that b/c it's for an audience that some users maybe be visually-impaired.. but I can't get it to work right, problem is that font sizes are not consistent across diff elements.. code: body {text-align:center; /* to center...
40
2981
by: Paul Davis | last post by:
Hi all, I'm building some style sheets and trying to play the old game of balancing designer pixel perfection and still allowing users to adjust their font sizes. The compromise I've made with the designer is that he'll accept allowing users to change font sizes it it "looks right" with the default setting. I'm using em to set the font size. So, anyway, here's the problem. At 0.96em we get the perfect font size. But, if the font is...
16
5801
by: Frank Steinmetzger | last post by:
Hello Group On my website I used to have Tahoma 8pt defined in my CSS styles. That gives me the "normal" font Windows uses everywhere in its dialogues. However, on Linux things seem to be different. If I want a font equal in size to Windows' Tahoma 8pt, I need to set 11 as font size. This has the result that text on my website is too small for Linux systems at the moment. Could you tell me what I need to do in order to get the same...
27
3242
by: 1001 Webs | last post by:
I am trying to make my style sheet as compatible as possible and I'm getting a bit confused here. I've read that the best size for font-size would be 76.1%; due to shortcomings in the way both IE and Opera render that attribute. Is this correct?
0
9655
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9498
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10363
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10172
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10110
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
1
7517
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5398
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4069
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2894
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.