Two days ago, the customer needed to add a drop-down menu. I was dizzy. A very simple problem caused me two or three days. Then I realized that I really wanted to beat myself.
Previously, I used the DIV set Div method. I only needed to control their positions, but this time I didn't. I used the table-based Div and thought about it for a long time, I have forgotten that what Div displays is relative to the browser. No wonder the content in the drop-down menu does not correspond to the corresponding main menu, but is not fixed and runs around, the attributes 'margin-left' are also used. Later, we realized that we should place the data in the table column so that it is displayed in the corresponding column and the margin attribute in the adjusted format. The problem can be solved.
From this point, we can see that the adjustment of the display level is flexible, not fixed, but can be considered from multiple perspectives, rather than being a tough nut to crack. I also encountered this problem during this process. I know that this is not a problem at all. I just want to tell myself that sometimes it is not always a layer-7 thing, it is a living thing, and it is not just about doing it, but there are no other solutions. Ask your colleagues, friends, and mentors About Baidu and Google.
The problem is not big or small, but inspired and learned in the process of doing so.