some nice quick generic CSS

Just a quick bit of generis CSS to throw into your style-sheets if required. Copy-paste it if required to ensure you don’t use in-line styling at all.

.whitetext { color:#fff; }

.leftpadding {padding-left:10px;}

.toppadding {padding-top:15px;}

.leftfloat img {float:left;padding-right:10px;}

.rightfloat img {float:right;padding-left:10px;}

.Size8 { font-size:8px; }

.Size10 { font-size:10px; }

.Size12 { font-size:12px; }

.Size14 { font-size:14px; }

.Size16 { font-size:16px; }

.Size18 { font-size:18px; }

.Size20 { font-size:20px; }

.Size24 { font-size:24px; }

.Size36 { font-size:36px; }

.Size48 { font-size:48px; }

.Size60 { font-size:60px; }

.Size80 { font-size:80px; }

.Size100 { font-size:100px; }

.Size120 { font-size:120px; }

.Arial { font-family:Arial; }

.Helvetica { font-family:Helvetica; }

.Tahoma { font-family:Tahoma; }

.TimesNewRoman { font-family:Times; }

.Tahoma { font-family:"Courier New"; }

.Georgia { font-family:Georgia; }

.Sansserif { font-family:sans-serif; }

.Verdana { font-family:Verdana; }

.Geneva { font-family:Geneva; }

It’s nothing flash, simply gives class to the styles for easy use in valid and clean fashion. Basically provides the means to define individual styles via the style-sheet in stead of in-line.


About Cameron
I'm a final year Computer Science/Information Systems major. Already finished my BA in Politics/Philosophy. I do web and software freelance on the side, while I finish studying. Hoping to be self-employed by the end of my degree, otherwise off into the real-world I go....

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: