Pure CSS Tooltips

Demo In all browsers you can get the basic tooltips on HTML elements by using the title attribute like the below example. ## HTML Title Attribute <a href="" title="Example of Tooltip">Tooltip&l...

Using htaccess To Force Trailing Slash

You can use htaccess to change the URL structure of your website. There are lots of things you can do with htaccess one of the most common things would be to make sure all the pages are prefixed with...

Switch Stylesheets With jQuery

Jquery makes it very easy to manipulate the the DOM, this makes it so easy to change any element on your webpage. One of those elements is the reference to your stylesheet, so using jQuery you can ea...

How To Remove WordPress Dashboard Widgets

On the Wordpress dashboard you get to see lots of information about your current Wordpress site. You get things like: Recent Comments Incoming Links New Plugins Drafts Wordpress News You can even a...

Remove The WordPress Admin Bar

In Wordpress 3.1 they introduced an admin bar which is displayed at the top of window if you are logged in as an admin and are not currently in the admin area. This is a quick way to access the main a...

Automatically Empty Trash Posts In Wordpress

Do you create posts just to delete them half way when you realise their not good enough to be put up on your site? Lots of people create a post and end up deleting it. After a while your trashed post...

Change Browser Highlight Colour With CSS

In this tutorial today you will learn how you can change the default browser highlight colour by using CSS. If you take your mouse, click and drag your mouse on the page you will highlight the text....

Change End Excerpt In WordPress

Wordpress is a popular blogging software that allows you complete freedom on how you display the posts to your visitors. It is common on most blogs to have a snippet of the post on the home page of th...

PHP __get And __set Magic Methods

PHP is a loosely typed programming language, one of the features of a loosely typed language is that you can use variables without declaring them or their type. In other languages such as c# you need...

How To Use HTML5 Form Features

In HTML5 there are a few more features which allow you to do some cool things with forms such as validation without writing any Javascript which makes it easier for all people who don't know how to wr...

CSS3 Spinning Social Media Icons

We all want more attention on social media, it's all just one big popularity contest and were all fighting for more followers and friends. If you have managed to get people on your website this is a...

Getting To Know HTML5 Forms

In a previous article you learnt what is HTML5 all about. But this article missed out a lot of new features which come with HTML5 including audio and video embedding using HTML5. But one of the featu...

Using Interface And Abstract Classes In PHP

Interface Classes If you have done some programming before you may of seen the interface class be used before. The interface class is common in many design patterns. It will not add any additional fun...

Set Expire Headers In htaccess

A way that Browsers try to help speed up rendering the page is by taking static data and cache it. These are things like images, CSS and JavaScript files. As Browsers are going to cache these bits of...

PHP Magic Method __toString()

During OOP in PHP you need to debug the class, you can use the var_dump method but this isn't so user friendly, so you need an alternative to the var_dump(); PHP have released some magic method which...