Welcome to my assignment for week two of the Cascading Styles Sheets course. Having read Chapter 3 of the "Web Designer's Guide to Style Sheets" book I became a bit concerned about the differences in browser support. Given that none of the browsers are 100% CSS Level I compatible in their current versions (Netscape 4.x, Internet Explorer 4.x and Opera 3.51), and that the deficiencies need to be coded around .... what happens on the day that the browsers are CSS level I compatible? I mean, (for example) the current support for "colliding rules" is not correct in IE and NN, so, as and when they are correct (version 5?????) all of the pages using CSS may change colour!
I have therefore created a style sheet for each of the following browsers:
Then, to control which style sheet is used behind this HTML document I have used some JavaScript code to modify the
tag.For example, the Link tag for Netscape Navigator 4.x will be:
<LINK REL=stylesheet HREF="nn4.css" TYPE="text/css">
The changes in effect caused by the different styles sheets is not significant in this very simple document. You will be able to tell the browser type, and if appropriate, the version by the background colour of this document:
The Style Sheets can be viewed here:
Course Index.
Please visit my
Home page and that of Raz Associates Ltd |
Feedback form |
The author is a member of |