PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Autres forums > Forum Programmation & Conception > comp.info.authoring.html > How to set default font size to small for a page's body?
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
How to set default font size to small for a page's body?

Réponse
 
LinkBack Outils de la discussion
Vieux 16/04/2008, 15h58   #1
Don Li
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut 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.
  Réponse avec citation
Vieux 16/04/2008, 16h44   #2
Harlan Messinger
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: How to set default font size to small for a page's body?

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?
  Réponse avec citation
Vieux 16/04/2008, 17h03   #3
Don Li
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: How to set default font size to small for a page's body?

On Apr 16, 10:44am, Harlan Messinger
<hmessinger.removet...@comcast.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.
  Réponse avec citation
Vieux 16/04/2008, 17h13   #4
Andreas Prilop
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: How to set default font size to small for a page's body?

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
  Réponse avec citation
Vieux 16/04/2008, 17h15   #5
Beauregard T. Shagnasty
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: How to set default font size to small for a page's body?

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
  Réponse avec citation
Vieux 16/04/2008, 17h25   #6
Jonathan N. Little
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: How to set default font size to small for a page's body?

Don Li wrote:

> 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
  Réponse avec citation
Vieux 16/04/2008, 17h31   #7
Don Li
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: How to set default font size to small for a page's body?

On Apr 16, 11:15am, "Beauregard T. Shagnasty"
<a.nony.m...@example.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);
b) the 'small' font size looks good (not the default 100% size) for
the home page (feedback from beta users).

Thanks.
  Réponse avec citation
Vieux 16/04/2008, 17h36   #8
Andreas Prilop
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: How to set default font size to small for a page's body?

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
  Réponse avec citation
Vieux 16/04/2008, 17h45   #9
Harlan Messinger
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: How to set default font size to small for a page's body?

Don Li wrote:
> On Apr 16, 10:44 am, Harlan Messinger
> <hmessinger.removet...@comcast.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.
  Réponse avec citation
Vieux 16/04/2008, 17h51   #10
Harlan Messinger
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: How to set default font size to small for a page's body?

Don Li wrote:
> On Apr 16, 11:15 am, "Beauregard T. Shagnasty"
> <a.nony.m...@example.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*.

> 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.
  Réponse avec citation
Vieux 16/04/2008, 18h07   #11
Don Li
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: How to set default font size to small for a page's body?

On Apr 16, 11:51am, Harlan Messinger
<hmessinger.removet...@comcast.net> wrote:
> Don Li wrote:
> > On Apr 16, 11:15 am, "Beauregard T. Shagnasty"
> > <a.nony.m...@example.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*.


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.


  Réponse avec citation
Vieux 16/04/2008, 18h12   #12
Andreas Prilop
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: How to set default font size to small for a page's body?

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!
  Réponse avec citation
Vieux 16/04/2008, 18h16   #13
Jonathan N. Little
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: How to set default font size to small for a page's body?

Don Li wrote:

> 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.


Just answer the question, are you making this page for you or for the
people who will view it? If for the latter then don't fool with my
default font size, it is a pain to have to keep adjusting my found as I
go from page to page. End result is "I", and many others, just won't
come back which is never a good marketing strategy.


--
Take care,

Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com
  Réponse avec citation
Vieux 16/04/2008, 18h42   #14
Beauregard T. Shagnasty
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: How to set default font size to small for a page's body?

Don Li wrote:

> 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".


Whether or not your visitors know how to change the font size in their
browsers is no reason for you to penalize those who don't.

Think flexible. The Web is not paper. And we do not have your eyes.

> 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.


Sure you can. Set it for 100%.

--
-bts
-Friends don't let friends drive Vista
  Réponse avec citation
Vieux 16/04/2008, 18h47   #15
Don Li
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: How to set default font size to small for a page's body?

On Apr 16, 12:42pm, "Beauregard T. Shagnasty"
<a.nony.m...@example.invalid> wrote:
> Don Li wrote:
> > 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".

>
> Whether or not your visitors know how to change the font size in their
> browsers is no reason for you to penalize those who don't.
>
> Think flexible. The Web is not paper. And we do not have your eyes.
>
> > 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.

>
> Sure you can. Set it for 100%.
>


Why setting it to 85% or 80% is not working for IE7?
  Réponse avec citation
Vieux 16/04/2008, 18h53   #16
Andreas Prilop
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: How to set default font size to small for a page's body?

On Wed, 16 Apr 2008, Don Li wrote:

>> Set it for 100%.

>
> Why setting it to 85% or 80% is not working for IE7?


80% is small-print - appropriate when you want to deceive people
and hide important information in your contracts.

Are you a lawyer?

--
I used to believe in reincarnation in a former life.
  Réponse avec citation
Vieux 16/04/2008, 18h57   #17
Don Li
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: How to set default font size to small for a page's body?

On Apr 16, 12:53pm, Andreas Prilop <prilop2...@trashmail.net> wrote:
> On Wed, 16 Apr 2008, Don Li wrote:
> >> Set it for 100%.

>
> > Why setting it to 85% or 80% is not working for IE7?

>
> 80% is small-print - appropriate when you want to deceive people
> and hide important information in your contracts.
>
> Are you a lawyer?
>
> --
> I used to believe in reincarnation in a former life.


Good Problem resolved. Just don't know why it got many so
worked up.
  Réponse avec citation
Vieux 16/04/2008, 19h07   #18
Bergamot
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: How to set default font size to small for a page's body?

Harlan Messinger wrote:
> Don Li wrote:
>> <body style="font-family:Verdana,Arial,Helvetica;font-size:0.8em;">

>
> 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?


Probably because it's Verdana.

--
Berg
  Réponse avec citation
Vieux 16/04/2008, 19h21   #19
Bergamot
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: How to set default font size to small for a page's body?

Don Li wrote:
> On Apr 16, 11:15 am, "Beauregard T. Shagnasty"
> <a.nony.m...@example.invalid> wrote:
>>
>> Please read this:http://tekrider.net/html/fontsize.php

>
> People. Please consider the following factors:


Gee, do you think you're the first person ever to come up against this?
The subject of font sizes and Verdana has been discussed a nauseating
number of times.

Whatever excuses you come up with that rationalize your decision to use
Verdana at a reduced size for body text ain't gonna fly here.

--
Berg
  Réponse avec citation
Vieux 16/04/2008, 19h40   #20
Jonathan N. Little
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: How to set default font size to small for a page's body?

Don Li wrote:
> On Apr 16, 12:53 pm, Andreas Prilop <prilop2...@trashmail.net> wrote:
>> On Wed, 16 Apr 2008, Don Li wrote:
>>>> Set it for 100%.
>>> Why setting it to 85% or 80% is not working for IE7?

>> 80% is small-print - appropriate when you want to deceive people
>> and hide important information in your contracts.
>>
>> Are you a lawyer?
>>


>> I used to believe in reincarnation in a former life.

>
> Good Problem resolved. Just don't know why it got many so
> worked up.


We hoped, (unsuccessfully is this case) to stop the perpetuation of
poorly design, inflexible, unaccessible websites that currently pollute
the web. The attitudes expressed here underscore the frustration some of
your visitors will experience when they wish to visit your site but just
cannot read the damn text...

--
Take care,

Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com
  Réponse avec citation
Vieux 16/04/2008, 19h50   #21
Harlan Messinger
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: How to set default font size to small for a page's body?

Don Li wrote:
> On Apr 16, 11:51 am, Harlan Messinger
> <hmessinger.removet...@comcast.net> wrote:
>> Don Li wrote:
>>> On Apr 16, 11:15 am, "Beauregard T. Shagnasty"
>>> <a.nony.m...@example.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*.

>
> 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".


What do you think the text consists of besides characters in a font
whose size is determined by the font size?
  Réponse avec citation
Vieux 16/04/2008, 19h52   #22
Harlan Messinger
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: How to set default font size to small for a page's body?

Don Li wrote:
> On Apr 16, 12:42 pm, "Beauregard T. Shagnasty"
> <a.nony.m...@example.invalid> wrote:
>> Don Li wrote:
>>> 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".

>> Whether or not your visitors know how to change the font size in their
>> browsers is no reason for you to penalize those who don't.
>>
>> Think flexible. The Web is not paper. And we do not have your eyes.
>>
>>> 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.

>> Sure you can. Set it for 100%.
>>

>
> Why setting it to 85% or 80% is not working for IE7?


Originally by "not working" you explained that you meant that the IE
setting remained Medium, and I already told you that of course the
setting will remain Medium, that's not what setting the font size in CSS
does. So if that's still what you mean by "not working" then the answer
is still, "That's not what it's *supposed* to do."
  Réponse avec citation
Vieux 16/04/2008, 19h55   #23
Don Li
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: How to set default font size to small for a page's body?

On Apr 16, 1:40pm, "Jonathan N. Little" <lws4...@central.net> wrote:
> Don Li wrote:
> > On Apr 16, 12:53 pm, Andreas Prilop <prilop2...@trashmail.net> wrote:
> >> On Wed, 16 Apr 2008, Don Li wrote:
> >>>> Set it for 100%.
> >>> Why setting it to 85% or 80% is not working for IE7?
> >> 80% is small-print - appropriate when you want to deceive people
> >> and hide important information in your contracts.

>
> >> Are you a lawyer?

>
> >> I used to believe in reincarnation in a former life.

>
> > Good Problem resolved. Just don't know why it got many so
> > worked up.

>
> We hoped, (unsuccessfully is this case) to stop the perpetuation of
> poorly design, inflexible, unaccessible websites that currently pollute
> the web. The attitudes expressed here underscore the frustration some of
> your visitors will experience when they wish to visit your site but just
> cannot read the damn text...
>
> --
> Take care,
>
> Jonathan
> -------------------
> LITTLE WORKS STUDIOhttp://www.LittleWorksStudio.com


This is really a catch-22 situation. On one hand, if the home page
(starting page) using a smaller font size, subsequent pages do not
look good while leaving the default font size to 100% does not make
the starting page look good.

  Réponse avec citation
Vieux 16/04/2008, 20h10   #24
Jonathan N. Little
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: How to set default font size to small for a page's body?

Don Li wrote:

> This is really a catch-22 situation. On one hand, if the home page
> (starting page) using a smaller font size, subsequent pages do not
> look good while leaving the default font size to 100% does not make
> the starting page look good.


No. Use default font size of 100% on all pages, there is no Catch-22.

--
Take care,

Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com
  Réponse avec citation
Vieux 16/04/2008, 21h00   #25
David E. Ross
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: How to set default font size to small for a page's body?

On 4/16/2008 6:58 AM, 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.


Whatever you do, I will use my Font- and Font+ buttons to set the size
to something I can read, thus undoing whatever you have done to set the
size of your body font.

As others have indicated, you should leave the body of your page at the
font size each user has already set in his or her browser preferences.
Then set titles, footnotes, and other non-body text at sizes larger or
smaller relative to the body font.

--
David Ross
<http://www.rossde.com/>

Have you been using Netscape and now feel abandoned by AOL?
Then use SeaMonkey. Go to <http://www.seamonkey-project.org/>.
  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 02h46.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,45879 seconds with 33 queries