Google
Home Site Map Contact Info
About Us Services Skills Consultancy Support ContactUs RSS Feeds Valid XHTML 1.0 Transitional

Name
Mobile
 



Name
E-mail
Phone
Request
 
 
Home
 
Cascading Style Sheet
Cascading Style Sheets (CSS) is a stylesheet language used to describe the presentation 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 can be used locally by the readers of web pages to define colors, fonts, layout, and other aspects of document presentation. It is designed primarily to enable the separation of document content (written in HTML or a similar markup language) from document presentation (written in CSS). This separation can improve content accessibility, provide more flexibility and control in the specification of presentation characteristics, and reduce complexity and repetition in the structural content. 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. 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.
The CSS specifications are maintained by the World Wide Web Consortium (W3C). Internet media type (MIME type) text/css is registered for use with CSS by RFC 2318 (March 1998).
Syntax
CSS has a simple syntax, and uses a number of English keywords to specify the names of various style properties. A style sheet consists of a list of rules. Each rule or rule-set consists of one or more selectors and a declaration block. A declaration-block consists of a list of semicolon-separated declarations in braces. Each declaration itself consists of a property, a colon (:), a value, then a semi-colon (;).[1] In CSS, selectors are used to declare which elements a style applies to, a kind of match expression. Selectors may apply to all elements of a specific type, or only those elements which match a certain attribute; elements may be matched depending on how they are placed relative to each other in the markup code, or on how they are nested within the document object model.
In addition to these, a set of pseudo-classes can be used to define further behavior. Probably the best-known of these is :hover, which applies a style only when the user 'points to' the visible element, usually by holding the mouse cursor over it. It is appended to a selector as in a:hover or #elementid:hover. Other pseudo-classes and pseudo-elements are, for example, :first-line, :visited or :before. A special pseudo-class is :lang(c), "c".
Terms used in cascading style sheets. The ID selector refers to an ID used in a tag, e.g., . Likewise, the class selector refers to a class, as in . A pseudo-class selects entire elements, such as :link or :visited, whereas a pseudo-element makes a selection that may consist of partial elements, such as :first-line or :first-letter. Selectors may be combined in other ways too, especially in CSS 2.1, to achieve greater specificity and flexibility.[2]
Use of CSS
Prior to CSS, nearly all of the presentational attributes of HTML documents were contained within the HTML markup; all font colors, background styles, element alignments, borders and sizes had to be explicitly described, often repeatedly, within the HTML. CSS allows authors to move much of that information to a separate stylesheet resulting in considerably simpler HTML markup.
Headings (h1 elements), sub-headings (h2), sub-sub-headings (h3), etc., are defined structurally using HTML. In print and on the screen, choice of font, size, color and emphasis for these elements is presentational.
Prior to CSS, document authors who wanted to assign such typographic characteristics to, say, all h2 headings had to use the HTML font and other presentational elements for each occurrence of that heading type. The additional presentational markup in the HTML made documents more complex, and generally more difficult to maintain. In CSS, presentation is separated from structure. In print, CSS can define color, font, text alignment, size, borders, spacing, layout and many other typographic characteristics. It can do so independently for on-screen and printed views. CSS also defines non-visual styles such as the speed and emphasis with which text is read out by aural text readers. The W3C now considers the advantages of CSS for defining all aspects of the presentation of HTML pages to be superior to other methods. It has therefore deprecated the use of all the original presentational HTML markup.
Sources
CSS information can be provided by various sources. CSS style information can be either attached as a separate document or embedded in the HTML document. Multiple style sheets can be imported, and alternative style sheets can be specified so that the user can choose between them. Different styles can be applied depending on the output device being used; for example, the screen version can be quite different from the printed version, so that authors can tailor the presentation appropriately for each medium.
Author styles (style information provided by the web page author), in the form of external stylesheets, i.e. a separate CSS-file referenced from the document embedded style, blocks of CSS information inside the HTML document itself inline styles, inside the HTML document, style information on a single element, specified using the "style" attribute. User style
a local CSS-file specified by the user using options in the web browser, and acting as an override, to be applied to all documents.
User agent style
The default style sheet applied by the user agent, e.g. the browser's default presentation of elements. One of the goals of CSS is also to allow users a greater degree of control over presentation; those who find the red italic headings difficult to read may apply other style sheets to the document. Depending on their browser and the web site, a user may choose from various stylesheets provided by the designers, may remove all added style and view the site using their browser's default styling or may perhaps override just the red italic heading style without altering other attributes.
123ukwebsiteis a software design and development company based in London(UK) that specializes in business applications and database driven web sites. A low-overhead virtual office allows Sapphire to provide responsive service and professional on-site support at affordable prices. Local outsourcing makes sense when your project involves the core business processes and where there is a need for close cooperation and a high degree of creativity in the collaboration.

How can 123ukwebsite guarantee that the bespoke development solution meets your expectations ?
Through our unique approach involving:

Software Development Methodology:

we utilise a tried and tested methodology which ensures a consistently high level of interactivity with the client.

Project Management:

we allocate a project manager who controls the project through the full lifecycle.

Recruitment Strategy:

we recruit and train only the most intelligent and analytical graduates to ensure consistently high technical skills are available to clients.

Development tools and technologies:

our employees have experience in developing solutions in a wide selection of programming lanugages and all developers undertake continual training in the latest technologies.

Costs and Timescales:

our history of developing solutions on time and within budget means that we can now accurately predict costs and timescales.

Source Code:

ownership of all source code developed during a project is passed to the client upon completion.

Quality:

Sapphire is an ISO 9001 and Tick IT certified corporation
aa
Services
E-Commerce
Application Development
Content managemnet System
Data Base Development
Web Development

Sapphire webtech is a trading name of Rush 2 Limited.

Rush 2 Ltd. is registered as a limited company in England and Wales with the Company no. 0633010.

Address:295, Luton Road, Dunstable, Bedfordshire, LU5 4LR. Email: info@sapphirewebtech.co.uk, Copyright ©2006-2008 Sapphire Webtech. All rights are reserved.