Prev | Current Page 54 | Next

Tommy Olsson and Paul O'Brien

"The Ultimate CSS Reference"


Due to the implementation deficiencies in early browsers, many old style sheets
were written to work with the then-contemporary browsers rather than to comply
14 http://www.opera.com/docs/specs/css/
15 http://www.opera.com/docs/specs/?platform=wii#css
16 http://tinyurl.com/2tyr6z
The Ultimate CSS Reference 18
with the CSS specification. This presented a dilemma for browser vendors releasing
new versions of their products that had better support for the CSS standard. While
they wanted to do the right thing with properly written CSS, and display web pages
according to CSS standards, this had the potential to make a mess of millions of
existing web pages whose CSS didn??™t comply with the CSS specification.
The solution was to have the browser make an educated guess as to whether the
current document seemed to be modern or old-school, and then choose the
appropriate rendering mode. The basis for this guesswork was the presence, or
absence, of an SGML document type declaration (or doctype declaration) in the
markup.


Pages:
42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66