Home >Web Front-end >HTML Tutorial >After the static page is uploaded to the server, the mouse will string when passing the link DIV (normal IE string in Firefox)_html/css_WEB-ITnose

After the static page is uploaded to the server, the mouse will string when passing the link DIV (normal IE string in Firefox)_html/css_WEB-ITnose

WBOY
WBOYOriginal
2016-06-24 12:13:011184browse

After the static page is uploaded to the server, when the mouse passes over the link DIV, it will string (normal IE string in Firefox)

There is no problem in local testing. After it is uploaded to the server, when the mouse passes a certain link under IE, a DIV will be stretched down a few centimeters. There is no problem in Firefox and it is the same as the local test.

Quite strange. Can anyone help answer this question?


Reply to the discussion (solution)

Post the code.

//nav.jsvar d5=document.getElementById("div5"); //页面中没找到id值为div5的元素

Can you show the code? Otherwise, how would you know what the problem is?

Hello, thank you
I deleted all the DIV5 parts. But it's still not easy to use.

Found several problems:
1. There are too many positioning on the page ~ Positioning will affect the layout ~
2. The problem that occurs when the mouse is moved up for the first time in IE, you can Try using z-index: 99; method~
3. There are too many inline styles~ It’s too difficult to modify my main page~ Hehe~ It’s better to write css and html separately~

Forgot to add, add a css attribute to the main div, overflow:hidden;

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