Removing Class On Hover Snippets

22 January, 2011   

This will work in any browser on any element, to support styling changes on hover.

CSS code example for different colors to visited/unvisited links

11 December, 2011   

CSS code example to use of text-decoration on links

16 April, 2012   

This CSS code will change link font-size

27 February, 2013   

An example pure CSS Tooltip

05 January, 2012   

A simple dashed border effect by CSS

29 January, 2011   

Cufon 101

Example source code for function pointer to member function of class

C++ code snippet for function pointer to member function of class

14 May, 2014   

Html Code example for hCalendar

To create the formatter paste this code into a new file and name it sfWidgetFormSchemaFormatterDefList.class.php. I saved it in /lib but it also makes sense to put it in /lib/form, depending on your personal preference.

How to display visitors IP in an Image using PHP

The four link states should always be listed in that order, like so:

18 May, 2011   

To randomize an array we loop over the length of the array, removing an object chosen at random and then adding it back onto the Array’s end position. Think of this as having a deck of cards where you pick a card at random from the deck and move it to the top of the stack repeated for the total number of cards in the deck. It’s important to...

16 January, 2011   

One of the most common mistakes I see beginners and intermediates fall victim to when it comes to CSS is not removing the default browser styling. This leads to inconsistencies in the appearance of your design across browsers, and ultimately leaves a lot of designers blaming the browser. It is a misplaced blame, of course. Before you do anything...

08 February, 2012   

CSS code example for Image Preloading

30 January, 2011   

Applying Even/Odd Classes

22 March, 2012   

An example CSS code for Link Pseudo-Classes (In Order)

02 August, 2015   

Useful and simple css navigation menu bar.

16 February, 2011   

HTML5 Article Structure with hNews