Context of website

The margins should put any declarations of margins: margin, margin-top, margin-right, margin-bottom, margin-left.
In the context statements do not use units of “em” (font height) or “ex” (height of a lowercase letter), because there is no concept of the font.

Context defines the look of the site – such as a sheet of paper to print – and not its contents. CSS 2 allows you to determine in this way only the margins. The difference between the margins in the context of a traditional borders is that even if the standard margins are reset, the output can still hold them. Normally, to change thesize of the margins on the printout, the user must change it manually in your browser- usually on the menu: Print / Page Setup. But we can already point out the CSS toalso print margins were zero. We must be aware that most printers do not allow the typical print the entire surface of the paper, so there will always be the minimum margins – how much depends on the specific printer model.

Defining the margins in the context it is necessary to note that the visible area of the first page of a block comprising the initial set of the document. In practice, this means that subsequent pages should not be larger margin than the first, because then the content can be cut!Imagec

Posted in Uncategorized | Tagged , , , , , | Leave a comment

Automatic numbering

ImageIf you already understand your reader in more detail with the issue of lists in HTML, you probably know already that they do not support any more complex ways of numbering the various points and sub-paragraphs. I mean, you can specify for example the following method of numbering:

Main Points – Roman numerals: I, II, III, …
Sections – Arabic numerals: 1, 2, 3, …
Sections of the second order – the letters a, b, c, …
But what if it does not suit us so, or numbering, we can not determine in advance how many will have levels of nesting? CSS gives you a simple remedy – automatic numbering, the ability to determine how any item numbering, eg:

Main Points: 1, 2, 3, …
Sections: 1.1., 1.2., 1.3., … 2.1., 2.2., 2.3., … 3.1., 3.2., 3.3., …
Sections of the second order: 1.1.1., 1.1.2., 1.1.3., … 1.2.1., 1.2.2., 1.2.3., … 2.1.1., 2.1.2., 2.1.3., … 2.2.1., 2.2.2., 2.2.3., …
and so on …

Posted in Uncategorized | Tagged , , , | Leave a comment

What are sub?

Virtually all websites are made up of a number of pages, not just one, very long, the home page. Each page is simply a single file (with extension *. Html or *. Htm), which is formed in the same way as the main page (using the template provided above). For example, this service consists of the following pages (see the table of contents): “HTML for the green”, “Header and content”, “Text”, etc. This organization helps the user navigate the contents and prevent unnecessary loading the whole site at once, which lasted probably a very long time.
All pages are usually recorded in the same directory – as separate files – or in different directories (if we somehow classify them by theme). With a sub you can automatically move to the other by clicking the appropriate link (if you put it)

Posted in Uncategorized | Tagged , , , | Leave a comment

What is Smarty?

Smarty is a library of scripts, which is used to create templates for PHP applications. Smarty separates PHP application code from templates in HTML. This library works by changing the templates contained in the content markup generated by PHP code. The biggest advantages of Smarty library is a high speed and code sharing on the basis of the Lesser GPL license – it is a free library. Smarty The advantage is the ability to easily expand the library with additional functions.

Where to get Smarty?

Smarty library is free and can be downloaded at the following address:

http://www.smarty.net/download

Choose the best to install the latest version of the library.

Posted in Uncategorized | Leave a comment

smarty_settings

smarty_settings

Image | Posted on by | Leave a comment

What is Smarty?

Smarty is a library of scripts, which is used to create templates for PHP applications. Smarty separates PHP application code from templates in HTML. This library works by changing the templates contained in the content markup generated by PHP code. The biggest advantages of Smarty library is a high speed and code sharing on the basis of the Lesser GPL license – it is a free library. Smarty The advantage is the ability to easily expand the library with additional functions.

Where to get Smarty?

Smarty library is free and can be downloaded at the following address:

http://www.smarty.net/download

Choose the best to install the latest version of the library.

Posted in Uncategorized | Leave a comment

The fight of tittles

The page title is very important for search engines, so do not forget about him. Make sure that you gave the title of each page. It is recommended that the individual pages have different titles. You can do this by placing the command <title> between <head> and </ head>. For example <headxtitle> is the title of my page </ title> </ head>.
Style every page of your website and give search engines a chance of finding

Posted in Uncategorized | Tagged , , , , | Leave a comment