Tuesday, April 14, 2009

Cascading Style Sheet (CSS) : The Importance of it

[saya nak berbahasa inggeris sket kali ni, blh kan~ kalau ada kesilapan, tolongla betolkan ye. komen anda dialu2kan~ ;)]

Hmm. its been so long since i last updated this blog. hehe. i'm currently quite busy adding more features to one of my company's source of money (mwahahahaha), www.hartanah.net.

For today's post, i would like to review the importance of CSS to us (Internet & Website users) and to all website's developers. 2.0 web rules! :) Actually, i wanted to review about this about quite a long time ago but, as i said it before, i didn't have much time to write it.

Before this, most of website developer are using table in their website layout. Even though we can use table for arranging the layout, but, table limits our design and make our website loads slower. So, as for this topic, i wanted state 9 importance of CSS in making your way to creating your website as you desired. (This was made from my reviewing from another websites references)



[-9 Importance of CSS-]


> A CSS style sheet works well with HTML

HTML looks quite plain when it is used independently in website development, but when we combined HTML with CSS, they can result in technically stronger website and beautiful page design.

> Website loads a lot faster and reduce bandwidth usage

The reason why CSS is a favourite of most of nowadays web developer is that CSS are lighter than table layouts, which saves a lots of bandwidth usage and make the website loads faster. The style sheet is downloaded only once and stored in the cache memory, so subsequent pages load faster.


> CSS allows you to position your element anywhere in the webpage

Web developers/designers love to use CSS because it allows them to position their element where ever they want in the web page. If during any phase of web development the developer feels that particular links or columns are not going well with the situation then it becomes easier for them to position them easily using CSS. CSS helps them to reduce any risks while they maintaining the website.

> CSS is compatible with all web browsers

CSS is combined with HTML or XHTML by web developers for web application development because it is compatible with all web browsers. The sites that use CSS appear similar in all the web browsers.

> CSS can be used to create print-friendly web pages

CSS also provide the web developers/designers building their HTML based web applications because they allow them to create print friendly web pages. These web pages can be easily printed. The difficulties colours, images and other things which are difficult to be printed can be eliminated and printed easily.

> CSS style sheets allows the user to customize the webpage

Now days many websites allow the user to change the layout of the website without affecting the content. The CSS style sheets which are stored externally allow the user to make requisite changes by themselves. Most of the modern browsers give user the liberty to define their own style sheets like changing some font properties etc.

> CSS style sheets makes it easier for your website to feature in search engines

The CSS style sheets are favoured by web developers because they allow them to position their elements as per their wish anywhere in web application. Positioning helps to project the main contents first, so that it is easily captured by web spiders. CSS also gives cleaner HTML codes thus cutting down the job of web spider to search the real content from junk code.

CSS allows the web pages to have absolute consistency

One of the reasons for using CSS during web development is that they allow consistency to all web pages. All the expressions and texts will get their characteristics from external style sheet. Web developers need not to worry about the change in characteristics of the elements because they can be easily altered at any stage of web development by using CSS.

> CSS lends portability to content

By using CSS you can make separate style sheets for different media. This provides you the great flexibility in presenting your content. CSS allows you to redefine the characteristics of elements in a website to suit the need of the situation. e.g : A separate style sheet will allow you to redefine the characteristics of certain elements so that they are easier to be printed. Also the user will never come to know that you had restructured the characteristics for their benefit.

CSS is created to make the things easier for your website and also to give you control over different elements in your website. Utilizing benefits of CSS will give you popular user friendly web pages.

Thanks for reading. I'm grateful if you could give any feedback for this topic. See you later in next posting~ :)

No comments: