Search
Recommended Sites
Related Links






Valid XHTML 1.0 Transitional

Valid CSS!
   

Informative Articles

Flash Design: Is it all it's cracked up to be?
INTRODUCTION When Flash was first introduced by FutureWave Inc. in August 1996, it was known as "FutureSplash Animator." Macromedia acquired FutureWave in December and renamed the application to "Flash." What made FutureSplash unique was the fact...

How To Get A Site Online And Have It Making Money
When building and getting a site online you have to think of a number of things. Some of these include the following: 1. What is your site going to be about If you want to get a site online to make money then you need to do some good...

How To Select A Good Website Hosting Company
I constantly encounter people that want me to design or update a website for them, and they are already signed up with a hosting company. The only problem is that many of these people should never have signed up with that particular hosting company....

How to Transfer Your Web Site to Another Host Without Losing It
You want to change web hosts because you have found a less expensive solution for your web site. You are not happy with the services your host is providing. The response time for technical support is too slow. You make the decision to change web...

Successful Website - Secrets
Does your business have a presence on the Internet? Is it doing well? Did you know that the most important factor effecting your business on the internet is your web site? No matter how good your product is, no matter how low your product is...

 
CSS: The Basics - ID's and Classes

Css

Cascading Style Sheets

Two types of style sheets: Internal and External

Internal - You insert your style code right into your html code.
These stylesheets should only be used if you are intending to
create a specific page with a specific style. If you want to be
able to make global changes to your website using only one style
sheet, you have to use....

External Stylesheets - Instead of putting all the style code into
your html code, you can create a single document with your css
code and link to it within your webpages code. It would look
something like this


Webpage title< itle>
href="http://www.yourdomain.com/css">


If you decide to use an internal stylesheet, you have to put your
css style wihin the following tags:



All css or links to the external stylesheets have to go in
between the tags

Now about Css Classes vs. ID's

The one major difference between a class and an id is that
classes can be used multiple times within the same page while an
Id can only be used once per page.

Example:

ID - The global navigation of your site, or a navigation bar. A
footer, header, etc. Only items that appear in only one place
per page.

Class - Anything that you would use multiple times in your page,
such as titles, subtitles, headlines, and the like.

Creating ID 's

To create an Id in your css, you would start with the number sign
(#) and then your label of the id. Here's an example

#navigation {
float:left;
}

To insert the id in your html, you would do something like this



Sign up for PayPal and start accepting credit card payments instantly.