Solutions to the Problem of Creating XHTML and CSS Web Pages

Solutions to the Problem of Creating XHTML and CSS Web Pages
The solutions to the problems encountered during xhtml css page production are a bit of an exaggeration to call them solutions. At best, they are just some small suggestions for those who have just started to learn standard page production. Please forgive me if I say something wrong. Of course, you can also propose your better methods. We can learn from each other and grow together!
No matter who you are, you will encounter problems of one kind or another in the process of making a page, and if there are problems, they must be solved. The prerequisite for solving a problem is to know where the problem lies. For a novice, he may not know where the problem lies as soon as he sees it. For example, the problem of "an extra pig" in IE6 (reference: https://www.jb51.net/html-xhtml/webxhtml-6869.html Research on comments causing text overflow in IE). For some problems, more experience exchange, sharing and absorption are needed to grow better.
I think everyone has asked questions on the Internet and needed answers from others, but often your question does not get an answer from anyone, or is completely ignored. At this moment, are you thinking, "Is it because my question is too simple that they don't want to answer it?", "Are they very busy? But they all have time to chat, so why don't they help me? Do they look down on me?", or maybe you have more thoughts. I have encountered these before, and of course it is the same now, but why is it so? My own summary is probably like this:
1. My questioning method was incorrect and the information I provided was incomplete. They didn’t know how to help me answer the question.
2. Regarding the nature of the code, I wanted to keep my own code and didn’t want them to see it, so I only took a screenshot for them to see.
3. They are busy now. They will take a look and tell me the problem.
4. They are helping me with the test now, not that they are not helping me. They will tell me the results when the test is out (provided that the question is asked in the right way so that others can know what you are asking)
In fact, sometimes some problems are caused only by your carelessness. So, when you encounter a problem, you must first stay calm, then analyze the problem fundamentally, and then solve the problem. Below I will briefly share with you some of the ways I usually solve problems, hoping it will be helpful to some friends.
1. Check whether the page contains the declaration you need (standard declaration, non-standard declaration, transitional declaration, strict declaration)
2. Check if the code is wrong (sometimes you may accidentally write the wrong letter, and sometimes you need to pay attention to the capitalization, for example, you write it in lowercase in the style, and then in uppercase when calling it in the page)
3. Is the path written correctly (for some images or style calls)
4. Use Firebug or IEDevelopertools to check and debug the wrong style (you can search online for the use of these two plug-ins, there should be a lot of them, so I won’t talk nonsense)
5. Use the "elimination method" to solve the problem (this so-called "elimination method" is to delete the structure section by section and keep the problematic section; or directly copy the problematic structure and debug a single problem)
That’s all the nonsense I’m going to say. The main thing is to accumulate more solutions to problems and try different methods. Generally, you will remember the problem clearly only after you have solved it yourself!

<<:  Analysis of the locking mechanism of MySQL database

>>:  Docker file storage path, get container startup command operation

Recommend

Six tips to increase web page loading speed

Secondly, the ranking of keywords is also related ...

W3C Tutorial (10): W3C XQuery Activities

XQuery is a language for extracting data from XML...

Analysis of examples of using anti-shake and throttling in Vue components

Be careful when listening for events that are tri...

How to install MySQL database on Debian 9 system

Preface Seeing the title, everyone should be thin...

Docker installs redis 5.0.7 and mounts external configuration and data issues

Redis is an open source NoSQL database written in...

Let’s talk in detail about how JavaScript affects DOM tree construction

Table of contents Document Object Model (DOM) DOM...

Specific use of Linux which command

We often want to find a file in Linux, but we don...

How to make form input and other text boxes read-only and non-editable in HTML

Sometimes, we want the text boxes in the form to b...

Using HTML web page examples to explain the meaning of the head area code

Use examples to familiarize yourself with the mean...

MySQL GTID comprehensive summary

Table of contents 01 Introduction to GTID 02 How ...

CentOS7.5 installation tutorial of MySQL

1. First check whether the system has mysql insta...