Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Online help and CSS
Message
De
06/12/2001 09:00:16
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
06/12/2001 08:57:45
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00588635
Message ID:
00590474
Vues:
37
>>Len,
>>
>>I confirmed your findings both for Opera 5.12 and for IE 6.0. Ain't it crazy?
>>
>>Hilmar.
>
>What I think is happening is that for external style sheets, the file must only contain CSS. The STYLE tag is HTML, but is being interpreted as CSS. The browser is trying to interpret the STYLE tag as an element that the style information in the following { } pair applies to.
>
>What I've found is that it isn't H1 that is being ignored, it is the first element, so if you rearrange your CSS file so that H1 isn't first, then you'll find that the new first element is ignored.
>
>The browser only gets back into synch. after the first }. ie. what it thinks is the end of the first CSS definition. (If you replace H0 {} with just } everything is OK).
>
>So I think that your textbook needs treating with a little care, if it makes the mistake of telling you that the STYLE tag is required in the external CSS file.

Yes ... what you say makes more sense than what I learned before.
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