CSS (Cascading Style Sheets) was one of the best things ever to happen to web site development. CSS makes it easier to define the look and format of web pages, and it enables layout and behaviour not possible with HTML alone. I used CSS even on my first web site, in spite of limited browser support, and would never consider coding a site without it. <\/p>\n
I’m surprised at how many web developers still write CSS into each web page. This can be seen by viewing the HTML of the pages, easily done with the View > Source command in Internet Explorer, View > Page Source in Firefox, or similar commands in other browsers. Many sites still write their style declarations into the HEAD of each page. This is not an efficient way to use CSS, and is certainly not my preferred method. Here’s an example of this poor practice:<\/p>\n
Even worse, I see sites that write their styles as HTML attributes in each element on the web page, e.g.:<\/p>\n