Search
Recommended Products
Related Links







 

 

Visit our other Information site at
Find It All Here

Or, have a look at
PIXEL ADs of the WORLD



Visit our other Information site at
Find It All Here

Or, have a look at
PIXEL ADs of the WORLD



Informative Articles

How To Build Your Own Web Site For Your Online Home Business
Most everyone will agree, if you are going to do business online, you need your own web site. It can be a mini-site or a full blown multi-page site. These days, maybe you just need a blog as a web site. Find out what you need to know to build your...

How To Create Photorealistic Post-It Pop-Up
Have you seen one of those post-it pop-up? The one that looks so realistic, with awesome shadow effect. If you don't know what I am talking about, try opening the following website: http://myhobbybooks.com/wowpo p They look awesome...

Multimedia People
Once upon a time, there were no mobile phones and when there were mobile phones, they were expensive. Yet in such a short space of time (just six or seven years) they have become so mainstream that you can buy the models in supermarkets and call...

Separating Presentation, Content and Structure
The overall quality of the website quantifies its worth. It must not only be unique, flashy or overwhelming, it should also be functional, entertaining. It is not only there for display. Its there for a purpose and it should serve that purpose....

Web Accessibility: The Basics
What is web accessibility & why is it important? Web accessibility is about making your website accessible to all Internet users (both disabled and non-disabled), regardless of what browsing technology they're using. In addition to complying with...

 
Google

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