Web Programming

What are CSS Sprites and What are their Advantages

A CSS Sprite is a single image with all of your web sites images combined into a single image. If you have image A and image B you combined them to make image C, and define the HTML tag size to be the size of the original image (image A or B) and the define...

Read More

Firebug in Internet Explorer or Opera

Using Firebug in Internet Explorer or Opera is easy. Add the Firebug Lite javascript file to the header of your web page and press F12 once the page loads, then Firebug will display for that webpage. Here is the script to add to your site: See Firebug...

Read More

CSS – Hide Text and display a Image

Converting Plain Text The CSS Code span.image { background: url(/images/bamboo.jpg) no-repeat; /* url to image */ width:100px; /* actual image width */ height:100px; /*actual image height */ text-decoration:none; display:block;...

Read More

Why Wont my Facebook Like Button Share Proper Content?

I completed the following items and still was having no luck getting my Facebook Like Buttons to display proper content: 1. Added meta tags, check 2. Added like button script, check 3. Customized meta tags and script for individual pages and content,...

Read More

MySQL – Flush Binary Logs

To flush the logs you need to execute the following 2 commands: mysql> FLUSH LOGS; mysql> RESET MASTER; I am using EasyPHP the mysql executable is in the ‘easyphp\mysql\bin’ directory. To execute user mysql.exe -uxxx -pyyy. Where xxx =...

Read More

CSS – Horizontal Dropdown Menu’s

I have been trying to find a way to implement some drop down menus similar to the ones on on my store. However I was unable to use the ones from my store because the code is in ASP and my hosting is in PHP. So my search began and my choice was to use the...

Read More