Cookie

Enable the plugin “zen coding” su gedit

For those who do not know, gedit is the text editor of choice for any Linux distribution based on Gnome. It is preinstalled on most Linux distributions, with the exception of those based on different window managers from Gnome (Where, xfce, enlightenment, etc..). It serves mainly for editing configurations in the system files, but supports a large number of programming languages ​​and is expandable with plugins dedicated.

For this reason, before use Brackets, I used Gedit also for editing HTML and CSS.

This is gedit. (more…)

Buttons using only CSS

In today's article we see how to turn a simple form, with a button unformatted in an equally simple form with a formatted button. All colors, gradients and shadows will be “built” using the CSS rules for the version 3. These few simple rules are to take some’ with pliers, because they work perfectly with the browser based on Webkit (Safari, Konquerror, iPad/iPhone) e Gecko (Firefox e simili), but they are useless on all versions (more…)

CSS: remove the border “a puntini” dei link

In today's article we see a simple CSS rule, already present in many CSS Reset. I'm talking about the property “outline”. If the regola “outline” do not set the browser will display a dotted box around each link clicked. The default setting is that because it is also thought to those who use the Tab key to navigate, and beading without any lose focus on that link no longer understand it happened. I'm also thinking of those who can not use the mouse to visual defect. By removing the beading renderesti the site inaccessible to them. (more…)

CSS: property “z-index”

Today we see an important property of CSS, Also inherited from the last version, i CSS3. I'm talking about (as you will be guessed from the title) property “z-index“.

The properties “height” and “width” impostarenno height and width, while “z-index” we need to move items into the third dimension of depth (the asse “The”). The third dimension is perpendicular to the screen and it will be easier to understand for those who know programs involving the use of levels.

Imagine the screen as a table on which lay some playing cards, in this way: (more…)

Javascript: automatically open external links in a new window

Today's article is a little advice on the links to have a website conforms to w3c(1). This procedure is valid in the case we are using version “XHTML 1.0 Strict“, a powder’ dated, but still valid if declared tag in the “HTML” Site.

The web designer has several ways to set the aperture of a given link in a new page (or new tab) Part browser. The first to be implemented has been the insertion of’attributetarget='_blank'” within the reference tag to link “<a>“. This is the easiest way to open a link in a second window, but unfortunately does not respond to standard w3c. (more…)

30 days to learn HTML5 and CSS3

Today I report an important series of tutorials (lasting a mese) that promises to teach web design to those who design is fasting in just thirty days. The course starts from zero, and it is also addressed to those who do not know anything about web design. And by no mean zero.

The lessons are structured so as not to be too heavy, the first try not to “put too many irons in the fire” and run out in about ten minutes at the most, as a result are then introduced i shadow tag in the order of use. Particular attention has been devoted to compliance with the standards, all’accessibility and in how they interact HTML and CSS. (more…)

HTML: numbered list disordered

The advice today is fast and (hopefully) helpful. Sometimes I happen to write some articles divided into sections. So far I have never raised the issue of assigning a sequential number to each section (as is the case with the chapters). Today I raised the issue. This procedure can be useful for example when we want to insert A small menu at the beginning, alluding to the section listed (type Wikipedia). Let's see how.

The classic HTML code for the numbered list is as follows:

<ol>
   <li>Test text 1</li>
   <li>Text Test 2</li>
</ol>

(more…)

HTML Purifier per “purify” HTML l'

Today we see a small program in PHP on that adapts well to any of our web pages. It is HTML Purifier a common libreria PHP, that cleans up the HTML dates of the pages by removing all tag e i markup unnecessary, that often weigh down the page. Also makes the code of our pages secure (I'm thinking about dynamic sites: WordPress, Joomla, Drupal, etc..) contrasting effectively XSS attacks (Cross-site scripting).

For those who want to use HTML Purifier hand operation is more than obvious; downloaded and extracted the package we give write permissions the folder /HTMLPurifier/DefinitionCache/Serializer: (more…)

He was born BlueGriffon, an HTML editor based on the rendering engine of Firefox

Not so long ago themselves parlava of KompoZer: an HTML editor created by the code of abandoned NCE, who was born in the Code of abandoned Mozilla Composer and Netscape Gold. From 10 May, instead arises BlueGriffon, another fork of the project released under the triple license: “Mozilla Public License 1.1“, “GNU General Public License Version 2” and “GNU Lesser General Public License Version 2.1“. The first announcement on the official website (dated 30 September two years ago) reads these words: (more…)