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, 14h58   #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, 15h44   #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, 16h03   #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, 16h13   #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, 16h15   #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, 16h25   #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, 16h31   #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, 16h36   #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
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 07h21.


Édité par : vBulletin® version 3.7.2
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
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,11944 seconds with 16 queries