As shown in the picture, the navigation bar I made can be displayed normally on Google, IE, etc., but on Firefox it will be like the picture, the secondary menu is in the upper left corner of the page, please give me some advice. , under what circumstances will this happen? ?
It’s no problem if you use relative positioning. Positioned relative to its parent.
The css problem is the most annoying to test the browser compatibility.
If you use relative positioning, it will be no problem. Positioned relative to its parent. I have written the positioning, but as a newbie, I don’t know if it is correct. . .