The solution to the problem during the production of xhtml css page should be a bit too much. At best, it is just some small suggestions for friends who have just started to learn standard page production. If you are wrong, please forgive me. Of course, you can also suggest better methods for you, so that everyone can learn from each other and grow together!
No matter who it is, you will encounter one or another problem in the process of creating the page. If there is a problem, it will definitely be solved. The prerequisite for solving a problem is to know where the problem lies. For novices, they may not know where the problem is as soon as they see it. For example, the problem of having an extra pig in IE6 (reference: https://www.VeVb.com/html-xhtml/webxhtml-6869.html annotation causes text overflow in IE). For some problems, more experience is needed to be exchanged and absorbed before they can grow better.
On the Internet, I think everyone has asked questions and needs answers to others, but it is often your question but no one can answer you, or it is completely ignored. At this time, are you wondering whether my question is too simple, and they don’t want to answer whether they are very busy, but they have time to chat, why don’t you help me and look down on me? , or have more psychological thoughts. I have encountered these things before, and of course the same is true now, but why is this happening? I have summarized myself, and it is probably like this:
1. My questioning method is wrong, and the question information provided is incomplete. They don’t know how to help me answer this question
2. Regarding the nature of the code, I want to keep my own code and don’t want them to see it, so I only took a picture for them to see it.
3. They are busy for the time being. They will look at it for a while and then tell me what the problem is.
4. They are now testing me, not helping me to see it. When the test results are found, they will naturally tell me (the prerequisite is correct, so that others can know what you are asking)
In fact, sometimes some problems are caused by your inattention. Therefore, when encountering problems, you must first remain calm, then analyze the problems from the bottom of the matter, and then solve them. Below I will briefly share with you some of my usual ways to solve problems, hoping that it will be helpful to some friends.
1. Check whether the page is the declaration you need (standard statement, non-standard statement, transitional statement, strict statement)
2. Check whether the code is written incorrectly (sometimes you may write the letters incorrectly if you are not careful. Sometimes you need to pay attention to uppercase and lowercase cases, for example, if you are lowercase in styles, and then you are uppercase when you call them on the page)
3. Is the path written correctly (for some with pictures or style calls)
4. Use Firebug or IEDevelopertools to check the debugging error style (you can search online for the use of these two plug-ins, probably there should be a lot, so I won’t talk nonsense)
5. Use the exclusion method to solve the problem (this so-called exclusion method is to delete one segment of structure, retain the problematic structure; or directly copy the problematic structure and debug a separate problem)
There is only so much nonsense. The main thing is to accumulate more solutions to problems in daily life and try different methods. The problems are usually solved by yourself before you can remember them deeply!