Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Online help and CSS
Message
From
06/12/2001 08:57:45
 
 
To
06/12/2001 07:58:40
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00588635
Message ID:
00590473
Views:
42
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform