Home > Web Front-end > HTML Tutorial > 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
Release: 2016-06-24 12:25:58
Original
1339 people have browsed it


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

source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template