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 [...]
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 [...]