<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-6781572260460899657</id><updated>2012-02-16T06:37:31.364-08:00</updated><title type='text'>CSS</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://workingwithcss.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6781572260460899657/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://workingwithcss.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Mer</name><uri>http://www.blogger.com/profile/02656272522164014250</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>3</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-6781572260460899657.post-1208314245282051398</id><published>2007-08-03T14:36:00.002-07:00</published><updated>2007-08-03T14:37:08.199-07:00</updated><title type='text'>History</title><content type='html'>&lt;p&gt;Style sheets have existed in one form or another since the beginnings of SGML in the 1970s. Cascading Style Sheets were developed as a means for creating a consistent approach to providing style information for web documents.&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;p&gt;As HTML grew, it came to encompass a wider variety of stylistic capabilities to meet the demands of web developers. This evolution gave the designer more control over site appearance but at the cost of HTML becoming more complex to write and maintain. Variations in web browser implementations made consistent site appearance difficult, and users had less control over how web content was displayed.&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;p&gt;To improve the capabilities of web presentation, nine different style sheet languages were proposed to the W3C's www-style mailing list. Of the nine proposals, two were chosen as the foundation for what became CSS: &lt;i&gt;Cascading HTML Style Sheets&lt;/i&gt; (CHSS) and &lt;i&gt;Stream-based Style Sheet Proposal&lt;/i&gt; (SSP). Firstly, Håkon Wium Lie (now the CTO of Opera Software) proposed Cascading HTML Style Sheets (CHSS) in October 1994, a language which has some resemblance to today's CSS. Bert Bos was working on a browser called Argo which used its own style sheet language, Stream-based Style Sheet Proposal (SSP). Lie and Bos worked together to develop the CSS standard (the 'H' was removed from the name because these style sheets could be applied to other markup languages besides HTML).&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;p&gt;Unlike existing style languages like DSSSL and FOSI, CSS allowed a document's style to be influenced by multiple style sheets. One style sheet could inherit or "cascade" from another, permitting a mixture of stylistic preferences controlled equally by the site designer and user.&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;p&gt;Håkon's proposal was presented at the "Mosaic and the Web" conference in Chicago, Illinois in 1994, and again with Bert Bos in 1995. Around this time, the World Wide Web Consortium was being established; the W3C took an interest in the development of CSS, and it organized a workshop toward that end chaired by Steven Pemberton. This resulted in W3C adding work on CSS to the deliverables of the HTML editorial review board (ERB). Håkon and Bert were the primary technical staff on this aspect of the project, with additional members, including Thomas Reardon of Microsoft, participating as well. By the end of 1996, CSS was ready to become official, and the CSS level 1 Recommendation was published in December.&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;p&gt;Development of HTML, CSS, and the DOM had all been taking place in one group, the HTML Editorial Review Board (ERB). Early in 1997, the ERB was split into three working groups: HTML Working group, chaired by Dan Connolly of W3C, DOM Working group, chaired by Lauren Wood of SoftQuad, and CSS Working group, chaired by Chris Lilley of W3C.&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;p&gt;The CSS Working Group began tackling issues that had not been addressed with CSS level 1, resulting in the creation of CSS level 2 on November 4, 1997. It was published as a W3C Recommendation on May 12, 1998. CSS level 3, which was started in 1998, is still under development as of 2006.&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;p&gt;In 2005 the CSS Working Groups decided to enforce the requirements for standards more strictly. This meant that already published standards like CSS 2.1, CSS 3 Selectors and CSS 3 Text were pulled back from Candidate Recommendation to Working Draft level.&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6781572260460899657-1208314245282051398?l=workingwithcss.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://workingwithcss.blogspot.com/feeds/1208314245282051398/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6781572260460899657&amp;postID=1208314245282051398' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6781572260460899657/posts/default/1208314245282051398'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6781572260460899657/posts/default/1208314245282051398'/><link rel='alternate' type='text/html' href='http://workingwithcss.blogspot.com/2007/08/history.html' title='History'/><author><name>Mer</name><uri>http://www.blogger.com/profile/02656272522164014250</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6781572260460899657.post-4877687650309804132</id><published>2007-08-03T14:36:00.001-07:00</published><updated>2007-08-03T14:36:23.336-07:00</updated><title type='text'>Syntax</title><content type='html'>&lt;p&gt;CSS has a simple syntax, and uses a number of English keywords to specify the names of various style properties.&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;p&gt;A style sheet consists of a list of &lt;i&gt;rules&lt;/i&gt;. Each rule or rule-set consists of one or more &lt;i&gt;selectors&lt;/i&gt; and a &lt;i&gt;declaration block&lt;/i&gt;. A declaration-block consists of a list of semicolon-separated &lt;i&gt;declarations&lt;/i&gt; in curly braces. Each declaration itself consists of a &lt;i&gt;property&lt;/i&gt;, a colon (&lt;i&gt;:&lt;/i&gt;), a &lt;i&gt;value&lt;/i&gt;, then a semi-colon (&lt;i&gt;;&lt;/i&gt;).&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;p&gt;In CSS, &lt;i&gt;selectors&lt;/i&gt; are used to declare which elements a style applies to, a kind of match expression. Selectors may apply to all elements of a specific type, or only those elements which match a certain attribute; elements may be matched depending on how they are placed relative to each other in the markup code, or on how they are nested within the document object model.&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;p&gt;In addition to these, a set of &lt;i&gt;pseudo-classes&lt;/i&gt; can be used to define further behavior. Probably the best-known of these is &lt;code&gt;&lt;span style="font-size: 10pt;"&gt;:hover&lt;/span&gt;&lt;/code&gt;, which applies a style only when the user 'points to' the visible element, usually by holding the mouse cursor over it. It is appended to a selector as in &lt;code&gt;&lt;span style="font-size: 10pt;"&gt;a:hover&lt;/span&gt;&lt;/code&gt; or &lt;code&gt;&lt;span style="font-size: 10pt;"&gt;#elementid:hover&lt;/span&gt;&lt;/code&gt;. Other pseudo-classes and &lt;i&gt;pseudo-elements&lt;/i&gt; are, for example, &lt;code&gt;&lt;span style="font-size: 10pt;"&gt;:first-line&lt;/span&gt;&lt;/code&gt;, &lt;code&gt;&lt;span style="font-size: 10pt;"&gt;:visited&lt;/span&gt;&lt;/code&gt; or &lt;code&gt;&lt;span style="font-size: 10pt;"&gt;:before&lt;/span&gt;&lt;/code&gt;. A special pseudo-class is &lt;code&gt;&lt;span style="font-size: 10pt;"&gt;:lang(c)&lt;/span&gt;&lt;/code&gt;, where the style would be applied on an element only if it is in language "c".&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;p&gt;A &lt;i&gt;pseudo-class&lt;/i&gt; selects entire elements, such as &lt;code&gt;&lt;span style="font-size: 10pt;"&gt;:link&lt;/span&gt;&lt;/code&gt; or &lt;code&gt;&lt;span style="font-size: 10pt;"&gt;:visited&lt;/span&gt;&lt;/code&gt;, whereas a &lt;i&gt;pseudo-element&lt;/i&gt; makes a selection that may consist of partial elements, such as &lt;code&gt;&lt;span style="font-size: 10pt;"&gt;:first-line&lt;/span&gt;&lt;/code&gt; or &lt;code&gt;&lt;span style="font-size: 10pt;"&gt;:first-letter&lt;/span&gt;&lt;/code&gt;.&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;p&gt;Selectors may be combined in other ways too, especially in CSS 2.1, to achieve greater specificity and flexibility.&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6781572260460899657-4877687650309804132?l=workingwithcss.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://workingwithcss.blogspot.com/feeds/4877687650309804132/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6781572260460899657&amp;postID=4877687650309804132' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6781572260460899657/posts/default/4877687650309804132'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6781572260460899657/posts/default/4877687650309804132'/><link rel='alternate' type='text/html' href='http://workingwithcss.blogspot.com/2007/08/syntax.html' title='Syntax'/><author><name>Mer</name><uri>http://www.blogger.com/profile/02656272522164014250</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6781572260460899657.post-4188678839937759067</id><published>2007-08-03T14:35:00.000-07:00</published><updated>2007-08-03T14:36:02.096-07:00</updated><title type='text'>Beginning</title><content type='html'>&lt;p&gt;&lt;b&gt;Cascading Style Sheets&lt;/b&gt; (&lt;b&gt;CSS&lt;/b&gt;) is a stylesheet language used to describe the presentation of a document written in a markup language. Its most common application is to style web pages written in HTML and XHTML, but the language can be applied to any kind of XML document, including SVG and XUL.&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;p&gt;CSS is used by both the authors and readers of web pages to define colors, fonts, layout, and other aspects of document presentation. It is designed primarily to enable the separation of document content (written in HTML or a similar markup language) from document presentation (written in CSS). This separation can improve content accessibility, provide more flexibility and control in the specification of presentational characteristics, and reduce complexity and repetition in the structural content. CSS can also allow the same markup page to be presented in different styles for different rendering methods, such as on-screen, in print, by voice (when read out by a speech-based browser or screen reader) and on Braille-based, tactile devices. CSS specifies a priority scheme to determine which style rules apply if more than one rule matches against a particular element. In this so-called &lt;i&gt;cascade&lt;/i&gt;, priorities or &lt;i&gt;weights&lt;/i&gt; are calculated and assigned to rules, so that the results are predictable.&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6781572260460899657-4188678839937759067?l=workingwithcss.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://workingwithcss.blogspot.com/feeds/4188678839937759067/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6781572260460899657&amp;postID=4188678839937759067' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6781572260460899657/posts/default/4188678839937759067'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6781572260460899657/posts/default/4188678839937759067'/><link rel='alternate' type='text/html' href='http://workingwithcss.blogspot.com/2007/08/beginning.html' title='Beginning'/><author><name>Mer</name><uri>http://www.blogger.com/profile/02656272522164014250</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry></feed>
