• How to create a simple jQuery plugin

    4

    I avoided learning how to create a jQuery plugin for quite a while because I thought it would be too difficult and/or too complicated to learn since I’m not a ‘hardcore’ programmer. Contrary to what I thought, it is actually pretty easy to create a plugin as long as you know the jQuery basics.

  • CSS shorthand properties

    2

    CSS shorthand properties make your CSS file look cleaner, easier to edit, easier to type and it reduces the total file size.

  • IE opacity with CSS

    3

    Achieving IE opacity is a bit of an annoyance, no matter how you would like to achieve it. The most common way of doing this is to set a .png file as the background of an HTML element. Unfortunately IE 6 doesn’t support .png files without adding javascript to the page to enable .png opacity. It is beneficial to avoid using these files because it unnecessarily adds to the HTML requests.

  • Browser detection

    0

    Browser detection is evil, but sometimes a necessary evil. In a perfect world, we would create a webpage that looks the same in every browser without browser detection or any other troubles; This is exactly what web standards aims to achieve. Unfortunately IE 6, 7 and 8 doesn’t adhere to the standards like they should. This forces us to use browser specific stylesheets.

  1. 5
  2. 6
  3. 7
  4. 8
  5. 9
  6. 10
  7. 11
  8. 12