Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Online help and CSS
Message
De
06/12/2001 08:57:45
 
 
À
06/12/2001 07:58:40
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:
00590473
Vues:
43
This message has been marked as a message which has helped to the initial question of the thread.
>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.
Len Speed
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform