1. webpage carries the setting of the scenery on the back
Err machine rate: Very big
Catholicity: Wider
Err possibility: Lazy / do not know
I ever discovered to lubricious without setting setting circumstance has appeared on 21cn about 2 years ago, I informed them with Email at that time, from I never had made this issue after this.
The window setting color of majority person is white, but if resemble me the person of such individual character, meet change the setting color of Windows window into gray or other expression, come so, if you do not have the setting color that installs a webpage, you think normal webpage looks on my computer can be imbroglio.
2.Aligncenter (automatic be placed in the middle) abuse
Err machine rate: Very big
Catholicity: Very wide
Err possibility: Feel convenient / with had better be being used
In the job, revise, the webpage that safeguards others is common occurrence, discover many people have one abusive:
In the character in form or picture, are you to make it so be placed in the middle, lean left or lean right over- ?
<divalign= "center" > everybody is good! ! </div>
<divalign= "center" ><imgsrc= "xx.gif" ></div>
When some form very much, character very much, content shares very fine when, love uses this kind of method (its shortcut key in DW is Ctrl Alt C, what is FP does not know) the person often can be used madly, miserable, I come up against such webpage to have a headache, why should come with so much <div> be placed in the middle? Tellmewhy? doesn’t form have attribute of be placed in the middle? Why should join these rubbish code? Special when revising also cannot delete character or picture can keep clear of automatically
Proposal use <tdalign= "center" > comes be placed in the middle, when needing multiple fixed position, just consider <divalign= "center" > , because this code is bad to handle, can replace with form so replace with form.
3. repeats use implementation the code of same function, or miscellaneous 7 miscellaneous the code of turn things upside down of 8
Err machine rate: Very general
Catholicity: Very general
Err possibility: Complex and diversiform
Everybody has a look at the code below first:
<center><p><fontclass= "css_id" ><fontclass= "font11" ><fontcolor= "#CCCCCC" ><fontcolor= "#FFA76C" Style= "font-size:14px;font-family: </font></font></font of caption of ナ ? >>
</center> how do you feel such code feels it seems that? </font></p>
I do not know the reader has what feeling, press a root I see such code is met first ego coma 10 come second, this 10 come is second purpose to look for a thought emotive that can you convey me word (I? Do you consider rhetorical question I? Sorry~~ , I do not make commonly, because I do a webpage to be in to the time of rare half above,browse code, code is much mediumer ought not to much thing I can see. ) .
Read the code of settle on face, used 2 Class, 4 Font will define 2 text, such question is very actually much moment is in the everybody’s ceaseless generation in revising, not ripe to code, or lazy examine code, or the person that does not like to examine code makes these issues particularly serious, of course, in fact when others browses this webpage, do not have any problems, but maintenance person with respect to ………… .
These redundant rubbish code can be dropped elliptically completely, the case above is not quite actually severe, more I had seen bloodcurdling.
Additionally still a problem also wants those who carry to carry, it is <p> . . . </p> and <center> . . . </center> , why should use them? Tellmewhy~~ , have very person be such:
<td><divalign= "center" Class= "css_id ">
<center>
<palign= "center" ></p>
<palign= "center" ><fontclass= "css_id" ><fontclass= "font11" ><fontcolor= "#CCCCCC" ><fontcolor= "#FFA76C" Style= "font-size:14px;font-family: </font></font></font of caption of ナ ? >>
</center></td> how do you feel such code feels it seems that? </font></p></center></div></td>
See such code I am very can helpless (more helpless is I often see, and must look) , I will simplify:
<tdalign= "center" Class= "css_id ">
<fontcolor= "#FFA76C" Style= "font-size:14px;font-family: </font of caption of ナ ? >>
How do you feel such code feels it seems that? </td>
Feel this world is a lot of quieter it seems that? "It is OK that the character at the back of caption " is finished the definition is in the Class of <td> , even if need not Css, reoccupy many <.font> also is no problem, same very relaxed.
4. form is incorrect nest
Err machine rate: General
Catholicity: General
Err possibility: Be opposite this not to understand
Actually this is the problem that a street knows alley to hear, but ceaseless still somebody makes, incorrect nest form, may make be called the curse in the office by the manager to you, the webpage that can make feel normal to you leaves with ADSL 2, 3 minutes do not leave. Discuss the first issue first, it is namely in an old table ceaselessly nest form, the career that such meetings make open a webpage slows (although say present IE improved this one problem, but still do not suggest to be done so) , safeguard on the other hand, revise extremely no-go also, generally speaking simple apply mechanically does not have a problem, even 3, 4, but do not put all content in a form. The 2nd problem is all content are put in an old table, and include a free tally code among them, xi Xi, are you guessed appear likely what circumstance? Actually also it doesn’t matter is alarming, the IE that the most serious is you resembles dead machine same, whats did not show. The means of settlement puts tally in a form alone namely, do not put in same table together with other content.
5. is written when code is retractive, not be to use Tab to use blank space however
Err machine rate: General
Catholicity: Less
Err possibility: It is better to do not know Tab with
This one problem is aimed at and so on of Js, Vbs, Asp, Php, html cannot use Tab to meet those who write a bit program know what cries retractive, how retractive? Somebody uses blank space, somebody uses Tab, if you are of use blank space, so from now on, convert Tab.
Bookmark:Digg Del.icio.us Reddit
