URL.biz - where people find experts

 
HOME ARTICLES LIST NOW FOR FREE! ABOUT US CONTACT US LOG IN

Why use CSS?
The CSS (cascading style sheet) are the best way to make the pages of our website clear and more functional.

Go to Web Site

The CSS (cascading style sheet) are the best way to make the pages of our website clear and more functional.

This is a description from Wikipedia.org (http://en.wikipedia.org/wiki/Cascading_Style_Sheets)

-----------

Cascading Style Sheets (CSS) is a stylesheet language used to describe the presentation (that is, the look and formatting) of a document written in a markup language. Its most common application is to style web pages written in HTML and XHTML, but the language can be applied to any kind of XML document, including SVG and XUL.

CSS is designed primarily to enable the separation of document content (written in HTML or a similar markup language) from document presentation, including elements such as the colors, fonts, and layout. This separation can improve content accessibility, provide more flexibility and control in the specification of presentation characteristics, enable multiple pages to share formatting, and reduce complexity and repetition in the structural content (such as by allowing for tableless web design). CSS can also allow the same markup page to be presented in different styles for different rendering methods, such as on-screen, in print, by voice (when read out by a speech-based browser or screen reader) and on Braille-based, tactile devices. While the author of a document typically links that document to a CSS stylesheet, readers can use a different stylesheet, perhaps one on their own computer, to override the one the author has specified.
CSS specifies a priority scheme to determine which style rules apply if more than one rule matches against a particular element. In this so-called cascade, priorities or weights are calculated and assigned to rules, so that the results are predictable.

-----------

Almost all web designers and developers have had their moment of panic when, after meticulously created a page full of many hidden tables, they felt to ask the customer a "small" change.
This change may involve something as simple as, for example, "you can move the image a little further to the left?" Or dramatic as "I do not like this headline, you could enlarge the font, and while you are doing, you can also change the color? "
If this is a project with a limited number of pages, you can take a deep breath, and commit to an hour to make those annoying changes. However, when it comes to larger sites, which have become the standard, a simple change suddenly becomes very complicated.

What is causing the panic in these situations? The markup, which defines the layout of our page, it's really a part of the page itself. To get a proper, take a page of any one of your sites and count the number of font tags and tables. If you only manage to remove this markup from the stream, or the code of the page itself and, even better, if you were able to make it outside you could make all the changes in one place on a centralized basis. It seems just a job for CSS!

When designed your pages using style sheets single, multiple, or outside, you can apply to your site such changes solely by changing the style sheet and then simply uploading the modified version.

Imagine what it would be difficult to move the menu navigation of your site from the left side of the page at the right side, a layout in traditional tables. It would take many hours of repetitive work and very boring. However, if you have chosen to use the positioning attributes of CSS to design your page, a simple change to the attribute "float" within the external style sheet, update the page immediately. There is also another advantage. Have you updated all the pages that use that style sheet in the site!

 
Other Articles Written By This User


Copyright © 2003 - 2012 URL.biz. All rights reserved.