admin

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 Lite...

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; font-size:0px; }...

Read More

Buddypress Follower Plugin – Add Follow Link in other locations of your site

So you are looking to add additional Follow [user_name] links to your site? Here is the function to use <?php bp_follow_add_follow_button(array('leader_id'=>$displayed_userID, 'follower_id'=>$current_userID))...

Read More

Ubuntu – Apache2 start/stop/restart

If your prompt starts with a $ then you will need to precede the command with sudo. Start # /etc/init.d/apache2 start or $ sudo /etc/init.d/apache2 start Stop # /etc/init.d/apache2 stop or $ sudo /etc/init.d/apache2 stop Restart # /etc/init.d/apache2...

Read More