This week we learned about Cascading Style Sheets (CSS). The article I read on zimbio.com, describes advantages and disadvantages of CSS. I realized that no matter what technology or tools we use, there is always some tradeoffs. But often times, the benefits out weights the costs / advantages. Cascading Style Sheets is one of the tools we use in Web Design. The article lists some of the advantages of CSS such as bandwidth, progressive enhancement, flexibility, consistency, making changes to the layout, and search engines.
What I learned from this is that CSS has some advantages over HTML. CSS is stored in browser cache; therefore it can be used on multiple pages without being reloaded, increasing download speeds and reducing data transfer over a network. CSS can be used to apply style to whole page or the website without changing much of the code. The look and layout of a site can be changed beyond recognition just by altering the CSS file. I also learned that a search engine robot normally considers the content in the start of your HTML code to be more important than the text towards the end of the code. With a CSS page, the navigation can be moved to the bottom of the source code, so the search engine displays your content instead of the navigation.
CSS has some disadvantages as well. One of the biggest disadvantages of CSS is that CSS does not work consistently in different browsers. Microsoft Internet Explorer and Opera support CSS in a logical way but unfortunately their logic does not support current CSS standards. Firefox supports CSS standards more closely. So a site could look quite different on Internet Explorer from the way it looks in Firefox. Therefore, the site must be designed for both Firefox and Internet Explorer.