Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Online help and CSS
Message
De
03/12/2001 07:09:40
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Online help and CSS
Divers
Thread ID:
00588635
Message ID:
00588635
Vues:
78
I just started using, successfully, CSS in my CHM help file.

Cascading Style Sheets allow to apply the same style to all HTML files, and make changes globally.

All it takes is one additional line in each HTML file, for instance (erase extra spaces in the tags):
< link rel="stylesheet" href="mystyles.css" type="text/css" >
Sample css document (mystyles.css) (erase extra spaces in the tags):
< STYLE TYPE="text/css" >
H0 {}
H1 {color: #FF0000}
H2 {color: #00B000}
BODY {background-color: #80FFFF}
TD {background-color: #90EED0}
< /STYLE >
After that, any changes to background color, font size, etc., have to be done only once, in mystyles.css.

Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform