[ Content | Sidebar ]

Archives for How-to

How to display referer-based contents in your web pages using PHP

In this article I’ll explain how to use PHP in order to offer your visitors targeted content based upon their referring page. PHP and CSS allow you to create a customized box which appears in a defined place of your webpages and gives help to visitors who satisfy predetermined conditions: the PHP variable $_SERVER consists [...]

The importance of !important in CSS

In this article I’ll introduce the declaration !important in CSSs and explain how to use it as a “workaround” to avoid adopting IE proprietary code to obtain the max-width effect in your web pages. When a CSS propriety is specified twice, the browser will commonly use the last one. Let’s see an example: #main { [...]

Xubuntu Linux on iMac G3

Today I decided to install Linux on my 500Mhz iMac G3 with 256 MB RAM. Although this mac is quite old, it can still be employed for internet surfing or as a local web/file server. Its design is terrific and the machine is compact, silent and easy to move. I am oriented on debian-based distros, [...]