Generated by GPT-5-mini| CSS Level 2 | |
|---|---|
| Name | CSS Level 2 |
| Developer | World Wide Web Consortium |
| Released | 1998 |
| Latest release | 1998 Recommendation |
| Status | Historic |
| Platform | Web browsers |
CSS Level 2
CSS Level 2 is a stylesheet language specification published as a recommendation by the World Wide Web Consortium in 1998 that expanded layout, typography, and media capabilities for web documents authored in HTML 4.01, XHTML 1.0, and related markup languages such as XML. The specification influenced rendering engines developed by organizations like Netscape Communications Corporation, Microsoft Corporation, and Opera Software ASA and shaped standards discussions at venues including IETF, W3C, and academic conferences such as SIGGRAPH and CHI. Its publication intersected with broader technology trends involving companies like Adobe Systems, institutions like MIT, and projects such as Mozilla Foundation.
CSS Level 2 defined cascading rules, specificity, inheritance, and the box model used by browsers such as Internet Explorer, Netscape Navigator, and Opera Browser while introducing modules addressing media types, positioning, and generated content that affected implementations by vendors including Apple Inc. and contributors from Sun Microsystems. The specification formalized interactions between authors, user agents, and user stylesheets considered in working groups with participants from HP, IBM, and research groups at University of Cambridge and Stanford University. CSS2 provided features that interacted with document object models standardized by W3C DOM, accessibility guidelines from WAI, and printing workflows used in products from Adobe Systems and printers from Epson and HP.
Work on CSS2 was led by the W3C style sheets working group with editors and contributors from companies such as Netscape Communications Corporation, Microsoft Corporation, Opera Software ASA, and academic contributors from University of California, Berkeley and University of Illinois Urbana–Champaign. Early milestones included drafts circulated among standards bodies like IETF and review cycles involving organizations including ISO and IEEE. The 1998 Recommendation followed earlier versions and community debate involving stakeholders like AOL, Oracle Corporation, and open-source projects such as Mozilla Foundation. Implementation feedback from browser teams at Microsoft Corporation (for Internet Explorer) and from the community around Netscape Navigator influenced errata and later clarifications adopted by editors affiliated with W3C.
CSS2 encompassed modules covering the box model, positioning, float and clear behavior, z-order stacking contexts, and visual formatting compatible with HTML 4.01 and XHTML 1.0. It defined generated content via the ::before and ::after concepts, media types for screen and print used by device vendors such as Canon Inc. and Epson, and typographic controls including font families and variant handling relevant to font vendors like Monotype Imaging and Adobe Systems. Layout features influenced scripting interfaces like the Document Object Model and interoperability with scripting engines such as JavaScript engines from Netscape and Microsoft JScript. CSS2 also specified pseudo-classes for user interaction states that browser authors at Opera Software ASA and Apple Inc. implemented alongside accessibility guidance from WAI.
Major browser vendors implemented CSS2 features unevenly: Internet Explorer added partial support, while Mozilla-based browsers from Mozilla Foundation and Netscape progressively implemented more modules, and Opera Software ASA pursued distinct optimizations. Platform vendors including Microsoft Corporation, Apple Inc., and distributions like Debian and Red Hat incorporated rendering engines into operating systems such as Windows NT and macOS that affected CSS2 behavior. Differences in box model interpretation led to interoperability issues referenced in discussions involving IETF and fixes in later browser versions maintained by projects like WebKit and Gecko. The uneven adoption spurred initiatives by companies like Google and organizations such as W3C to test conformance using suites developed by groups including WHATWG and academic labs at University of Washington.
CSS2's formalization of layout and media rules influenced web design practices at companies like Amazon (company), eBay, and publishers such as The New York Times and BBC and shaped educational curricula at institutions like MIT and Stanford University. Its concepts underpinned responsive and accessible design practices promoted by advocacy groups like WAI and standards bodies such as W3C, and it informed commercial products from Adobe Systems and content management platforms like WordPress. Lessons from CSS2 implementation guided later specification work and browser engineering at Google (for Chrome), Apple Inc. (for Safari), and open-source communities like Mozilla Foundation.
CSS2 was succeeded in practice by modularized specifications and by CSS Level 3 work coordinated by W3C and contributors from WHATWG, with modules addressing selectors, box model, flexbox, grid, and media queries influenced by input from Google, Mozilla Foundation, and Apple Inc.. Related standards include the Document Object Model specifications, HTML5 developed by WHATWG and W3C, and accessibility guidelines from the Web Accessibility Initiative. Subsequent standards and implementations engaged companies such as Microsoft Corporation, Adobe Systems, and research groups at University of Cambridge to address gaps identified during CSS2 deployment.