Friday, August 3, 2007

History

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.

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.

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: Cascading HTML Style Sheets (CHSS) and Stream-based Style Sheet Proposal (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).

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.

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.

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.

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.

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.

Syntax

CSS has a simple syntax, and uses a number of English keywords to specify the names of various style properties.

A style sheet consists of a list of rules. Each rule or rule-set consists of one or more selectors and a declaration block. A declaration-block consists of a list of semicolon-separated declarations in curly braces. Each declaration itself consists of a property, a colon (:), a value, then a semi-colon (;).

In CSS, selectors 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.

In addition to these, a set of pseudo-classes can be used to define further behavior. Probably the best-known of these is :hover, 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 a:hover or #elementid:hover. Other pseudo-classes and pseudo-elements are, for example, :first-line, :visited or :before. A special pseudo-class is :lang(c), where the style would be applied on an element only if it is in language "c".

A pseudo-class selects entire elements, such as :link or :visited, whereas a pseudo-element makes a selection that may consist of partial elements, such as :first-line or :first-letter.

Selectors may be combined in other ways too, especially in CSS 2.1, to achieve greater specificity and flexibility.

Beginning

Cascading Style Sheets (CSS) 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.

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 cascade, priorities or weights are calculated and assigned to rules, so that the results are predictable.

 

nell neptunes noise reduction windows nursing research oak benches ohio jobs older babes omega-3 on line marketing open arms order pad pashmina penut butter jelly time pga.com polygraph precious metals puppyfind.com quasars real estate las vegas nv real estate listing gilbert arizona realtors las vegas samantha torres scalextric selena dreaming of you shopsmith skits smokin soapy soccer pictures spiderman movie trailer staff scheduling software stain state of oklahoma stay at home jobs super smash bros taiko tenjou tenge tetra the beast the outfield the replacements theotherboard thong beach unformat vacation planning wagon web content management weight loss pill wheel and tire packages women bathing www.fandango.com www.java.com you raise me up mp3 19nitten 30 minute meals adagio alaska trout fishing american blinds anne nicole smith annuity leads anucha browne sanders arabic girls asian escorts barbara boxer basketcase bay news 9 bayliner boats bikini thong gallery biological control borgata born in the usa bulging belly stories bullion cavemen chico stick childrens bedroom furniture christian gift shop church software cia.gov cilantro clermont county court records clive cussler cna comp compare cook islands cool drawings corsica countdown clock courtroom crepes crewed yacht charter crochet stitches dance mp3 dead body discovery health channel domination mistress door soundproofing e news eileen electronic arts elvis presely embroidery software english setter etoys everton expo fable walkthrough faun flag of spain flash tattoo fluoride free hacking program free love spells friends theme ftd.com futurama amy garnet hill gas masks goten grupo aventura halloween music happy slaps hipaa compliance hollaback girl gwen stefani how to start a business hughes human papillomavirus hurricane pictures ifa inner circle inventory management software isadora duncan italian translator jamison japanese gardens jayden jessica simpson these boots are made for walking jesus jillian barbarie job for a cowboy jules verne julian calendar kaspersky kazaa lite download free kimchi+recipes kissing you lake huron bed and breakfast lake huron family vacation light energy lower back tattoo designs make money online from home map of 52 states in usa mastiffs megapornstarvids mentor micro mini skirt miki military schools mirapex mr sandman neopets guild layouts neutron star nudist couples odette yustman oil spill op operating systems order viagra overeaters anonymous pelvic play station prepaid international phone card public showers real estate loans resistors rhino full serial%2... rikishi route finder rubies satellite receivers save me shinedown scott brown scuba equipment selector bbs selina st pete times stacy haiduk stainless steel sinks star jones wedding sugar cane sun country tatty teddy tea leoni gallery templar knights tennessee williams texas longhorns football the loch ness monster thermal transfer labels thermostat tiger tank tikal toilet training tonya harding gallery trunks and pan twin falls real estate ukraine model unity candles universalcard.com unwell vanities vegina wall hangings washburn guitars wedding video white stockings wire shelving wolfgangs vault www.sportsmansguide.com 1920s fashion 1980 76ers accupuncture across five aprils acrylic awards alaska fishing trip american home shield americas test kitchen amoxil dose amps ancient egyptian pyramids angolina jolie animal attacks animatrix apple i pod asian woman ballet dancer be yourself beach wear beautiful men in thongs bettyboop blackhistory bobby jones boston acoustics boyart bubba stewart building plans bush gardens can i breastfeed my husband carry on wayward son cartoon babes cellular phone cheap air tickets chelated minerals chicken salad childbirth video download christmas tree pictures clickbank software auto directory go2clickbank.com clue cocacola collector cars colorado springs realtors contracts dale carnegie disney online games dragon ball af dual sport sand cars duel of fates dynomite enneagram everyday evite.com fake jennifer aniston feldspar flipper food nutrition forced witness free love letters free pc game downloads ftp search fugees killing me softly gaiaonline.com game walkthroughs ghost caught on video give a little bit hacking programs hacks hair replacement services hell in a cell henry the navigator home elevators huge juggs human body systems huskerpedia i love you always forever inxs pretty vegas irs problem jack ingram jason white jazz guitar jeep rubicon joel olsteen john wayne airport katrina pictures kicks king kong trailer lawrence taylor lean cuisine lids lincoln ls lonely women love poems for valentines day lows mack madagascar soundtrack map of denmark maria tallchief mark anthony mens fitness micro innovations military loans minibikes my chemical romance im not okay newspaper obituary archives nfl playoff predictions nicene creed noise control products novelty gifts oleander operation iraqi freedom orlando sentinal ovidie pam dawber peter steele pheochromocytoma poison the band pokerstars potato recipes production recipe search redhead babes remicade reports riverfront times robes romantic period rss channels sally brompton salon equipment samantha mathis scifi.com sequoia national park shingles disease six sigma training certification india six+meals+a+day+diet sleeper chair smackdown vs raw 2006 caws spade spies staples center star ocean till the end of time stick to the status quo stone engraving stop hair loss strategy survivor babes svetlana khorkina sweet apples tahiti package the game put you on the game the villages tiny thongs travelers insurance true dirty stories ucf ultraviolet movie uma thurman gallery used truck parts virginia hamilton virtual tours vogue magazine volleyball equipment wakesurfing wet diaper william james wooden rings www.aolmail.com www.cibc.com www.neopet.com yahoo toolbar zero turn mowers 3d wallpapers 5bee.com acn afroman colt45 airguns albino blacksheep alexi laiho andys muscle antony and the johnsons audiobahn automotive directory clickbank religion-s.net azumanga baseball pictures benin billy idol mp3 birthday invitaions blank calendar blue gender bnp boattrader.com brian littrell brushpicks budgies cable internet captains bed car engines cheap international flights chocolate factory christmas angel christmas greeting cards christmas letters coffins communist manifesto counted cross stitch crying baby ct lottery custom conversion vans daschund dat phan daycare scheduling software diane downs disc jockey diy heating home pack uk doll houses dongs drill battery earth google echo and the bunnymen enema links environmental jobs epiphone guitars evangelion mp3 extremefitness factories family guy songs family guy theme song flying squirrels fm concepts football teams ford probe fork free anonymous web surfing free twisty girls fuji cameras funny cows funny phrases funnystuff furi kuri gamecube roms genius gilbert arizona real estate school god gave rock and roll to you gold fronts good chat rooms green day when september ends hampton university harborfreight harp seal harry potter slash hawaiian names hellokitty hemorrhoid high heels legs high jump homes for sale in spring hill hotmatchup.com huskys ione skye irc 2003 ceiling joist span chart ivory billed woodpecker jacob hoggard jusched.exe just to see you smile katana swords kentucky map key lime pie korean models la senza laguna beach tv show lake huron beach resort laptop memory learn how to knit lichen lightolier london stock exchange look at us now lord lujan fernandez lupron masonic mayfair magazine meade metal roofs miguel hidalgo miss world 2005 mission impossible 2 missouri map mlif model t ford moi dix mois mom hunter motor homes for sale mountain gorilla movie shark my space graphics naruto vs sasuke nissan armada oasis - wonderwall obi wan kenobi online blackjack our god is an awesome god paint brushes pc repair personalized wristband pork tenderloin recipe priceless.com raunchy mature ready or not real estate agent in maine rental agreement republic reviews rocky point roma downey santa baby lyrics shays rebellion show me your breasts silent screams ski goggles slayer- metal snow pictures sod spartans spring break pictures springfield arms starfield street booty sudafed sugar system of a down take this job and shove it tara reid wallpaper three days grace home tony little tour traci lords movies trisha uptown underwater photography used snowmobile parts villanova university waka laka water parks who invented the first steam engine and in what year woman work from home wood floor wool world savings wrinkled soles www.richards-realm.com www.tvguide.com www.yahoo.com.au 56 abestos cancer abestos settlement abcmesothelioma.com abortion pill acoustical material action action allhiphop.com alphaflex amateur mature andy milinokis archipelago asus motherboard audi rs4 automobile shipping bare soles basic ben cross better search engine rank birth control patch black mature blood tests bmx videos break on through brian eno bronx zoo cami canada white pages cartoon cat cellulite treatment chainmail cheap scrubs cheap super bowl tickets christian poems cockapoos colgate color blind color poster printing companies cosi crazy town butterfly create free web page current map of europe dba deviant clip dierks bently disturbed believe dub magazine eagle talon ela weber engine compartment sound proofing erica rose eukanuba evil art executive coaching fashion photography feces ff9 fftl finding cell phone numbers francisco vasquez de coronado free christian clip art free laptop free nudist photos free valentine ecards gas powered scooters gifts for dads google .com grassland animals hantai harleydavidson haruko hd radio heb hedi klum helena karel high school basketball home decor catalog home money business making opportunity home repair home warranty hyatt regency hypocrisy impossible italian cooking j.k rowling jenna haze movies kasey chambers kitesurfing kofi annan kyles mom laci peterson laure sinclair leggy women lightweight travel trailers long distance calling card lorraine lost boys love mp3 lutein mad max male maids mandolin chords margot stilley mature blonde meningioma menstration mesa mesosilver methamphetamine recipe michaela michelle forbes movie themes mudvayne mp3 murder she wrote naughty american university noise control materials novelty items ohm's law orchid care organic coffee origa pamela home video phantom of the opera soundtrack phoenix zoo play free computer games pool game to play powerade printable usa map psp video psycho le cemu pureology radial arm saw reglan roadway rochelle scottsdale homes for sale real estate sexually explicit shredders sick of love songs six sigma training certification middle east slipknot left behind solid oak bench sygate t and a t-pain lyrics tammin sursok tango maureen teacup yorkie the diplomats the italian job the leaning tower of pisa thoreau tongue ring tonsillitis toronto public library tradeshow displays tulsa world uni uspo valcanoes w-inds mp3 water filter systems web dubois welcome signs west palm beach william bradford wrecked cars yahweh 15 years old aaliyah haughton ace combat 5 acoustic soundclip advance all the things she said tatu aloe vera drink always look on the bright side of life ancient egypt history animated clip art anime gifs armenian dances athletic shoes auto trader online back tattoo basalt bikini thong billy joel we didn't start the fire birdhouse black dahlia black knight black star bn bose wave radio box bows jewelery brian warner bridal showers c.s lewis canadian pharmacies cherry poppins clara morgan clint eastwood gorillaz close to my heart cluster headaches comedian dave chappelle cpap mask cruise line custom mini vans cythera dark water demographic data dimensions magazine distributeur herbalife dogpile logo dollmakers downfall dr hook e mail eagle scout eee eminem my band entrepreneurship eplans.com extended stay hotels fairy drawings fila find addresses fortune frederic chopin free e books free html code free printable worksheets freight gift basket supplies griffins guilty gear x guns n roses welcome to the jungle h.264 harlem diplomats harlem shake hate me home construction honeymoon destinations hosting resellers hotel information spain travel religion-s.net jackrabbit janine habeck jesse spencer jingle bell jock shower joe namath katie couric legs kelly blue book value kitchen floor plans kris kristofferson la blue girl clips latin translations learn how to draw manga life quotes limousine coach builders magazine covers magneto mantis mapsource mariposa maui condos mazda 6 medical symbols memoirs of a shape-shifter menard's online store michigan mortgage micro mini bikini galleries microbes millenium mirena miss jackie monument valley muhammad the prophet mysurvey.com nadesico native american names natural healing new orleans saints oatmeal oklahoma university omgwtf online college over the knee punishment pachelbel canon parasitism paternity test peace corp peggy fleming peggy lee peterbuilt pink cars plantar fascitis presentation folders primary games prototype red blood cell retirement calculators reverse engineering rivermaya road trip movie romantic gift romantic gift ideas russ dalbey safe-mail.net san jose mercury news scottsdale arizona homes for sale real estate seattle newspaper see through bikinis six sigma consulting india soapstone sorrento accommodation sound blaster spirits spy kids starwood stuffing envelopes swish t-bone tammy wynette tap shoes teenage muscle temperature - sean paul texas holdem rules thalidomide the american dream the road not taken them toilet cams tongue piercings totes travertine tv reviews twice baked potatoes uncut music videos vintage dresses volkswagen beetle warn winch weddingchannel.com white briefs wink winrar download work home based business successforfreedom.com www.tagworld.com yahoo japan yahoomusic.com you can do it you know what they do to guys like us in prison (at) 17 hmr 4passion club acupressure adt security aeon flux gallery amish rocking horse anna pavlova application for the amazing race aroomofourown.com autopsy of selena avy baring all bellsouth dsl bettycrocker.com biel billboard's top 40 black sabbath mp3 blink 182 rock show brussels bushes business investment opportunities cape cod times cat care catalyst catherine of aragon celebrities in thongs celebrity soles cheat codes for xbox chris de burgh chrissy sparks christian keepsakes christmas party ideas clark kent clothing brands clover tattoos coin price guide cole haan shoes container gardening cool trucks cortez couples kissing curve custom order wristband dead aim death of timothy treadwell decorative outdoor lighting denali national park designer clothes dirty love donald trump fired clip download limewire dozer ecommerce web site development emergency lights eminem music videos equipment rental excel tutorial fish species ford expedition free desktop wallpapers free e cards animated free person search free solitaire download freight companies fundraiser ideas gambling revenue gamma rays gap kids gases geometry help getaway glock handguns graves great indoors gundam wing endless waltz harbour freight havasu contractor heart clip art