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

Slot arrangement and usage analysis in Vue

The operating environment of this tutorial: Windo...

js to implement add and delete table operations

This article example shares the specific code of ...

17 JavaScript One-Liners

Table of contents 1. DOM & BOM related 1. Che...

js to implement web calculator

How to make a simple web calculator using HTML, C...

MySql 8.0.11-Winxp64 (free installation version) configuration tutorial

1. Unzip the zip package to the installation dire...

Linux platform mysql enable remote login

During the development process, I often encounter...

How to implement a simple HTML video player

This article introduces the method of implementin...

Cross-domain issues in front-end and back-end separation of Vue+SpringBoot

In the front-end and back-end separation developm...

jQuery achieves the shutter effect (using li positioning)

This article shares the specific code of jQuery t...

The textarea tag cannot be resized and cannot be dragged with the mouse

The textarea tag size is immutable Copy code The c...

What command is better for fuzzy searching files in Linux?

1. Introduction This article mainly explains how ...

Practice of using Vite2+Vue3 to render Markdown documents

Table of contents Custom Vite plugins Using vite-...

How to query the intersection of time periods in Mysql

Mysql query time period intersection Usage scenar...