Home Advertise with us Forum Articles Sitemap Contact
Logo  

Basic CSS Tutorial

Cascading Style Sheets or CSS as it is better known takes you to the advanced level of web designing. CSS helps give a fresh look & feel to your HTML document. It helps define how the different HTML elements be displayed.

CSS not only adds a new look & feel to your existing HTML document but also helps you completely restyle your website with just a few minor changes in the CSS code. The unique style so created can then be used on any number of the web pages. The best part about using CSS as a tool for styling is that, it saves a lot of time & effort.
HTML was never meant to contain formatting tags, but instead just help in addition of content to a document. It is because of this restriction on formatting that it was considered to be a difficult work to do formatting on large sites as the changes had to be reflected on every page.

This is where CSS came into effect. CSS allows all formatting to be removed from the HTML document & be stored in a separate file of CSS that is supported by all CSS browsers.

The basic way of functioning of CSS is that you define sizes, colors & other attributes in "external .css files" & then refer to these files while working on different pages of the site. If you wish to change the layout of the site, you just make a change in your stylesheet & the change gets reflected on the complete website.