Site Owners Forums - Webmaster Forums

Site Owners Forums - Webmaster Forums (http://siteownersforums.com/index.php)
-   HTML / DHTML (http://siteownersforums.com/forumdisplay.php?f=7)
-   -   difference between css and css2 (http://siteownersforums.com/showthread.php?t=58608)

davikerkrish 07-17-2012 03:22 AM

difference between css and css2
 
What is the difference between css and css2?

wyanesmith1987 07-17-2012 04:51 AM

What is CSS?

CSS stands for Cascading Style Sheets
Styles define how to display HTML elements
Styles were added to HTML 4.0 to solve a problem
External Style Sheets can save a lot of work
External Style Sheets are stored in CSS files

Styles Solved a Big Problem

HTML was never intended to contain tags for formatting a document.

HTML was intended to define the content of a document, like:

This is a heading



This is a paragraph.



When tags like , and color attributes were added to the HTML 3.2 specification, it started a nightmare for web developers. Development of large web sites, where fonts and color information were added to every single page, became a long and expensive process.

To solve this problem, the World Wide Web Consortium (W3C) created CSS.

In HTML 4.0, all formatting could be removed from the HTML document, and stored in a separate CSS file.

All browsers support CSS today.
CSS Saves a Lot of Work!

CSS defines HOW HTML elements are to be displayed.

Styles are normally saved in external .css files. External style sheets enable you to change the appearance and layout of all the pages in a Web site, just by editing one single file!

Introduction to CSS2

This article is not meant to teach you Cascading Style Sheets. If you are looking for a CSS tutorial, you should start with the previous link or try the Free CSS Class. In this article you will learn the basics of CSS2 and how it differs from Cascading Style Sheets, level 1.

Cascading Style Sheets, level 2, supports all of the functionality of CSS1. This means that if you create a CSS1 style sheet, it will work in a user agent that understands CSS2. Plus, the way that CSS1 is written, if you write a CSS2 style sheet, and load it in a CSS1-only user agent, that agent will simply ignore the elements and properties that it doesn't recognize.


Differences Between CSS1 and CSS2

There are some really interesting differences between Cascading Style Sheets level 1 and level 2. CSS2 offers many new options for accessibility and use across various user agents. Positioning in CSS2 is more flexible and offers more options to the designer. Automated content allows developers to force the user agent to display specific content elements as well as the layout, look, and feel. Also there is support for special cursors in CSS2 as well as dynamic outlining.

davikerkrish 07-17-2012 04:55 AM

can you give me some example for this? If so it is very useful.

wyanesmith1987 07-17-2012 05:30 AM

you can see lots of example on w3school. Visit it.
:)

davikerkrish 07-17-2012 05:48 AM

What is the difference between position:fixed and absolute?

Ralphtdanko 05-09-2013 10:20 PM

The first CSS requirements to become an official W3C Suggestions is CSS1, released in Dec 1996.
CSS2 was developed by the W3C and released as a Recommendation in May 1998.

A superset of CSS1, CSS2 has a variety of new abilities like absolute, comparative, and set placement of components, the idea of press kinds, assistance for aural style sheets and bidirectional written text, and new typeface qualities such as dark areas.

Luca tall 05-09-2013 11:27 PM

CSS covers fonts, colours, margins, lines, height, width, background images, advanced positions and manage the whole layout of the site with one click changes.
CSS2 has a variety of new abilities like absolute, comparative, and set placement of components, the idea of press kinds, assistance for aural style sheets and bidirectional written text, and new typeface qualities such as dark areas.
CSS vs CSS2
For web designers the major impact is positioning capabilities,By using CSS2 it is possible to create complex layouts without using tables.This is the difference between using CSS and CSS2.

justeatshilpa 06-10-2013 03:48 AM

nice posting i got lot of information

sunitha12 06-17-2013 05:05 AM

CSS covers fonts, colours, margins, lines, height, width, background images, advanced positions and manage the whole layout of the site with one click changes. CSS2 is the upgraded version of CSS icludes capabilities like relative and fixed positioning of elements that CSS has not

ebrainnight 07-17-2013 04:17 AM

There are no major differences, simply you can understand that CSS is the first version and CSS2 is the updated version with more features like other software.

aliceknight 11-27-2013 05:54 AM

Thanks for a informative answer.

soufianYH 01-31-2014 10:04 AM

nice posting i got lot of information, thakks

alligatortek001 03-17-2014 12:57 AM

Ya good posting..thanq for your information.


All times are GMT -7. The time now is 02:10 AM.


Powered by vBulletin Copyright © 2020 vBulletin Solutions, Inc.