Go Back   Site Owners Forums - Webmaster Forums > Web Programming > Programming General > HTML / DHTML

Notices


Reply
 
Thread Tools Rate Thread Display Modes
Old 07-17-2012, 03:22 AM   #1
davikerkrish
Registered User
 
Join Date: Jul 2012
Posts: 111
difference between css and css2

What is the difference between css and css2?
davikerkrish is offline   Reply With Quote

Old 07-17-2012, 04:51 AM   #2
wyanesmith1987
Registered User
 
Join Date: Jun 2012
Location: India
Posts: 250
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:

<h1>This is a heading</h1>

<p>This is a paragraph.</p>

When tags like <font>, 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.
wyanesmith1987 is offline   Reply With Quote
Old 07-17-2012, 04:55 AM   #3
davikerkrish
Registered User
 
Join Date: Jul 2012
Posts: 111
can you give me some example for this? If so it is very useful.
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
davikerkrish is offline   Reply With Quote
Old 07-17-2012, 05:30 AM   #4
wyanesmith1987
Registered User
 
Join Date: Jun 2012
Location: India
Posts: 250
you can see lots of example on w3school. Visit it.
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.


To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.


To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.


To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
wyanesmith1987 is offline   Reply With Quote
Old 07-17-2012, 05:48 AM   #5
davikerkrish
Registered User
 
Join Date: Jul 2012
Posts: 111
What is the difference between position:fixed and absolute?
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
davikerkrish is offline   Reply With Quote
Old 05-09-2013, 10:20 PM   #6
Ralphtdanko
Registered User
 
Join Date: May 2013
Posts: 4
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.
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Ralphtdanko is offline   Reply With Quote
Old 05-09-2013, 11:27 PM   #7
Luca tall
Registered User
 
Join Date: Apr 2013
Location: Chennai
Posts: 72
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.
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
Luca tall is offline   Reply With Quote
Old 06-10-2013, 03:48 AM   #8
justeatshilpa
Registered User
 
Join Date: May 2013
Posts: 67
nice posting i got lot of information
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
justeatshilpa is offline   Reply With Quote
Old 06-17-2013, 05:05 AM   #9
sunitha12
Registered User
 
Join Date: Aug 2011
Posts: 21
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
__________________
RsellerHome.in - Best Reseller Hosting Company:
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
sunitha12 is offline   Reply With Quote
Old 07-17-2013, 04:17 AM   #10
ebrainnight
Registered User
 
Join Date: Apr 2013
Posts: 15
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.
ebrainnight is offline   Reply With Quote
Old 11-27-2013, 05:54 AM   #11
aliceknight
Registered User
 
Join Date: Nov 2013
Posts: 12
Thanks for a informative answer.
aliceknight is offline   Reply With Quote
Old 01-31-2014, 10:04 AM   #12
soufianYH
Registered User
 
Join Date: Jan 2014
Posts: 46
nice posting i got lot of information, thakks
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.


To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.


To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.


To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.


To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
soufianYH is offline   Reply With Quote
Old 03-17-2014, 12:57 AM   #13
alligatortek001
Registered User
 
Join Date: Nov 2013
Posts: 92
Ya good posting..thanq for your information.
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.


To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.


To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
alligatortek001 is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 06:55 PM.


Powered by vBulletin Copyright © 2020 vBulletin Solutions, Inc.