Cascading Style Sheets, the Works{Comments Off on Cascading Style Sheets, the Works}


by Davina V
This article explains how Cascading Style Sheets (CSS) works. “CSSs are a way to separate content from style” (Gibbs, 2004) and Styles can be broken down into the following types: text style, text layout, background, border, margin, element type, user interface, padding, and page layout. With a program so complex you would ask how CSS-compatible are the browsers. The thing is that no browser seems to get everything right, but there is enough compatibility between them for CSS to be effective. If you want more information on this the author suggested to refer to QuirksMode.org or to the DocFinder: 9731. Then the author goes on to give us examples like the one we had in class. Except, he gives us three rule types and explains a little. The three rule types are: HTML selectors, classes, and IDs. HTML selectors are like the tags we saw in class; a class, denoted by a period followed by a string, can be applied to different tags; and an ID denoted by a ‘#’ followed by a string is like a class but is only assigned to a style to a single tag.

This article is not as contemporary as I would like it to be, but it does serve my purpose well enough. It is informative enough so that it does not make one confused about the content and what it is talking about.

Reference:

Gibbs, M. (2004). Cascading style sheets, oh my!.Network World21(7), 64. Retrieved from http://search.proquest.com/docview/215963568/fulltextPDF?source=fedsrch&accountid=10357