Written by Kevin Muldoon from System0 on March 25, 2007

Newbies to CSS might be a little confused as to the differences between classes and ids. I thought it would be good to write a post about this and help clarify these differences.

Both ids and classes allow you to structure and display your site and information the way you want. However there are two very small differences between classes and ids.

  1. An id identifier can only be used once in a page/document whereas a class can be used as many times are needed.
  2. There is a small diference in the way identifiers…
Filed Under CSS / 3 Comments
Written by Kevin Muldoon from System0 on March 18, 2007

Cascading style sheets can be used internally or externally - ie. you can can add your style code to your page directly or place it in a seperate style code and link to it.

Its a very basic concept but since not everyone is familiar with CSS and since
nearly all blogs use it, i thought it would be worthwhile posting about it.

Internal Stylesheet

Here is the basic code for an HTML page.

<html>
<head>
<title>BloggingTips</title>
</head>
<body>Site content

</body>
</html>
If you want to place your css code internally, which might be preferable if your not using a lot of…

Filed Under CSS / 1 Comment