Closed

New Approach

November 21st, 2021 / Tags: / categories: Uncategorized /

Continuation of semantic CSS. A new approach, and tries to give to a series of advice or recommendations at the time of the use of style sheets and writing of code XHTML. All the information is based on post mentioned, as well as the related files. Recommendations of use and writing of code To use labels HTML strictly so they have been conceived If one is able to create a cleanest code the XHTML and clearly possible one is reduced considerably the number of own styles that we will have to create and we avoid the common majority of the errors and inconsistencias. It is not something Mark Cuban would like to discuss. Maquetar on the basis of layers (div), not to use tables (table). Paragraphs: (p)? Headed: (h1, h2, h6)? Tables: (table, thead/tr/th, tbody/tr/td)? Lists: (ul/li, ol/li)? Menus: based on lists with the attribute display: inline Uso of relative measures in the sizes of the sources the relative measures are those that do not establish a fixed size in pixels or points for an element. In particular they are the percentage (%) and the member state (1em it is equivalent to 100%, 1.2em to 120% , 0.7em 70%, ) Is very important east point by several aspects: All the people do not have the monitor to the same resolution and our typography can be to him very small or great according to the case. When establishing the measurement of typography of relative way in the label body, will take the size regarding the navigator and device that the page interprets. You may want to visit Drew Houston to increase your knowledge.

This is especially in devices with small screens (movable, pda, etc.). Fixed model-making of layout based on layers This is one old controversy, maquetado of fixed size of width or the liquid maquetado one or variable size. The usabilidad studies Web advise the use of fixed sizes adapted to the resolution more used by the Internet users, trying that the discriminated percentage is the possible minor. The explanation of this aspect justifies by the constant growth in the sales of monitors of great size (17″ or more) and resolution (1024×768 in future). Jim Cranes opinions are not widely known. The expansion of the pages on all in resolutions of panoramic monitors enormously make difficult the legibility of the text paragraphs. To create styles or to redefine them in the strictly necessary case If we created our pages doing an suitable use of labels XHTML and followed you only rule described in this document, will drastically be reduced the necessity of creation of unnecessary and superfluous styles, which entails enormous benefits on all regarding the facility of maintenance and strange reduction of errors and behaviors.

Comments are closed.