Jump to content

Recommended Posts

Posted

Don't know if there is a standard or not but setting a specific point size will prevent someone from increasing or decreasing the font size in their browser.

 

When I do specify point sizes I generally make them 10, 11 or 12 depending on what I am using them for.

Posted

I base my choice in font size on what size monitor I think most of my users will be using. If most of them are on 800x600 monitors, I choose a smaller font size because it will end up showing up larger on the 800x600 monitor than a 1024x768 monitor just by reason of monitor resolution.

 

Generally, I try to code my text to be in the neighborhood of 10pt. I've recently learned (see Designing with Web Standards by Eric Meyer), however, that there can be problems to setting your font size specifically to a particular point value, for example:

>font: 10pt tahoma,verdana,arial,sans-serif;

In addition, declaring specific pixel values for your font sizes, while definitely providing a standard size for each font across browsers and platforms, also poses some difficulties (again, I reference Eric Meyer's book).

 

I found an interesting article that seems to address the size of font sizes quite nicely. It was published on the web site "A List Apart". You can find it at www.alistapart.com/articles/sizematters

 

I hope you will find something in this article that will be helpful to you.

 

;)

Posted

Hi Thomas.

 

I believe the conventional wisdom is not to use Points for specifying web pages. Points are specifically a Print concept, and are interpreted differently by different browser/makers, so the results will not be consistent. Pixels are better, as they are consistent, and other things (like images) are specified in pixels. On another hand, Keywords allow flexibility, which pixels do not. Sadly, the bottom line is that there is no pleasing all the browsers all the time.

 

Once again I'm going to recommend Jeffrey Zeldman's excellent Designing With Web Standards, a fount of knowledge, history and current thinking about so many things. He devotes an entire chapter to the issue of Fonts and Sizes, and covers several approaches that may help. No, I don't work for him, nor have I ever met him; it's just the best book investment I've ever made in the field of web development.

 

There you go: my 2p. Hope it helps somewhat. ;)

Jim

Posted

I have a 40 inch plasma monitor so I see things best in 2 point.

 

Wait.......

I was dreaming again, even with the 21 inch monitor I am using my old eyes need at least 10.

Posted

I like the idea of using percentages

i.e. <H1> as 150%

<H2> as 125%

.footer as 80%

and so on.

That way the visitor can increase or decrease

the point size to suite their eyes and monitor.

Posted
I like the idea of using percentages

i.e.  <H1> as 150%

<H2> as 125%

.footer as 80%

and so on.

That way the visitor can increase or decrease

the point size to suite their eyes and monitor.

Don,

 

This technique works as long as you're very careful not to nest your font sizes. For example, if you code one font size as 75% and then inadvertently set another font size to 50% within the region of the 75% font size, what you'll end up with is text that's 37.5% of standard size instead of the 50% size you intended.

 

Although I've always just set my font sizes in pixels so that they'll be consistent in size across browsers, I do realize the shortcomings of this method because some people may want to increase or decrease their font sizes. By setting them to a specified pixel size, they can't do that.

 

I'm currently playing around with the keyword method of controlling font sizes. It doesn't give me as much precise control, but it's far better from a usability standpoint. I guess you might say I'm a web standards and usability convert. I used to create pages that looked good to me without consideration to others. Boy, have I since changed my tune!!!

 

B)

Posted (edited)

While researching font size standards to reply to this thread, I found this link www.sam-i-am.com/work/sandbox/css/fontsizes.html which shows you a listing of many of the possible CSS font sizes and you can change the font to show too. :)

 

I changed now to using em's as my font size unit. I use to use small and xx-small and all those but became weird when the viewer resized the font via the browser. But who knows what the standard is...

 

later,

!!blue

 

---edit---

W3C suggests em or percentages...read more www.w3.org/QA/Tips/font-size

---/edit---

Edited by !!blue
Posted

I am using em's as well on my new site. It scales up and down easily depending on the user preferences, but be careful and make sure to test your pages in various browser text sizes. The jumps are pretty big!

 

I use 1em for normal text, .8em for smallish and 1.2em or 1.4em for headlines.

 

Most of my audience has, well, been around the block a few times :unsure: and they appreciate the relatively larger text.

 

...dave

Posted (edited)
I do realize the shortcomings of this method because some people may want to increase or decrease their font sizes. By setting them to a specified pixel size, they can't do that.

It's totally uncool across browsers, but one more kudo to Mozilla Firefox is that it will resize your pages even in they use pixels. I tested IE and it doesn't. Not that we can count on this as developers but it's nice as a user! It sure would be nice for there to be standards that everyone adheres to (thus the name "standard")! :unsure:

Edited by TCH-Jim
Posted
I believe the conventional wisdom is not to use Points for specifying web pages

I cant use pixels (I think) since i use CuteSite builder to make my pages. :unsure:

Posted
I cant use pixels (I think) since i use CuteSite builder to make my pages. :dance:

Not that I'm recommending pixels as the way to go, but if you want to use pixels, you can probably go in and edit your style sheets by hand.

 

I'm not familiar with CuteSite Builder, but doesn't it offer stylesheets? I think stylesheets are pretty much integrated with web page building software now, aren't they? If CSB spits out style sheets for you, just open them in your favorite text editor and hack away!!! Naughty

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...