Tableless Categories in OSCommerce listing

March 28th::2007The categories.php page in oscommerce is coded fairly stupid. Stupid enough that you can't just glance at it and know what it is doing. I found no quick help on how to strip the tables out and apply nested unordered lists (ul & li) for the categories.

Using PHP to find a color's complement

November 22nd::2006People know a color's complement as being the color opposite it on the color wheel. When you add these two colors together, you get a shade of gray (including white or black). I use this to find the color complement in a function. I'd like to break this o

Finding Combinations with PHP Arrays

November 1st::2006I wrote this to find combinations for an advanced sudoku generator. The code is commented so it should make sense. It is also a good function if you are just getting into recursion to look at.

Creating a Sudoku Solver (Sudoku Part II)

October 24th::2006This is the second article of a growing obsession with sudoku programming. Below is the code for my sudoku puzzle solver. The code is well documented and easy to understand, as long as you are comfortable with recursion (the recursion is limited and the

Creating a Sudoku Generator

October 11th::2006Coding this took a little longer than I expected, but it was well worth it. I suggest trying this challenge to anyone who is interested in learning about object oriented programming. This is a very simple version, which I intend to upgrade over time.

Inheritance: Which rules apply

September 30th::2006A lot of people know that certain rules can be inherited from their parent, but most people don't know which rules are affected.

5 Common mistakes with inline elements

September 27th::2006

Inline elements contain the vast majority of content in every HTML page, yet are widely misunderstood. Here are 5 facts and common misconceptions about inline elements that will hopefully give you further clarification on this common css element

How to click through a transparent image...sorta

September 24th::2006

If you look at the corner of this site, you'll see that I have a png positioned over the search box, yet it is still clickable.

Absolute Position vs Floats

September 12th::2006CSS gives up two options to position our elements in place of using tables, absolute position and floated elements.