there are a few shorthand properties in css such as
Shorthand version:
.bla
{
background:#000 url(www.somewhere.com/pic.jpg) fixed top no-repeat;
}
Longhand version:
.bla
{
background-color:#000;
background-image:url
background-attachment:fixed;
background-position:top;
background-repeat:no-repeat;
}
both versions do the same thing but obviously the first one is well shorter
CSS (Cascading style sheet)
The two big styles are Pitman and Gregg
He created Shorthand writing.
That would refer to the location of the style sheet for your XML document
To edit an already created style sheet and then save it with a new name, first load the style sheet. Then, save the sheet with a new name so that changes will remain separated from the original sheet. Then, make the changes to the sheet using the editing functions.
The cascading that is referred to in the name cascading style sheets refers to how rules can cascade in how they are implement. CSS rules can be found in three places: an external style sheet, and internal style sheet, or inline. Cascading refers to precedence. A rule located inline, will take precedence over a rule located in an internal style sheet and a rule located in an internal style sheet will take precedence over a rule located in an external style sheet. Within a single style sheet (for example an external style sheet) a rule located at the bottom of the style sheet takes precedence over a rule located at the top of the style sheet. This allows you fine tuned control over your styles and how and when they display and which one will display based upon where in the cascading hierarchy they appear.
Actually, there is no difference between an embedded style sheet and a linked style sheet. They are exactly the same thing, just different wording to describe the same process. To embed a style sheet into a document, you use the <link /> tag within the <head> tag of an HTML document. An example is: <link rel="stylesheet" href="style.css" type="text/css" />
An external style sheet.
Three Ways to Insert CSSThere are three ways of inserting a style sheet: External style sheetInternal style sheetInline style An external style sheet is ideal when the style is applied to many pages. With an external style sheet, you can change the look of an entire Web site by changing one file. Each page must link to the style sheet using the tag. The tag goes inside the head section: An external style sheet can be written in any text editor. The file should not contain any HTML tags. Your style sheet should be saved with a .css extension. An example of a style sheet file is shown below: hr {color:sienna;}p {margin-left:20px;}body {background-image:URL("images/back40.gif");}
To link a style sheet into an HTML document, you will use the <link> tag. This tag links, or embeds, the style sheet into the document. This would look like: <link rel="stylesheet" href="style.css" type="text/css" /> This allows you to use the same style sheet and rules on multiple HTML documents.
cascading style sheet
dhg