gpt4 book ai didi

javascript - IE8 引起了许多关于 CSS 的问题

转载 作者:太空宇宙 更新时间:2023-11-04 14:17:05 24 4
gpt4 key购买 nike

Internet Explorer 8 有一些问题(再次)。

问题一:

当试图缩小浏览器时,菜单错位并悬停在特定元素(即搜索栏)上。

问题2:

当试图缩小浏览器时,菜单错位并悬停在特定元素(即搜索栏)上。

我已经添加了 Doctype,而且我已经尝试将元素分开,但我不太明白哪里出了问题?

    <!DOCTYPE html>
<!--[if IE 7]>
<html class="ie ie7" lang="en-US">
<![endif]-->
<!--[if IE 8]>
<html class="ie ie8" lang="en-US">
<![endif]-->
<!--[if !(IE 7) | !(IE 8) ]><!-->
<html lang="en-US">
<!--<![endif]-->
<head>
<link href='http://fonts.googleapis.com/css?family=Baumans' rel='stylesheet' type='text/css'>
<link href='http://fonts.googleapis.com/css?family=Josefin+Sans' rel='stylesheet' type='text/css'>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width" />
<title>Set Training | Just another WordPress site</title>

最佳答案

首先,你在整个地方使用固定宽度,例如这个 id #right_header_container 添加了 550px 宽度...尝试使用 % ...您是否尝试过使用非语义或任何其他网格系统来处理较小的屏幕/设备我建议您查看 http://unsemantic.com/

关于javascript - IE8 引起了许多关于 CSS 的问题,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/20263555/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com