HTML/CSS Service

CSS2 vs CSS1 - What’s the Difference

Category: CSS, CSS 2 Tutorial    |    1,028 views    |    1 Comment  |   
CSS1 CSS2
CSS1 was supporting continuous media which means Web pages that contain media contents and continuously run till the end. But it had no support for paged media which consist of slide shows, papers or transparencies. You will also come across varieties of cursors and dynamic outlining in CSS2.
CSS1 contains some of the positioning properties CSS2 is full of really interesting features related to accessibility.
Font properties such as typeface and emphasis CSS2 has support for aural style sheets. It contains various aural properties to build an aural style sheet for your web page. So, blind customers can be largely benefited by this feature.
Color of text, backgrounds, and other elements

Margin, border, padding, and positioning for most elements
Unique identification and generic

classification of groups of attributes

They only need a screen reader which is CSS2 enabled. Users can listen to your Web pages even on the move.
Text attributes such as spacing between words, letters, and lines of text CSS2 makes them more interesting and flexible. There are two types of CSS positioning, one is absolute positioning and the other is relative positioning. But in CSS2, you will come across another type of positioning that is fixed positioning. This creates a watermark effect in continuous media. In paged media, an object with fixed position keeps repeating on every page.
Alignment of text, images, tables and other elements virtually play with CSS2 cursors

Share/Save/Bookmark

 

Top differences between CSS1 and CSS2

Category: CSS, CSS 2 Tutorial, CSS Tips    |    1,705 views    |    2 Comments  |   

CSS 1

The first CSS specification to become an official W3C Recommendation is CSS level 1, published in December 1996.[3] Among its capabilities are support for:
* Font properties such as typeface and emphasis
* Color of text, backgrounds, and other elements
* Text attributes such as spacing between words, letters, and lines of text
* Alignment of text, images, tables and other elements
* Margin, border, padding, and positioning for most elements
* Unique identification and generic classification of groups of attributes
The W3C maintains the CSS1 Recommendation

CSS 2

CSS level 2 was developed by the W3C and published as a Recommendation in May 1998. A superset of CSS1, CSS2 includes a number of new capabilities like absolute, relative, and fixed positioning of elements, the concept of media types, support for aural style sheets and bidirectional text, and new font properties such as shadows. The W3C maintains the CSS2 Recommendation.

CSS level 2 revision 1 or CSS 2.1 fixes errors in CSS2, removes poorly-supported features and adds already-implemented browser extensions to the specification. While it was a Candidate Recommendation for several months, on 15 June 2005 it was reverted to a working draft for further review. It was returned to Candidate Recommendation status on 19 July 2007.

Share/Save/Bookmark