Search Articles:  

Home | Internet | Website Design


Using Cascading Style Sheets (CSS) Part 1

By: Webs Hosters

In this series of articles it is our aim is to bring a comprehensive guide to CSS (Cascading Style Sheets) and hopefully to help the internet become a better designed environment. Cascading Style Sheets (CSS) are a fantastic tool to add layout to your websites. It can save you a lot of time and it enables you to design websites in a completely new way. CSS is a must for anyone working with web design.
Learning CSS is fun. As you go along, remember to take enough time to properly experiment with what you learn in each lesson. Using CSS requires basic experience with HTML.

Which software do I need?


Please avoid using software such as FrontPage, DreamWeaver or Word. Advanced software will not help you learn CSS. Instead, it will limit you and slow down your learning curve significantly. All you need is a free and simple text editor. Microsoft Notepad is a good example and comes free with windows. It is usually located in Accessories in the start menu under Programs. Alternatively, you can use a similar text editor e.g. Pico for Linux or Simple Text for Macintosh.A simple text editor is ideal for learning HTML and CSS because it doesn't affect or change the codes you type. That way, your successes and errors can only be attributed to yourself - not the software. You can use any browser and we encourage you to always keep your browser updated and use the latest version. A browser and a simple text editor is all you need.

What is CSS?


Maybe you already heard about CSS without really knowing what it is. Here you will learn more about what CSS is and what it can do for you. CSS is an acronym for Cascading Style Sheets.

What can I do with CSS?


CSS is a style language that defines layout of HTML documents. For example, CSS covers fonts, colours, margins, lines, height, width, background images, advanced positions and many other things. Just wait and see! HTML can be (mis-)used to add layout to websites. But CSS offers more options and is more accurate and sophisticated. CSS is supported by all browsers today. After only a few lessons of this tutorial you will be able to make your own style sheets using CSS to give your website a new great look.

What is the difference between CSS and HTML?


HTML is used to structure content. CSS is used for formatting structured content. It sounds a little technical and confusing. But please continue reading. It will all make sense to you soon. Back in the good old days when a guy called Tim Berners Lee invented the World Wide Web, the language HTML was only used to add structure to text. An author could mark his text by stating "this is a headline" or "this is a paragraph" using HTML tags such as <h1> and <p>. As the Web gained popularity, designers started looking for possibilities to add layout to online documents. To meet this demand, the browser producers (at that time Netscape and Microsoft) invented new HTML tags such as for example <font> which differed from the original HTML tags by defining layout - and not structure. This also led to a situation where original structure tags such as <table> were increasingly being misused to layout pages instead of adding structure to text. Many new layout tags such as <blink> were only supported by one type of browser. "You need browser X to view this page" became a common disclaimer on web sites. CSS was invented to remedy this situation by providing web designers with sophisticated layout opportunities supported by all browsers. At the same time, separation of the presentation style of documents from the content of documents, makes site maintenance a lot easier.

Which benefits will CSS give me?


CSS was a revolution in the world of web design. The concrete benefits of CSS include:

  • control layout of many documents from one single style sheet;

  • more precise control of layout;

  • apply different layout to different media-types (screen, print, etc.);

  • numerous advanced and sophisticated techniques.


In the next article we will take a closer look at how CSS actually works and how you get started. Our thanks to www.html.net for information contained in this article

Article Source: http://www.articlevaults.com

About the Author: Webs Hosters have been in the website hosting business for 10 years. Their customer base ranges from large corporations to small businesses, but their prority has always been to provide honest affordable hosting for all. www.webshosters.com Their sister company Magiwebs builds and maintains websites world wide. www.magiwebs.com

Please Rate this Article

 

# of Ratings = 3 | Rating = 5/5

Click the XML Icon Above to Receive Website Design Articles Via RSS!
Copyright © www.articlevaults.com. All rights reserved.         Design by Magiwebs - Powered by Webshosters

Powered by Article Dashboard