Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
HTML Help workshop - fonts?
Message
De
08/12/2003 17:41:04
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
05/12/2003 16:11:30
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00856430
Message ID:
00856994
Vues:
20
>SNIP
>
>>
>>You mean the text of the help files, right? I used CSS (Cascading Style-Sheets) for that. Unfortunately, I don't remember the exact syntax, but I can look it up later.
>>
>SNIP
>
>Thanks, Hilmar, but please don't be bothered. I'll try to have a go by snooping around now that I've got a lead.
>
>Thanks (and your article saved me lots of aggravation)
>Jim

Here is a sample of the CSS file I used; let's say it is called MyCompany.css:
H1 {color: #FF0000}
H2 {color: #00B000}
BODY {background-color: #80FFFF}
TD {background-color: #90EED0}
H1 and H2 are headers level 1 and 2; BODY affects the look of the main texts; TD affects cells, and therefore tables.

I am not sure what the syntax would be to specify more than one attribute; or where to look up the names of common attributes.

The color codes are in RRGGBB notation (two hex digits for each of the three base colors). I suspect you can use standard color constants too, like "BLUE" or "PINK".

To use the definitions in this CSS file in your help system, include the following line in each and every HTML file (or in those where you want to use this specific layout; of course, you can have groups of HTML files with different style definitions); include it between the < HEAD > and the < /HEAD > codes:
< link rel="stylesheet" href="MyCompany.css" type="text/css" >
Please omit the space at the beginning and the space at the end.

HTH,

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)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform