HighDots Forums  

How to set default font size to small for a page's body?

HTML Writing HTML for the Web (comp.infosystems.www.authoring.html)


Discuss How to set default font size to small for a page's body? in the HTML forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Don Li
 
Posts: n/a

Default How to set default font size to small for a page's body? - 04-16-2008 , 09:58 AM







I've tried
<body style="font-family:Verdana,Arial,Helvetica;font-size:0.8em;">
or
<body style="font-family:Verdana,Arial,Helvetica;font-size:11pct;">
or
<body style="font-family:Verdana,Arial,Helvetica;font-size:80%;">
to no avail. In IE7 it shows up as Medium. What did I do wrong?

Thanks.

Reply With Quote
  #2  
Old   
Harlan Messinger
 
Posts: n/a

Default Re: How to set default font size to small for a page's body? - 04-16-2008 , 10:44 AM






Don Li wrote:
Quote:
I've tried
body style="font-family:Verdana,Arial,Helvetica;font-size:0.8em;"
or
body style="font-family:Verdana,Arial,Helvetica;font-size:11pct;"
or
body style="font-family:Verdana,Arial,Helvetica;font-size:80%;"
to no avail. In IE7 it shows up as Medium. What did I do wrong?

Thanks.
?? Setting the font size in the document doesn't change the IE
*setting*, it changes the sizes of the fonts *relative* to that setting
(assuming you're using relative units like % or em).

Anyway, why are you trying to set the primary font of your page to a
size that's smaller than the user finds convenient to read?


Reply With Quote
  #3  
Old   
David Stone
 
Posts: n/a

Default Re: How to set default font size to small for a page's body? - 04-16-2008 , 10:49 AM



In article
<8f944a56-33ef-4999-8654-c1bb7bc1ca28 (AT) u69g2000hse (DOT) googlegroups.com>,
Don Li <tatata9999 (AT) gmail (DOT) com> wrote:

Quote:
I've tried
body style="font-family:Verdana,Arial,Helvetica;font-size:0.8em;"
or
body style="font-family:Verdana,Arial,Helvetica;font-size:11pct;"
or
body style="font-family:Verdana,Arial,Helvetica;font-size:80%;"
to no avail. In IE7 it shows up as Medium. What did I do wrong?
Perhaps you forgot to change the default font sizes in your
browser, so that your "small" text doesn't look the way you
expect? Or perhaps you are running into issues where your CSS
is trying to make the text smaller than the minimum font size
set in your browser?

See elsewhere in this group for information about why you shouldn't
set the body font-size to anything other than 100% (i.e. the user's
preferred font size), and especially about problems with Verdana
relative to other fonts.


Reply With Quote
  #4  
Old   
Don Li
 
Posts: n/a

Default Re: How to set default font size to small for a page's body? - 04-16-2008 , 11:03 AM



On Apr 16, 10:44*am, Harlan Messinger
<hmessinger.removet... (AT) comcast (DOT) net> wrote:
Quote:
Don Li wrote:
I've tried
body style="font-family:Verdana,Arial,Helvetica;font-size:0.8em;"
or
body style="font-family:Verdana,Arial,Helvetica;font-size:11pct;"
or
body style="font-family:Verdana,Arial,Helvetica;font-size:80%;"
to no avail. *In IE7 it shows up as Medium. *What did I do wrong?

Thanks.

?? Setting the font size in the document doesn't change the IE
*setting*, it changes the sizes of the fonts *relative* to that setting
(assuming you're using relative units like % or em).

Anyway, why are you trying to set the primary font of your page to a
size that's smaller than the user finds convenient to read?
Would like to get key points of WHAT, For WHOM, WHY and HOW across on
one screen (about 80% of a full screen) without scrolling.


Reply With Quote
  #5  
Old   
Andreas Prilop
 
Posts: n/a

Default Re: How to set default font size to small for a page's body? - 04-16-2008 , 11:13 AM



On Wed, 16 Apr 2008, Don Li wrote:

Quote:
What did I do wrong?
You tried to mess with the reader's preferred font size for BODY.
Don't do that! Do not specify a font size for BODY.

--
In memoriam Alan J. Flavell
http://groups.google.com/groups/sear...Alan.J.Flavell


Reply With Quote
  #6  
Old   
Jonathan N. Little
 
Posts: n/a

Default Re: How to set default font size to small for a page's body? - 04-16-2008 , 11:25 AM



Don Li wrote:

Quote:
Would like to get key points of WHAT, For WHOM, WHY and HOW across on
one screen (about 80% of a full screen) without scrolling.
Whose screen? You will have no idea what your visitor's screen size will
be. They could be using one of the iPhones! Also screen size != browser
window size, not *everyone* runs a browser maximized. I rarely do. Time
to rethink your design.

--
Take care,

Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com


Reply With Quote
  #7  
Old   
Don Li
 
Posts: n/a

Default Re: How to set default font size to small for a page's body? - 04-16-2008 , 11:31 AM



On Apr 16, 11:15*am, "Beauregard T. Shagnasty"
<a.nony.m... (AT) example (DOT) invalid> wrote:
Quote:
Don Li wrote:
I've tried

Please read this:http://tekrider.net/html/fontsize.php

.. What did I do wrong?

You decided to pick a size which would make many visitors (including me)
squint at the monitor. If 100% is too large for your own taste, decrease
your own browser's default size. But leave it adequate for me.

I expect your post was just a test. Normally you would move the styling
to your CSS style sheet.

--
* *-bts
* *-Friends don't let friends drive Vista
People. Please consider the following factors:
a) the majority of my users are likely not knowing how to set font
size with their browser and I don't intend to provide instruction on
that (once again, they are not you, not tech savvy);
b) the 'small' font size looks good (not the default 100% size) for
the home page (feedback from beta users).

Thanks.


Reply With Quote
  #8  
Old   
Andreas Prilop
 
Posts: n/a

Default Re: How to set default font size to small for a page's body? - 04-16-2008 , 11:36 AM



On Wed, 16 Apr 2008, Don Li wrote:

Quote:
the majority of my users are likely not knowing how to set font
size with their browser
Those who also don't know how to adjust the rear-view mirror?

--
In memoriam Alan J. Flavell
http://groups.google.com/groups/sear...Alan.J.Flavell


Reply With Quote
  #9  
Old   
Harlan Messinger
 
Posts: n/a

Default Re: How to set default font size to small for a page's body? - 04-16-2008 , 11:45 AM



Don Li wrote:
Quote:
On Apr 16, 10:44 am, Harlan Messinger
hmessinger.removet... (AT) comcast (DOT) net> wrote:
Don Li wrote:
I've tried
body style="font-family:Verdana,Arial,Helvetica;font-size:0.8em;"
or
body style="font-family:Verdana,Arial,Helvetica;font-size:11pct;"
or
body style="font-family:Verdana,Arial,Helvetica;font-size:80%;"
to no avail. In IE7 it shows up as Medium. What did I do wrong?
Thanks.
?? Setting the font size in the document doesn't change the IE
*setting*, it changes the sizes of the fonts *relative* to that setting
(assuming you're using relative units like % or em).

Anyway, why are you trying to set the primary font of your page to a
size that's smaller than the user finds convenient to read?

Would like to get key points of WHAT, For WHOM, WHY and HOW across on
one screen (about 80% of a full screen) without scrolling.
Why? (Honestly, I'm often baffled by the criteria people trying to set
up a web page invent for themselves, especially when they produce
undesirable results, such as here where the result will be that people
find the page less comfortable to read.) How do you know how large any
given user's screen is? What makes you think they have their browser
opened to the full size of their screen anyway? I have a large,
high-resolution screen, and it would normally be ridiculous for me to
maximize my browser--I have no need for a document to be that wide. Yet
these days there are web designers who seem to think they need to have
800-pixel-wide graphics and six columns of text across the page, so that
I either have to scroll to the right (which, unlike scrolling down,
isn't part of the normal web experience) or expand my browser against my
preferences, so that I can only see the browser and can't see anything
else I have on my desktop.


Reply With Quote
  #10  
Old   
Harlan Messinger
 
Posts: n/a

Default Re: How to set default font size to small for a page's body? - 04-16-2008 , 11:51 AM



Don Li wrote:
Quote:
On Apr 16, 11:15 am, "Beauregard T. Shagnasty"
a.nony.m... (AT) example (DOT) invalid> wrote:
Don Li wrote:
I've tried
Please read this:http://tekrider.net/html/fontsize.php

.. What did I do wrong?
You decided to pick a size which would make many visitors (including me)
squint at the monitor. If 100% is too large for your own taste, decrease
your own browser's default size. But leave it adequate for me.

I expect your post was just a test. Normally you would move the styling
to your CSS style sheet.

--
-bts
-Friends don't let friends drive Vista

People. Please consider the following factors:
a) the majority of my users are likely not knowing how to set font
size with their browser and I don't intend to provide instruction on
that (once again, they are not you, not tech savvy);
Your reasoning is backwards. If you think your users will be unable to
change the size of their text, then that's exactly why you *shouldn't*
make it too small for some of them to read. Some people *need* the type
to be at least normal size. Nobody needs it *smaller*.

Quote:
b) the 'small' font size looks good (not the default 100% size) for
the home page (feedback from beta users).
On your screen in your browser when you have it set to display type at a
Medium setting and you have the quality of eyesight that you are
fortunate enough to have--and may not still have 10 or 20 years from now.


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.