Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Default fonts
Message
 
À
13/07/2004 09:59:05
Mindy Shingara
Central Susquehanna Intermediate Unit
Lewisburg, Pennsylvanie, États-Unis
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Titre:
Divers
Thread ID:
00923694
Message ID:
00923714
Vues:
15
You can do that with Cascading Style Sheets (CSS). In your CSS document, MyStyles.css:
BODY,TABLE,TD,TH
{
   font-family: Verdana, Arial, Sans-Serif
}
In each of your HTML documents:
<HEAD>
  <LINK href="MyStyles.css" type="text/css" rel="stylesheet">
</HEAD>
>There is a Name property under Fonts for each object where I set the font name = "Verdana". Under that property is another property, "Names", where I'm entering a list of font names to use, in particular order, if the user doesn't have "Verdana". Is there anyway to define this up-front as a default list? I want every object to use "verdana", then "Arial", then "Helvetica", then "Comic Sans". But, to assign that main font & then the back-up font list to each & every object is time consuming.
>
>Eventually we will be adding this to the classes, but our classed objects are not ready for development use yet.
>
>Thanks!
Chris McCandless
Red Sky Software
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform