Likes: 0
Results 1 to 8 of 8
Thread: [Quick Tut] CSS
-
25-07-08, 02:53 AM #1
[Quick Tut] CSS
Register to remove this adI FOUND THIS ON THE NET AND THOUGHT I OUGHT TO SHARE AND CONTRIBUTE TO THIS SECTION.
Source:CSS Quick Tutorial
__________________________________________________ _______________________
A style sheet is made up of style rules that tell a browser how to present a document. There are various ways of linking these style rules to your HTML documents, but the simplest method for starting out is to use HTML's STYLE element. This element is placed in the document HEAD, and it contains the style rules for the page.
Note that while the STYLE element is a good method of experimenting with style sheets, it has disadvantages that should be considered before one uses this method in practice. The advantages and disadvantages of the various methods are discussed in the section on linking style sheets to HTML.
Each rule is made up of a selector--usually an HTML element such as BODY, P, or EM--and the style to be applied to the selector.
There are numerous properties that may be defined for an element. Each property takes a value, which together with the property describes how the selector should be presented.
Style rules are formed as follows:
Code:selector { property: value }
Multiple style declarations for a single selector may be separated by a semicolon:
Code:selector { property1: value1; property2: value2 }
Code:<HEAD> <TITLE>CSS Example</TITLE> <STYLE TYPE="text/css"> H1 { font-size: x-large; color: red } H2 { font-size: large; color: blue } </STYLE> </HEAD>
This tutorial is intended as a very basic introduction to Cascading Style Sheets and should provide enough information to allow you to experiment with a few of your own styles. For a more in-depth look at Cascading Style Sheets, read the following sections:
› See More: [Quick Tut] CSS
-
27-07-08, 02:57 PM #2
That's a really simple one. If possible, you should add some more examples, and more properties. E.g. backgrounds, padding, margin, position, height, width, etc.
But still, keep it up. ^^
-
27-07-08, 05:17 PM #3
I used to have old forums filled with HTML/CSS stuff, but I can't find the guides anymore that I used to have : /
-
02-08-08, 11:10 AM #4SuccyGuest
Haha, This one is nice... Would like to see more coming:P
-
02-08-08, 08:12 PM #5
-
03-08-08, 02:22 AM #6
So people would like more CSS or HTML Tuts? Tell me which ones. I might continue a whole CSS Guide Compilation.
-
05-09-08, 01:15 PM #7
Start by the base point of webdevelopment - HTML. ^^
-
10-01-10, 01:19 AM #8
Register to remove this adPretty nice tut
Related Threads - Scroll Down after related threads if you are only interested to view replies for above post/thread
Visitors found this page by searching for:
Nobody landed on this page from a search engine, yet!
SEO Blog