Welcome to WebmasterWorld Guest from 54.198.69.193

Forum Moderators: not2easy

Message Too Old, No Replies

do css have version ?

     
10:27 am on Nov 26, 2010 (gmt 0)



If css has version then which one is the latest ?
6:14 am on Nov 27, 2010 (gmt 0)



CSS3 is the latest and there are some very cool features like rounded box corners, text shadows, opacity etc. Comes with a warning about cross-browser compatibilities tho. A good resource for describing the new features and testing various browsers is [url]www.css3.info[/url]

Also, the W3 validator now validates CSS3 pages too:

jigsaw.w3.org/css-validator/validator?profile=css3&warning=0&uri=http%3A%2F%2Fwww.yoursite.com%2F
8:47 am on Nov 27, 2010 (gmt 0)



does css acts as validators
8:48 am on Nov 27, 2010 (gmt 0)



and are used in html only?
10:03 am on Nov 27, 2010 (gmt 0)

WebmasterWorld Senior Member 5+ Year Member



HI mikehussey,

It depends on what you mean by "latest": The latest specification is css2. The latest recommendation is 2.1, which revised css2, and (without going into the historical detail) is commonly treated as if it was the "latest".

css3 is the next version, and has broken css into "modules". Most are still in draft status although modern browsers have already started to implement many of the features. If you want to follow progress, css3info [css3.info] keeps a handy list.

css is not a validator. Html provides the stucture for a document (eg a paragraph is marked up using <p> ), and css allows you to style those elements. It can be used to style, eg, XHTML and xml as well as html.

You can read most of what I have said in the abstract of the css2.1 [w3.org] recommendation which has lots more information, but css concepts [reference.sitepoint.com] is easier to read ;)
 

Featured Threads

Hot Threads This Week

Hot Threads This Month