How to get TextPad to highlight keywords? A Syntax definition file (as the log.syn.zip attached) contains the information TextPad uses to highlight keywords in different colors:

Textpad - highlight keywords with syntax definition

Textpad - highlight keywords with syntax definition

(more…)

DiggFacebookMySpaceTwitterTechnorati FavoritesEvernoteDeliciousShare
Tagged with: keywordtextpadtutorial
 

Positioning CSS elements.

In this section I will explain how to position CSS elements.

CSS positioning
(more…)

DiggFacebookMySpaceTwitterTechnorati FavoritesEvernoteDeliciousShare
Tagged with: boxCSSpositioningtutorial
 

CSS Margin Collapsing

Maybe many guys out there, when they start to learn how to use CSS, don’t know that when two or more vertical margins meet in a layout, they collaps to form a single margin. Which will be the height of this margin? simple.. the larger of the two margins.

This is true only for block boxes, in the normal flow of the document (not for inline, floated, absoluted positioned boxes..).

This is the case for example of two elements vertically aligned:

Margin collapsing tutorial

The result will be the following:

Margin collapsed

(more…)

DiggFacebookMySpaceTwitterTechnorati FavoritesEvernoteDeliciousShare
Tagged with: boxCSSmarginstutorial
 

CSS BOX Model.

One of the most important thing to understand about CSS is the Box Model. The Box Model how elements are displayed. Every element that we use in the page is considered to be a rectangular box. The properties for this box are as follow: content, padding, border and margin.

You can understand how this element interact from the following visual representation:

CSS BOX Model

(more…)

DiggFacebookMySpaceTwitterTechnorati FavoritesEvernoteDeliciousShare
Tagged with: bordersboxCSSmarginspaddingtutorial
 

A Document Type Definition (DTD) is a set of rules that define the document structure in a particular version of XML or (X)HTML. A browser will parse the web page looking for the Document Type (DOCTYPE) Declaration in your CSS code and will use these rules to validate the page.

An example of Document Type (DOCTYPE) Declaration is:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

The DOCTYPE declaration is included at the start of the (X)HTML document. It is required in order for the page to validate as the browser needs to know which DTD to use in order to process the page correctly.

In the previous example the DTD XHTML 1.0 Transitional is used.

(more…)

DiggFacebookMySpaceTwitterTechnorati FavoritesEvernoteDeliciousShare
Tagged with: browserCSSdoctypeDTDhtmltutorialvalidatorw3cxml
 

In this tutorial we will explain how to make coffee or espresso with an Italian Moka machine!

First of all let’s show how a Moka machine looks like:

Moka coffee machine.

(more…)

DiggFacebookMySpaceTwitterTechnorati FavoritesEvernoteDeliciousShare
Tagged with: coffeemokatutorial
 

How to avoid SPAM attacks to your blog? How to improve the performance of your blog?

A common problem for bloggers is the time wasted checking and deleting SPAM comments that they get to their blogs, time that could be turned into content creation! this could be possible using an automated spam killer plugin that could do the job of controlling and marking new spam comments as SPAM.

feature AKISMET PLUGIN

One first simple solution for the SPAM problem is to use the Akismet plugin for WordPress!
(more…)

DiggFacebookMySpaceTwitterTechnorati FavoritesEvernoteDeliciousShare
Tagged with: pluginspamtutorialWordpress