[ Content | Sidebar ]

Archives for How-to

Software libero e licenza GPL

Al fine di approfondire il concetto di “libertà” del software riportiamo una trascrizione del seminario tenuto da Stallman nel maggio 2005 all’università di Bologna, organizzato nell’ambito del master in “Tecnologia del Software Libero e Open Source”:
“Free software means software that respects user’s freedom. It does not mean zero price software, in fact it’s not directly [...]

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

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 {
width:600px;
width:800px;
}
In this example [...]