Solutions to common problems in creating XHTML + CSS web pages

Source: Internet
Author: User

No matter who you are, you will encounter one or more problems in the page creation process. If something goes wrong, you must solve it. The premise for solving the problem is to know where the problem is. For a newbie, you may not know where the problem is. For example, in IE6, the problem of "one more pig" requires more experience, sharing, and absorption to better grow.

On the Internet, I think everyone has asked questions and asked questions, but it is often your problem that no one can give you a solution, or it is totally ignored. At this time, are you thinking, "Is it because I am too simple to answer this question?" "Are they busy, but they have time to chat, why don't you help me? look down on me? ", Or have more psychological thoughts. I have met these things before. Of course they are the same now, but why? My personal summary is like this:

1. My questions are not answered in a correct way, And I provide incomplete information. They do not know how to help me solve this problem.
2.CodeI want to keep my code and don't want them to see it, so I just cut a picture and show it to them.
3. They are busy now. Wait a moment and they will check the problem and tell me where it is.
4. They are testing for me now, instead of failing to help me with the test. When the test has the result, they will naturally tell me (the premise is correct, so that others can know what you are asking)

In fact, sometimes some problems are caused only by your inattention. Therefore, when you encounter problems, you must first calm down, then analyze the problems at the root, and then solve the problems. Next I will share with you some of my usual solutions to the problem, hoping to help some of my friends.

1. Check whether the page is the declaration you need (standard declaration, non-standard declaration, transition declaration, and strict Declaration)
2. Check whether the code is written incorrectly (sometimes an accidental letter may be written incorrectly, and sometimes the case is case sensitive. For example, if you are in a style, then it is capitalized when called on the page)
3. Whether the path is correctly written (for some images or style calls)
4. Use firebug or IE Developer Tools to check the style of debugging errors (for the use of these two plug-ins, you can search for them online. It is estimated that there will be a lot of plug-ins, so I will not talk nonsense)
5. Use "Exclusion" to solve the problem (this so-called "Exclusion" refers to deleting the segment structure, retaining the problematic segment structure, or directly copying the problematic structure, debug a single problem)

There is so much nonsense. We usually accumulate solutions to some problems and try different methods. The problems are generally solved by ourselves before you can remember them!

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.