Thursday 9, February 2012
Welcome Guest, Register | Login  
      Home    |    Tutorials    |    Free Ebooks    |    Free Scripts    |    Articles    |    Blog     |    Forum    |    About Us    |    Contact Us

Introduction

What is CSS?
Cascading Style Sheet (CSS) is a way to control the look and feel of your HTML documents in an organized and efficient manner. Styles define how to display HTML elements with CSS you will be able to:
1. Add new looks to your old HTML
2. Completely restyle a web site with only a few changes to your CSS code
3. Use the "style" you create on any webpage you wish
4. External Style Sheets can save you a lot of work

Style Sheets Can Save a Lot of Work
Styles sheets define how HTML elements are to be displayed, just like the font tag and the color attribute in HTML 3.2. Styles are normally saved in external .css files and also they can be embedded in html file. External style sheets enable you to change the appearance and layout of all the pages in your Website, by changing one single CSS document. CSS allows developers to control the style and layout of multiple Web pages all at once. As a Web developer you can define a style for each HTML element and apply it to as many Web pages as you want. To make a global change, simply change the style, and all elements in the Website are updated automatically.

Multiple Styles Will Cascade into One
Style sheets allow style information to be specified in many ways. Styles can be specified inside a single HTML element, inside the element of an HTML page, or in an external CSS file. Even multiple external style sheets can be referenced inside a single HTML document.

Cascading Order
What style will be used when there is more than one style specified for an HTML element?
Generally speaking we can say that all the styles will "cascade" into a new "virtual" style sheet by the following rules, where number four has the highest priority:
1. Browser default
2. External style sheet
3. Internal style sheet (inside the tag)
4. Inline style (inside an HTML element)
So, a style inside an HTML element (inline style) has the highest priority, which means that it will override a style declared inside the tag, in an external style sheet, or in a browser (a default value).

 

 
     
   
CSS Tutorial
 
  Introduction
Introduction
  Syntax
Syntax
  Internal CSS
Internal CSS
  External CSS
External CSS
  Inline CSS
Inline CSS
  CSS Classes
CSS Classes
  CSS Background
CSS Background
  CSS Text
CSS Text
  CSS Font
CSS Font
  CSS Border
CSS Border
  CSS Outline
CSS Outline
  CSS Padding
CSS Padding
  CSS Margin
CSS Margin
  CSS Lists
CSS Lists
  CSS Tables
CSS Tables
 
 
 
Web Designing Tutorials
  HTML Tutorial
HTML Tutorial
  DHTML Tutorial
DHTML  Tutorial
  CSS Tutorial
CSS Tutorial
  XHTML Tutorial
XHTML Tutorial
 
Programming Languages Tutorials
  C Language Tutorial
C Language Tutorial
  C++ Tutorial
C++ Tutorial
  Java Language Tutorial
Java Language Tutorial
  Data Structure Theory Tutorial
Data Structure Theory Tutorial
 
Server Side Scripting Tutorials
  PHP Tutorial
PHP Tutorial
  SQL Tutorial
SQL Tutorial
  ASP Tutorial
ASP Tutorial
 
Client Side Scripting Tutorials
  JavaScript Tutorial
JavaScript Tutorial
  VBScript Tutorial
VBScript Tutorial
 
 
 
POPULAR E-BOOKS
 
Download Targeted Cyber Attacks  The Dangers Faced by your Corporate Network Ebook Targeted Cyber Attacks The Dangers Faced by your Corporate Network
   
Download Capability-Based Computer Systems  Ebook Capability-Based Computer Systems
   
Download Traffic Exchange Secrets  Ebook Traffic Exchange Secrets
   
Download PC Assembly Language  Ebook PC Assembly Language
   
Download Secret Ultimate Supertip Ebook Secret Ultimate Supertip
   
 
Studiesinn.com © 2012 All Rights Reserved.
Website Designed & Developed by TechXprtz