Cascade Style Sheet Basics


Joined: 2008-07-10
Posts: 1
Posted: Thu, 2008-07-10 09:44

There are only three parts to Cascade Style Sheets (CSS), and once Website design services will make understand what they are and how to use them, CSS becomes very easy and exciting to use. One of the best parts of CSS is that you can create an external Cascade Style Sheet which you can use for all web pages on your website. You can also have one CSS for all of your articles and a different one for all of your press releases. Making one change in your CSS, you are able to effect changes to a few web pages or to hundreds of web pages without ever touching any of the different web pages themselves.

Selector { property: value }
The first part is the selector. In techie terms, a selector is the (x) HTML element that you want to style. Now what does this really mean to the person who doesn't know about (x) html code and really doesn't want to learn it, but does want to make changes to their own websites. Absolutely nothing, right? It just went over your head and now you are at a loss. Well, let me show you what some of the most common selectors are, and I know that you will begin to feel more comfortable with selectors.

The first selector that you come across in all web pages is the body, next might be h1, or the p. In (x)html the code is going to look like this:

< body> your web page content goes here< /body>: or, < h1> Your headline text goes here< /h1> ; or, < p> your paragraph text goes here< /p> .