473,881 Members | 1,602 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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


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.
Jun 27 '08 #1
58 5793
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?
Jun 27 '08 #2
On Apr 16, 10:44*am, Harlan Messinger
<hmessinger.rem ovet...@comcast .netwrote:
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.
Jun 27 '08 #3
In article
<8f************ *************** *******@u69g200 0hse.googlegrou ps.com>,
Don Li <ta********@gma il.comwrote:
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.
Jun 27 '08 #4
On Wed, 16 Apr 2008, Don Li wrote:
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
Jun 27 '08 #5
On Wed, 16 Apr 2008, Don Li wrote:
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
Jun 27 '08 #6
Don Li wrote:
On Apr 16, 10:44 am, Harlan Messinger
<hmessinger.rem ovet...@comcast .netwrote:
>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.
Jun 27 '08 #7
Don Li wrote:
On Apr 16, 11:15 am, "Beauregard T. Shagnasty"
<a.nony.m...@ex ample.invalidwr ote:
>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*.
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.
Jun 27 '08 #8
On Apr 16, 11:51*am, Harlan Messinger
<hmessinger.rem ovet...@comcast .netwrote:
Don Li wrote:
On Apr 16, 11:15 am, "Beauregard T. Shagnasty"
<a.nony.m...@ex ample.invalidwr ote:
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*.
You're confused with my follow-up note, "not likely to know to how to
change font size" is not equal to "will be unable to
change the size of their text".

Just answer the question if you are able to, like yes, one can set a
default font size to this or that for a page, here's how, no, you
can't.
Jun 27 '08 #9
On Wed, 16 Apr 2008, Don Li wrote:
Just answer the question if you are able to
Welcome to Usenet!

You post something, we discuss its implications. If the discussion
happens to answer a question you've asked, that's incidental.

--
Solipsists of the world - unite!
Jun 27 '08 #10

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

Similar topics

2
9695
by: Michael | last post by:
Hi, How can I set my default display font size, type for a web page, or a <table>? I dont want to write <font size=....> everywhere, especially inside each <td>. I know this is HTML question, kindly please help to tell me. Thanks
8
2326
by: Fast Eddie | last post by:
I've done a bit of searching, and I can't find the answer to this question: If you omit the "font-size" property from all of your CSS, does it default to 100%? Thanks for bearing with a newbie.
7
10062
by: xformer | last post by:
Hello everybody, today I was working on a web site when I found a strange effect. Take the following html document: ----begin---- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta http-equiv="content-type" content="text/html;
0
9926
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
9776
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
9552
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7953
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
7108
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5976
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4597
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
2
4194
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3223
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.