Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Online help and CSS
Message
De
06/12/2001 07:48:47
 
 
À
06/12/2001 07:18:08
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00588635
Message ID:
00590437
Vues:
36
>>My apologies, I think I'm missing something, I'm not sure why you've included the H0 header style. Do you mean that H0 is the highest level header or H1 ?
>
>H0, though it is never actually used in an HTML document, is a higher level than H1.
>
>I just tested again - with the sample CSS sheet I provided, both IE6 and Opera 5.12 show H1 headers as red.
>
>Taking out the line:
>
>H0 {}
>
>
>makes both browsers ignore the definition for H1, and show the title in default black!
>
>Now, while I don't have any specific references on the Web, this is exactly what my textbook on HTML stated that would happen. If it weren't for the tip, I would still be scratching my head.
>
>Please note that I am not using in-line style; I am connecting to an external style-sheet.
>
>Searching on HTML, CSS, etc., is difficult; it seems that every HTML document contains the text "HTML", for instance!
>
>Hilmar.

Just had a quick play around, I didn't have any problems at all without H0 - I got the right colours.

So I thought, what's different here - the STYLE tags in the external file, so I put them in, & sure enough, I needed H0 to get the right colours. It seems if you don't include the STYLE tags, which aren't necessary, then you don't get the problem.
Len Speed
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform