The Css Bug

Flash XML cache problem

Prevent XML files from caching when working with actionscript and dynamic data.

Are you praying for the day when we can stop supporting IE6? In this post, James gives us some things to look forward to for when that day finally comes!
[SitePoint Article]

Flash on top of lightbox

Many of us are using a lightbox library for nice looking photo galleries, either on a blog or some other kind of website. When using a flash menu, or banner, on the same page usualy the flash gets on top of the image in the lightbox, creating a nasty looking effect.
A Flash movie in a [...]

ImageMagick strip exif (PHP)

ImageMagick is probably the best option we have when dealing with image resizing, croping and other small editing jobs that we need when working with image uploads.
As I am running a photography website, where community members are sometimes uploading images straight out of their digital cameras, I came across the following problem:
Digital cameras usually add [...]

If you are in a shared server environment, and you don’t have access to the php.ini file,  or you want to set php parameters on a per-site basis, you can use the .htaccess file (when running on an Apache webserver).
For instance, in order to change the max_execution_time value, all you need to do is edit [...]

Reset autoincrement value in a mysql table

Use the following SQL command:

ALTER TABLE table_name AUTO_INCREMENT = new_value

SyntaxHighlighter Plus problem

As I  started to build this blog, I clearly needed some solution for displaying code on a wordpress blog.
Asfter studying a few solutions with more or less results, I decided uppon SyntaxHighlighter Plus which seams to be the best solution out there.
However, although it worked great with the default Wordpress theme I realised that as [...]

One of the oldest problems in webdesign is related to background images on table rows.
Problem: when you provide a background images (through HTML or CSS) on a table row:

<table>

<tr background="bg.gif">

<td>some stuff</td>

<td>more stuff</td>

<tr>

</table>

On Firefox everything would go out as planned. However in older browsers like IE 6, each of the 2 table columns will inherit the [...]

Change bullet on mouseover (CSS)

The following short tutorial will show you how to create a simple menu like the one in the image bellow.

In order to simulate de the bullet we use the css property “background”.
For positioning the bullet on the right  side, we use “background-position” and we specify the left offset in pixels.
We also need to specify [...]

Ajax for newbies: verify if record exists in database table using prototype and PHP.
Step 1: include prototype.js
Create a new page (index.php). Add this line of code in the tag of index.php to include prototype framework:

<script type="text/javascript" src="prototype.js">
</script>

Step 2: HTML code for index.php

<input type="text" name="name" id="name" />
<input type="submit"  value="Verify" onclick="javascript:verifyName()"/>

<span id="result" style="color:#009900"> </span>

Step 3:Create [...]

« Previous Page  Next Entries »