![]() Site MapYour Current Location is in Yellow To Style or Not
|
To Style or NotCSS Cascading Style Sheets. Seems like a lot of mumbo-jumbo. It's a lot of work to learn how to use them. Why would I want to do all that typing when all I need is <I> for italics or <B> for bold? And how the heck can I write a page without a <CENTER> tag?When I first tackled STYLE, I thought the amount of typing involved was ridiculous. Until I got the hang of it and discovered that by defining properties in the HEAD of the document or in a stylesheet, I could zip along without having to stop and type FONT and CENTER and a bunch of attributes over and over. I also discovered that if I decided to make changes to the site , I could make the change once in the stylesheet and instantly update the look of every page linked to that stylesheet. In addition, the control over the layout and style of the page is much better, much more exact, much more dependable using style rather than a bunch of lame attributes or, worse yet, nonbreaking spaces. The tricky part about stylesheets is the cascade and inheritance issues. If you don't pay attention to the rules of inheritance and importance, you may get unexpected results. With that exception, style is the easiest way to control the layout of your webpages. This is not a STYLE tutorial (there are several very good ones on the net), but I will cover a few basics. There are basically three ways to set style:If style is so great, why isn't everyone using the technique? Well, a lot of the commercial sites do use style heavily. But among amateurs, there are a couple of obstacles. One, as I stated in the Introduction page, people are lazy, scared, or both. And many are gullible enough to fall for the advertising hype surrounding the EZ editors and web page makers. Most of those idiot robot editors simply cannot construct successful stylesheets. The few I've seen that made the attempt made a complete botch of the job. It takes the human touch. All that said, there is another compelling reason not to use stylesheets: there are still millions of internet surfers who are using old browsers that don't support stylesheets. This is especially true of AOL users, sad to say. Touting itself as a premier service, AOL typically has provided out-of-date browsers. In addition, the online services tend to lull people into thinking they don't have to do anything such as update their software because the Internet Mother, e.g. AOL, will take care of all their needs. On top of that, Netscape's latest release still does a very poor job of rendering style. On the plus side, if you use the HTML tags intelligently, the lack of style won't ruin your pages, even though they will be pretty primitive looking. This brings us to the choice: To Style or Not. And thats a question you must answer for yourself. Do you settle for a page that looks consistently so-so in most browsers, or do you take the plunge and use style to give your pages zip when viewed by capable browsers, but makes them crash and burn in older browsers? My choice: Damn the torpedos full speed ahead!
Copyright © 1999 Carlton Higginbotham, Meade Street Productions.
Last updated
|