Bug in the table
In this clause{article} I shall tell about features html which everyone should know. I shall tell as to bypass mistakes on which I have come across. Quite often there are questions at web designers about html. Sooner or later itself you find mistakes which made earlier. In clause{article} I shall speak generally about tabulared html. complex{difficult} structure of a site lays in tables and in them there are failures. In a plenty of tables it is possible lekgo to get confused and when then you open the code it happens to find and change something difficultly little bit later.
All know that that the page was correctly displayed at the sanction 800x600 and 1024x768 it is necessary for the table to register width=100 %. In consequence{investigation} of that she is simply stretched{simply dragged out} on all screen at width. And to register height=100 % if you want that she was stretched{was dragged out} on height. A code of such table:
<table width=100 % height=100 % border=0 cellpadding=0 cellspacing=0> <tr>
<td width=100 %>
</td> </tr> <table>
Like all normally should work. But there can be a situation at which table works nesovcem correctly. For example, at you two cells. One menu, another - there where news are written. You wanted, that the menu had width 200, and the cell with news was stretched{was dragged out} on all other page (width=100 %). Having been delighted to you write that:
<table width=100 % height=100 % border=0 cellpadding=0 cellspacing=0> <tr>
<td width=200> the menu </td>
<td width=100 %> news </td>
</td> </tr> <table>
But she will not work unfortunately correctly. Why? Because the cell with news will be stretched{will be dragged out} on all absolutely page, i.e. the menu will not be visible (if certainly something to not enter there). But even if there something will be not not entered by her to have width of 200 pixels. How to be. The answer:
<table width=100 % height=100 % border=0 cellpadding=0 cellspacing=0>
<tr>
<td width=200>
<table width=200 border=0 cellpadding=0 cellspacing=0> <tr> <td width=200>
The menu
</td> </tr> </table>
</td>
<td width=100 %>
<table width=100 % border=0 cellpadding=0 cellspacing=0> <tr> <td width=200>
News
</td> </tr> </table>
</td>
</tr> </table>
That the cell from the menu has settled we push there the table with the same width. For news it is not so necessary to enter the tablet, but just in case will not prevent. And now it is time talk about bugs which can to take place in this case. For example, at you from above a picture (a trade mark on a site). For it{her} you create a cell. And then following her with such background as at a picture that as though proceeded top. For this second cell you put width=100 %. Further pass below - do{make} the menu and news. Like very well and all works at all sanctions. A code:
<table width=100 % height=100 % border=0 cellpadding=0 cellspacing=0>
<tr>
<td width=1> <img src=pix.gif border=0> </td>
<td width=100 %> </td>
</tr>
<tr>
<td width=200 height=100 %>
<table width=200 height=100 % border=0 cellpadding=0 cellspacing=0>
<tr> <td>
The menu
</td> </tr> </table>
</td>
<td width=100 % height=100 %>
News
</td>
</tr>
</table>
But try to push in news a banner 768x60. Or to write a word from 50 symbols. At you at once to appear bottom skrolling. The tablet with news will work not correctly, she will be stretched{will be dragged out} not so. To avoid a cell where a trade mark is placed to put value of width of 100 %. And the second cell to clean{remove}. Even if it is necessary to you in the end a picture - you put her{it} in the second cell, and the first all the same put width=100 %.
Creation Meta-tegov
Search sites at registration of the Web-server, a site or page use the information stored{kept} in special tegakh META which are located between tegami and the majority of beginning{starting} Web-masters and Web-designers do not give special attention it tegam - and zrja. Tegi META are not visible at viewing the document and appreciablly increase his{its} size, however them to not do without. Recommendations on drawing up Meta - tegov.
META tegov makes possible correctness of drawing up, that your site was easy for finding by means of search engines among huge number of other sites! For this purpose it is necessary to follow the following recommendations:
1. The length of contents tegov META "desctiptions" should not exceed 200 symbols, a "keywords" - 1000 symbols. It is connected to that, that search sites, as a rule, use such sizes at indexing the information on your site. It is possible to receive negative result if search machines will reject a part of the description exceeding established norms therefore in the catalogue all desirable information will get not, or the server will simply reject registration of your site.
2. It is necessary to switch on all most often terms used in your site and their synonyms in teg "desctiptions". Can switch on and the terms which are not having the attitudes{relations} to your pages, however in Internet such behaviour is considered incorrect. It is possible to insert into the list of keywords and phrases. In this case at your site the chance to get in the beginning of the list given by a search site (raises in case of concurrence of a phrase of that the user enters).
3. For increase in a rating of a site and his{its} hit in the top part of the search list it is necessary each term included in the description, to repeat about 3 times. Search machines, as a rule, work with tegami META, and in case of their absence - already with contents of page. Sometimes it results in occurrence of a site in the list top 10, but can result ik to negative result (before registration check up the search machine, having given search and having seen{overlooked} keywords at the sites worth on the top positions)
4. Use in descriptions and the list of terms as much as possible synonyms.
5. Do not use in descriptions and in the list of terms of concept and the words poorly connected with each other.
Costav META - tegov.
1) That at viewing the document the browser took I skin the version of the document, instead of the version from kesha is used:
<META HTTP-EQUIV = "Expires" Content = " Mon, 28 Mar 1999 00:00:01 GMT ">
2) For definition by a browser of language on which the page is written is used:
<META HTTP-EQUIV = "Content-Type" Content = " text/html; Charset=Windows-1251 ">
3) If the inexperienced Web-master will copy your page in which will leave sleduhhij teg at call on this page the browser will automatically pass on your page
<META HTTP-EQUIV = "Refresh" Content = " 1; url=http: // adres_vashej_stranicy ">
4) For the instruction{indication} of a name of the author and the additional information on him it is used:
<META Name = "autor" Content = " yours First name, middle initial, last name, E-Mail... ">
5) For the instruction{indication} avtorkikh the rights it is used:
<META Name = "copyright" Content = " Vasha_firma... ">
6) For the instruction{indication} of keywords and terms it is used
<META Name = "keywords" Content = " Vashi_Kljuchevye words ">
7) For the instruction{indication} of the brief description it is used
<META Name = "description" Content = "Opisanie_Vashej_Stranicy">
Relying on own researches in this area, and also on professional developers in this area we recommend you to create at presence of a plenty of pages tegi a metainformation with the various maintenance{contents}, describing maintenances{contents} of the given concrete page or the unit.

|