Change Facebook Thumbnail Image on Like Button

Here a quick and easy way to change the thumbnail image that Facebook picks for your website when a users clicks on the Like button or shares a link of your website on Facebook; Add the following line of code in HEAD section of the page: where THUMBNAIL_IMAGE.JPG is the URL to the image that […]

Disable Auto Zoom in Internet Explorer or Safari Using HTML

To disable page auto zoom (auto scale)  in Internet Explorer, Safari or any other browsers, place the following META tag in the head section of your page: <meta name=”viewport” content=”width=device-width, user-scalable=no” />

CSS: Style Combo Box

There is no easy way to style a combo box using CSS, the best and easiest alternative I found is using the JQuery UI. JQuery UI is an amazing library that offers many widgets, interactions, effects and styles. This is a link to a combo box based on the JQuery UI auto complete library: […]

Commenting HTML, CSS, PHP, Javascript, SQL & ASP

Use the tags below to enter comments or notes in your HTML, CSS, PHP, JavaScript or ASP code: Language Single/Multi-Line Start with End with Example HTML Single & Multi-Line <!– –> <!– This is an HTML Comment –> PHP Single Line // // This is a PHP Comment PHP Mutli-Line /* */ /* This is […]

Center Background Image Using CSS – One Line of Code

Here is a little snippet of CSS code that you can use to center a background image. The background image will be fixed in its center position even if you scroll up or down the page. Place this CSS code in the HEAD section of your HTML code     Don’t forget to change background.jpg […]