Search
Recommended Sites
Related Links






   

Informative Articles

Are You A Bill Clinton Webmaster?
One of the most frequent questions I get asked about my ebook, Don't Get Banned BY The Search Engines, is whether I amended it to include post-Florida Google. "Florida" is the code name that search engine optimizer wizards gave to a November,...

Article Submitter Pro Review
If you have ever submitted articles to gain website popularity, then you know how long the pain-staking process takes. Well, there is a new automatic article submitting software that was just released last week called Article Submitter Pro. This...

ASP Web Hosting
ASP web hosting refers to web hosting companies who provide support for ASP (Active Server Page). If you want a dynamic data-driven web site you may wish to embed ASP code into your web site's HTML Pages. When a user is viewing a web site that...

http://www.medprime.com/medprime-articles.html
The health insurance crisis is growing in severity. With current estimates that 15.2 percent of the population, or 43.6 million people are without health insurance coverage, companies and individuals are starting to look at cost effective,...

Untangling Spaghetti HTML
Untangling Spaghetti HTML ========================= by Sunil Tanna, EBookCompiler.com When I was first learning to write computer programs, one of the most important points that was drummed into me was that it's never a good idea to write great...

 
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.