Home  >  Article  >  Web Front-end  >  Newbie asking for help, the secondary menu has "run away"_html/css_WEB-ITnose

Newbie asking for help, the secondary menu has "run away"_html/css_WEB-ITnose

WBOY
WBOYOriginal
2016-06-24 12:25:581304browse


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? ?


Reply to the discussion (solution)

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. . .

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn