-
Actually, I think.
Upstairs is right.
Use. div+css+table
div has an extremely strong advantage when it comes to typography.
There is no doubt about it.
But every div
all have access to the background. css
File. That's right.
Back-office management. It's demanding.
If the management is not careful.
There is a chance that there will be too much traffic.
And the blue screen phenomenon appears. So, there is a lot of traffic to that kind of.
But it doesn't change often.
Then it is recommended to use table, and for the kind of places that are highly maintainable and need to be updated in time.
Then use div+css
-
Prefer div+css
In the layout, about the appearance of the form of **, with table, cloth.
This is what it is. Pros,,(div+css+table) let. Structure.
And. Manifestation. It's better to separate! div+css
-
1.It's easy to modify.
By separating the presentation from the structure, you can change the style of the web page by simply modifying the CSS file, without moving the structure.
div+css
If you need some script control, use div+css
It's also more convenient.
In fact, there are some ** more content in the page, div+css structure is more than table structure, it is relatively troublesome to write, then you can use div+css+table
Coexistence approach.
-
Don't listen to his nonsense.
Although it is said that it is in vogue now.
But it also depends on what you're doing**.
Enterprise**? Whatever, ** on the line, good layout.
You don't need to use any divs at all
Unless you're a large information or portal, there's a lot of material to keep updating the content up to date.
You need to use div+css
-
It is recommended to use div for layout, because div is currently very popular and the mainstream layout code method; And it is in line with **SEO, which is conducive to the inclusion of search engines.
Of course, it is not to completely abandon the table, because in some places such as **, the use of table for forms is also very much, and it is fast.
Now the mainstream is the use of div+css, but it feels like the table is simpler.
div is better, table is not easy to compatible, sometimes the width and height will change by itself, it is difficult to control, it is better to use div often, and now the web page is almost all div
Use it appropriately, try to use div+css as much as possible.
div+css The biggest thing is that div and css can't be said to be separated, which is pretty much the same. Fewer tags make pages smaller and load faster. Of course, you can't completely abandon the table.
If you meet, etc., it is more convenient to table!
It's all div+css now
The effect that div can't achieve is using **.
The former requires a certain amount of skills, and novices can easily cause confusion on the page when using this, so they should pay attention to the problems of absolute positioning and relative positioning.
The latter is more suitable for novices, but it comes out a bit rigidly.
Now it is the former that is more popular.
Hopefully, the landlord will take some time to get them done.
Some RPC frameworks are language agnostic... For example, Thrift, you can use C++ Python or something to implement specific services.
Do you think you have what it takes to get the framework out there? Frameworks like jquery are developed by a large team, so I personally think it's better to use an off-the-shelf framework.
A div is a tag in HTML, i.e. a layer, which is the same level as a table.
The role of style sheets is the need to separate the high family meter from the performance of web design Chinese parts. For example, the whole web program is like a person, a person has a head, limbs, etc., this is the basic structure of a person, and it is also the most basic, without these, a person cannot be called a person; Similarly, the web file structure is the most basic thing in the web program. That kind of table is like a person's clothes, it is the clothing of the web file, with it, the web page appears in a thousand forms.
In the past, when there was no CSS term, web page design was also varied, but note that at that time the file structure and presentation were not separated, just like your tattoo, pierced in your flesh (maybe not very appropriate, people can cover it with clothes), and it can't be separated from you. The mixing of file structure and presentation is not conducive to the inheritance and redevelopment of web programs, because every web redesign is a new project development. Therefore, we have to choose the separation of the structure and presentation of the web file, the structure is structured by the div, and the form is represented by the css, that is, the so-called div css
w3./article/translate/2004/89.
Slab floor is the name of the structure of the building structure, and the number of floors of the slab floor will not exceed 12 floors.
-
Consider putting the table in a div for better control over the page.
-
HTML is the Hypertext Markup Language, and CSS is the style in HTML.
Personally, I feel that the advantage of table is that table does not need to be considered browser compatibility.
Disadvantages: 1. Bloated, no matter how much or less the content is, you need at least to start writing content.
2. When it comes to the need for table nesting table, I am directly dumbfounded, and the mess is not conducive to modification at all.
3. It is not conducive to the collection engine.
The advantages of div are:
1. The structure is separated from the style, concise and clear, and easy to maintain and develop.
2. It is easy to be included in the collection engine.
3. Accurate positioning.
The disadvantage is that you need to consider the problem of browser compatibility, which is more difficult to learn.
Of course, all the styles supported by div are also supported, although there are many shortcomings, but there are divs that cannot be replaced, such as trying to make the content in the div vertically centered, then it will be troublesome, **responsibility is directly a valign:middle; Get.
For example, the problem of width adaptation between several divs, and the problem of 100% div layout** can be completely solved.
The summary is: div+css can be simply realized layout don't use **, in addition to div is difficult to achieve with the table is not a big problem, don't feel that your page appears table as if heaven does not tolerate it, div although it is the trend of today's development, but you can't ignore the use of table, reasonable combination of flexible application on the line.
-
HTML is a text markup language, which can be compared to the skeleton of a person, CSS is style, and can be compared to the specific reference of the color, height, weight and other attributes that define a person.
In fact, HTML can also contain styles, but for the convenience of future modifications, it is necessary to separate styles from HTML.
Table is not suitable for layout at all, it is used to display data, and it has been eliminated on the layout. However, for some single-page web pages, static web pages, web pages that will not be modified in the future, I recommend using table to do it (firework can be generated directly), it is very fast to do!
div+css
Advantage 1It is easy to modify in the future, of course, when you are making a web page, customers will often ask for something to be modified, and then the advantages of div+css are reflected.
2.And it is concise, easy to understand and check mistakes.
3.Fast browser rendering!
4.When used with JS, you can make very cool animation effects.
The downside is that it's a bit cumbersome to be compatible with browsers.
-
This one is a bit difficult, CSS is style, html contains CSS, I feel like the table and div are similar, but it depends on personal preference.
-
Table is not flexible now, CSS is now fast, flexible, and easy to revise.
-
**The layout is actually similar to the frame layout, which can be said together.
** Layout with frame.
Advantages: The browser parsing is more accurate, and there will be no errors in general;
Disadvantages: It is not flexible enough, and the style is single, and it is difficult to maintain.
div+css layout.
Disadvantages: There are certain differences in the analysis of each browser, and special optimization is required for different browsers.
With the development of web technology, the layout has basically been eliminated, and the mainstream is the technology of div+css.
-
Table too much. div is less. But now I'm using HTML5. There is no comparison between table and div anymore. The current trend is starting to shift to HTML5.
-
**A bit more miscellaneous with the frame layout.
When you get used to div+css, or know a little more, you'll understand:
How clear its structure is, how convenient it is to lay out;
When separating the two, the simplicity of the web page speaks for itself.
-
It's generally like this.,****Redundant and not easy to modify.,And div is the mainstream nowadays.。。。
-
What's the difference?,Just use div+css,
-
Advantages and disadvantages of div+css layout and table layout.
The table layout was raised long ago when CSS did not exist, and it is an informal use of table tags, which are used to display data, not to lay out web pages, although it is sometimes very simple to lay out web pages. Now the vast majority of ** are laid out with div+css. Both layouts have their own advantages.
What is div+css?
div+css is one of the commonly used terms in the ** standard (or "web standard"), div + css is a web page layout method, this web page layout method is different from the traditional html web design language in the ** (table) positioning method, can realize the separation of web page content and performance. XHTML is an abbreviation for The Extensible Hypertext Markup Language. XHTML is based on Extensible Markup Language (XML), which is a new language optimized and improved on the basis of HTML, with the aim of adapting to more needs of future web applications based on XML applications and powerful data conversion capabilities.
In the XHTML design standard, the positioning technology is no longer used, but the way of div+css is used to achieve various positioning.
Popular advantages
1. Comply with W3C standard.
2. Support backward compatibility of browsers.
4. The adjustment of the style is more convenient.
5. The great advantage of CSS is that it is concise, and it can save a lot of bandwidth for a large scale.
6. Separation of performance and structure, making it easier to divide labor and cooperate in team development and reduce interrelatedness.
One. Benefits of the div+css layout:
1.In line with the W3C standard, the structure is clear and straightforward, and the structure, style and behavior are separated to bring good enough'Maintainability.
2.The layout is accurate, and the layout is simple to modify.
3.Faster loading of pages (most importantly) (in IE, the entire table is loaded before the content is displayed).
4.Save space and traffic at the site.
Two. The benefits of table layout (table layout is not useless, there is no doubt about it).
1.Easy to get started.
2.Complex changes can be formed, simple and fast.
3.The performance is more "rigorous", and it can be well compatible in different browsers.
There are many ways to lay out a web page, and there are different layouts according to each person's preferences: the usual layout methods are as follows: >>>More
Hi everyone, I don't know how many degrees of temperature is in the place where you are, now that it has cooled down, even in the southern region, you need to wear a thick coat to go out, and when you return home, you need a tool that can warm up the room and yourself, and a warm interior can really make people feel comfortable. >>>More
In the era of rapid development of the Internet, if an enterprise does not have its own enterprise network, it will lose its competitiveness in the market competition. The importance of the company website for the company is self-evident, in fact, it is not difficult to make a company website, as long as you want to learn that there are many similar tutorials on the Internet to learn, then, how to make a website, let's introduce the following methods for you. >>>More
I would like to try to return to the original meaning of the word, and perhaps there will be some new discoveries closer to the truth. To repair is to correct and prune. Personally, I think it should be a person's behavior, which can reflect people's cultivation and morality. >>>More
1. One policy, thousands of protections.
An insurance policy can be used as a child's pension, education fund, marriage fund, business start-up fund, or as a future medical reserve, pension fund, and if necessary, it can also be converted into relevant protection for all family members. >>>More