August 29, 2008

Use PHP to make alternate coloured rows

I came across an article that described how to use PHP to make alternate coloured rows in a table and was surprised at how difficult they made it.  There is a very simple way to display alternate coloured rows in tabular data.  Read on for more info.

Read the rest of this entry »

January 17, 2008

CSS / Javascript matching columns

If you are having trouble getting two div columns to match, then try this matching columns script. It is a very simple script that will match the height of the columns you specify (all you have to do is assign the class ‘column’ to the columns you want to match).
Read the rest of this entry »

Fix transparent png images in Internet Explorer 6 (IE6)

Sometimes it can be very frustrating building websites that are cross-browser. One of the many issues is transparent png images in IE6.

PNG’s have enabled us to make beautiful images for websites with amazing transparency etc. There is a very simple way to make transparent png images work in all browsers.

This method uses CSS to fix the issue. You can define a class such as ‘transparent’ and apply that to the images whose transparency you want to make work in ie6, or simply use the fix in CSS for the img tag (therefore making all images’ transparency work in ie6).