Bad design: Using images for text

Bad design: Using images for text

I have a bad habit of “reading with the mouse pointer” By this I mean selecting the text at the start of it and highlighting the text as I read it. I know many people have a habit of doing something similar to this. I know it looks kinda weird , but enough...
Check if an element exists using jQuery

Check if an element exists using jQuery

Have you ever wanted to check if a element exists using jQuery, but not got the results you were looking for? It’s not as obvious as you might think it is, but when you understand how jQuery treats objects you will never have this problem again. Let’s look...
Autoload php classes

Autoload php classes

One thing that can be annoying about PHP is that you have to include the class-files before you can create a class, and if you have alot of classes the list of includes can get quite long. You could create a dedicated include file and throw all the include statements...
Why you should reset the css style sheet

Why you should reset the css style sheet

What is CSS reset, and why do I need one? All the major browsers like Firefox, Internet Explorer, Opra, Chrome, etc. comes with their own default CSS file. These are css values that are aplied to all web pages, to make them look better and more readable, applying...