for the search, my way to preload images! haha

Search for in

Understanding CSS

CSS Coding Tutorials | Submited Nov 16, 2007

Written by: John

This is a short example of how classes are used, how to create them, and how to apply whatever it is you'd like to that section.
While CSS classes might not be new to some people, they are to others so I'm hoping with this brief and simple tutorial I'll be able to give some people out there a little more understanding at how CSS is handled. Below is a block of text that I'll be using as a guide.

Here is just some simple Big and Small text
Some folks like green text and blue
How about some bold and green text?
And we can Join as many classes as you'd like.

Source HTML


<div class="underCSS">
Here is just some simple <span class="CSSbig">Big</span> and <span class="CSSsmall">Small</span> text<br />
<span class="CSSgreen">Some folks like green text</span> and <span class="CSSblue">blue</span><br />
How about some <span class="CSSbold CSSgreen">bold and green</span> text?<br />
And we can <span class="CSSbig CSSgreen CSSbold">Join</span>
<span class="CSSsmall CSSblue">as many</span> <span class="CSSbold">classes</span> as you'd like.
</div>


Source CSS


The css below, would be placed between your Style Tags

.underCSS .CSSbig {font-size:20pt;}
.underCSS .CSSsmall {font-size:7pt;}
.underCSS .CSSgreen {color:#00ff00;}
.underCSS .CSSblue {color:#00aaff;}
.underCSS .CSSbold {font-weight:bold;}


tags Tags: CSS classes

5Thumbs up  Thumbs down0

Related Tutorials
Style Tags
How to create contact tables
How to Create Scroll Boxes
How to Customize the Pictures Page
Hide Default Layout
Hide Blogs
Hide your MySpace URL
Hide Navigation Bar
Polaroid Effect for Friend Space
Hide Friends
Hide Comments
Style your MySpace URL
Simple div / overlay tutorial
Images in Text
SEAMLESS TILES IN PSP
Creating Links
Floating display name
Stylizing the name with borders.
Editing MySpace texts
Colourizing Areas Within Images
No Comments Found
Sorry, you have to be a member to comment tutorials