Why you should convert to CSS

Written by James Crooke


Introduction

What is CSS? - I hear some of you ask. Well, CSS stands for Cascading Style Sheets and they have been around sincerepparttar early 1990's believe it or not.

The Wikipedia definition (changed so that it makes sense!) is as follows:

CSS (Cascading Style Sheets) is a language that describesrepparttar 149165 presentation form of a structured document.

An XML or a HTML based document does not have a set style, but it consists of structured text without style information. Howrepparttar 149166 document will look when printed on paper and viewed in a browser or maybe a cellphone is determined by a style sheet. A good way of making a document look consistent and easy to update is by using CSS, which Wikipedia is a good example of.

So, why should we use CSS?

There are many benefits of utilising CSS on your web pages. Before you skip torepparttar 149167 disadvantages, I can tell you now thatrepparttar 149168 advantages easily outweighrepparttar 149169 bad points. Below is a short, descriptive list of reasons to makerepparttar 149170 change:

  • Save on bandwidth

    The more HTML code you use,repparttar 149171 largerepparttar 149172 file size ofrepparttar 149173 page. It doesn't take a genius to work that one out - sorepparttar 149174 most obvious solution is to cut down onrepparttar 149175 amount of HTML (something that Yahoo! might want to consider sometime, probably saving them £100,000's). CSS will certainly help to cut down onrepparttar 149176 amount of code you use, for example, replacing all of your <font> tags (which are now obsolete byrepparttar 149177 way) with simple style declarations.

    In reducing your file size, you will in turn reducerepparttar 149178 amount of bandwidth your website consumes each month, hopefully saving you money. Typically, a heavy HTML coded website can measure up to 80KB's in size (without taking images or other media into consideration) - using CSS can cut downrepparttar 149179 file size by approximately 30-40% - a potentially massive saving if your website is popular. To find out how much bandwidth you would save, check out this bandwidth calculator, provided by CJ Website Hosting.

  • Cleaner, clearer looking code

    Usually, CSS code is written in an external style sheet - you can however, use inline styles. Because of this, not only will your page load faster because a) external files are cached by most browsers and b) a stylesheet loads in unison with your web page - it also makes for much cleaner, clearer code.

    Still not convinced? Takerepparttar 149180 example below as hard evidence:

    This code is written without CSS:

     <table border="0" width="100%" cellpadding="10" cellspacing="0"> <tr> <td> <font face="verdana" size="7" color="#C71585"> <b>Welcome to my website</b> </font> </td> <td align="center"> <font face="verdana" size="7" color="#00FFFF"> My website is entirely written using HTML, nothing else. </font> </td> </tr> </table> 

    You can achieve exactlyrepparttar 149181 same result usingrepparttar 149182 following CSS...

     body { font-family:verdana,arial,helvetica; font-size:100%; } h3 { font: bold 140% verdana; color:#C71585; } #content { color: #00FFFF; } 

    ...andrepparttar 149183 following (tiny piece of) HTML code:

     <h3>Welcome to my website</h3> <div id="content"> My website is written usingrepparttar 149184 latest in web technology! </div> 

    Much nicer, I'm sure you'll agree.

  • Easy to update = less time consuming = cheaper to maintain!

    If you use an external CSS file (which I advise you to do), simply changingrepparttar 149185 style declarations in this one file will allow you to changerepparttar 149186 appearance of your entire website. For instance, inrepparttar 149187 example above, you could quite easily instructrepparttar 149188 browser to renderrepparttar 149189 heading tag torepparttar 149190 right ofrepparttar 149191 page or you could makerepparttar 149192 content wrap at 100 pixels - all by changingrepparttar 149193 CSS. Don't get me started on what you can achieve with bulleted lists!

  • Accessible pages and DDA compliance

    Visitors who are blind or visually impaired will prefer a CSS designed website far more than one not using CSS.

    This is due torepparttar 149194 fact that CSS follows web standards endorsed byrepparttar 149195 World Wide Web Consortium. Because of this, special web browsers (such as text only browsers which readrepparttar 149196 content out-loud torepparttar 149197 visitor) can interpretrepparttar 149198 content onrepparttar 149199 page.



How to Activate The Firefox Live Bookmark Feature on Your Site

Written by Joe Duchesne


Live Bookmark is Mozilla’s response to offering RSS feeds through their browsers and Firefox in particular. Using this technology, it’s possible for any visitor to your website to add your RSS feed in only two or three steps. Browsingrepparttar RSS feeds you subscribe to is as easy as looking up a bookmark. Instead of seeing a bookmark though, you get a list of allrepparttar 148725 headlines found onrepparttar 148726 RSS feed you just subscribed to. This feature is really cool.

How to Activaterepparttar 148727 Live Bookmark Icon

So how do you activerepparttar 148728 live bookmark icon on a Mozilla based browser? Simple, you includerepparttar 148729 following line of text inrepparttar 148730 header ofrepparttar 148731 page where you wantrepparttar 148732 icon to appear:

<link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="http://screamerfeeds.com/feed/" rel="nofollow"&qt;

Understandingrepparttar 148733 different parts ofrepparttar 148734 <link&qt; statement

Cont'd on page 2 ==>
 
ImproveHomeLife.com © 2005
Terms of Use