Search
Recommended Sites
Related Links






Valid XHTML 1.0 Transitional

Valid CSS!
   

Informative Articles

50 Surefire Web Design Tips
Tips to brand your website Include your logo in all pages. Position it at the top left or each page. Complement your logo with a tagline or catchy sentence that summarizes your business purpose. For example "Always low prices" is...

Honor Your Viewers
If you own a web site, you never know who has saved a page from your site to their favorites file (bookmarked it). It might be your home page, a great article, or a terrific resource. And since you don't know, every time you remove a page, you run...

How to Insert a Vertical Divider Line into Your Web
Unlike creating a horizontal vertical line by inserting an tag, a simple html code is not available to insert a vertical divider line into your web page. However, there are two simple ways to insert a vertical divider line... 1. Create a...

How to Spam Google and get away with it.
I bet you are eager to find out just how to do this. "Spamming Google" that is, and getting away with it. Maybe you want to try this method out or maybe you are another SEO guy waiting with baited breath to downplay this concept. Well, I...

Why You Should Learn HTML
Do you have a website or are you planning on creating a website in the near future? You owe it to yourself to at least learn some basic HTML (HyperText Mark-up Language). Even if someone else is creating and maintaining your website there are some...

 
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.