Search
Recommended Sites
Related Links






   

Informative Articles

404 Not Found? Turn 404 Error Page into Profit!
Easy way to make money from Error 404. A 404 error occurs whenever someone requests a URL that is not on your server. Either they have mistyped something, or you moved or deleted a document that used to be on your web site. So why lost this...

Get Real-time Adsense Channel Stats And Find Out Which Ads Are Being Clicked
If you have multiple sites or multiple directories in your site for different subjects and you have placed Adsense codes in your site, I am sure you would like to know: (a) from which site or directory you are earning the most / least, (b) which...

Growing Your Business In CyberSpace
A synopsis of Philippa Gamse's Presentation to the National Speakers Association, Washington DC chapter on Saturday, January 10, 2004 Someone had asked Philippa why Websites are such a 'pain' in a pre-seminar question. Her opening reply was...

How to Prepare Images for Your Web Site - Part 3
How to Prepare Images for Your Web Site - Part 3 Copyright 2002 Herman Drost Image optimization significantly improves your site's effectiveness. Whether your success is measured in revenue per user, page views, unique visitors, or pure profit,...

Using Web Design and Internet Marketing for a Better Business
The web is so popular because it is interactive and very user-friendly. Interactivity is the ability of a web to send back information or talk back to the server from which the pages originated. For example, you can do on-line banking and then...

 
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.