


Please help me find the css compatibility issues of different browsers. Attached are URLs, codes, online, etc._html/css_WEB-ITnose
Please help me find the css compatibility issues in different browsers, including URL, code, online, etc...
I made a website for my company and encountered compatibility issues, please help. !
Navigation problem: Under IE8, there is no problem in normal mode and compatibility mode. Now it appears in 360 speed mode or in versions below IE8:
1. The navigation bar is misaligned and the marquee does not appear by itself. Move the mouse to the home page and the marquee will appear from the middle.
2. The plate border becomes thicker.
Waiting online! ! ! Please help me! ! !
http://szw.qj.gov.cn
The navigation bar css code is as follows:
*{margin:0px; padding:0px ;}
#nav {
height:50px; position:relative; font-family:arial, verdana, sans-serif; font-size:11px;z-index:0; display:inline;
}
#nav .select {
margin:0; padding:0; list-style:none; white-space:nowrap; display:table-cell;
}
#nav li {
float:left; padding:0 0 0 0;background:url(blank_over_p.gif); display:inline;
}
#nav .select a {
display: block; height:48px; float:left; background: url(blank_p.gif); padding:0 0 0 10px; text-decoration:none; line-height:25px; white-space:nowrap; color:#fff;text -align:center;
}
#nav .select li:active {background:url(blank_p.gif) right top;
}
#nav .select a b {
display: block; padding:0 23px 10px 10px; background:url(blank_p.gif) right top;text-align:center;
}
#nav .select li:hover a {
background: url(blank_over_p .gif); padding:0 0 0 10px; line-height:27px; cursor:pointer; color:#eee;text-align:center;
}
#nav .select li:hover a b {
display:block; padding:0 23px 9px 10px; background:url(blank_over_p.gif) right top; cursor:pointer; text-align:center;
}
#nav .sub {
display:none;margin:0;list-style:none; text-align:center;
}
#nav .sub li {background:transparent;text-align:center;}
# nav .select li:hover .sub {
height:18px; display:block; position:absolute; width:1020px; top:28px; left:0; text-align:center;
}
# nav .select li:hover .sub li a {
display:block;height:22px; line-height:20px; float:left; background:transparent url(transparent.gif); padding:0 18px; margin:0 ; white-space:nowrap; border:1px solid #fff; border-color:#888 #777 #666 #ddd; color:#333;font-size:13px; text-align:center;
}
#nav .select li:hover .sub li a:hover {
color:#000; background:#e8e8e8; border-color: #fff #333 #000 #fff; line-height:15px; text-align :center;}
The css code of the home page is as follows:
.t1 {
FONT-WEIGHT: normal; FONT-SIZE: 12px; COLOR: #ffffff; FONT-FAMILY: "Arial", "Helvetica", "sans-serif"; TEXT-DECORATION: none
}
.t2 {
FONT-SIZE: 12px; COLOR: #333333; LINE-HEIGHT : 15px; FONT-FAMILY: "Arial", "Helvetica", "sans-serif"; TEXT-DECORATION: none
}
.kj1 {
BORDER-RIGHT: #6c4824 1px solid; BORDER- LEFT: #6c4824 1px solid; BORDER-TOP-STYLE: none; BORDER-BOTTOM-STYLE: none
}
.t3 {
FONT-SIZE: 12px; COLOR: #53371c; LINE-HEIGHT: 15px; FONT-FAMILY: "Arial", "Helvetica", "sans-serif"
}
.bk {
BORDER-BOTTOM: #663333 1px dotted
}
.bk1 { <🎜> Helvetica", "sans-serif"; TEXT-DECORATION: none
}
BODY { COLOR: #666666; FONT-FAMILY: "??¨¬?"; FONT-SIZE: 10pt; MARGIN: 0px; SCROLLBAR-HIGHLIGHT-COLOR:
#F5F9FF; SCROLLBAR-SHADOW-COLOR: #828282; SCROLLBAR-3DLIGHT-COLOR: #828282; SCROLLBAR-ARROW-COLOR:
#797979; SCROLLBAR-TRACK-COLOR: #ECECEC; SCROLLBAR-DARKSHADOW-COLOR: #ffffff }
A:link { COLOR: #FFFFFF; FONT-SIZE: 9pt; TEXT-DECORATION: none }
A:visited { COLOR: #FFFFFF; FONT-SIZE: 9pt; TEXT-DECORATION: none }
A:hover { COLOR: #0099FF; FONT-SIZE: 9pt; TEXT-DECORATION: underline }
A:active { COLOR: #336699; FONT-SIZE: 9pt; TEXT-DECORATION: none }
A.white:link { COLOR: #ffffff; FONT-SIZE: 9pt; TEXT-DECORATION: none }
A.white:visited { COLOR: #ffffff; FONT-SIZE: 9pt; TEXT-DECORATION: none }
A.white:hover { COLOR: #eeeeee; FONT-SIZE: 9pt; TEXT-DECORATION: underline }
A.white:active { COLOR: #FFFFFF; FONT-SIZE: 9pt; TEXT-DECORATION: none }
A.blue:link { COLOR: #ff0000; FONT-SIZE: 9pt; TEXT-DECORATION: none }
A.blue:visited { COLOR: #ff0000; FONT-SIZE: 9pt; TEXT-DECORATION: none }
A.blue:hover { COLOR: #ff9900; FONT-SIZE: 9pt; TEXT-DECORATION: underline }
A.blue:active { COLOR: #ffffff; FONT-SIZE: 9pt; TEXT-DECORATION: none }
TABLE { COLOR: #ffffff; FONT-FAMILY: "??¨¬?"; FONT-SIZE: 9pt; LINE-HEIGHT:15px }
TABLE.Mtable3 TD { BORDER-BOTTOM: #425d8c 1px solid; BORDER-LEFT: #ffffff 0px solid; BORDER-RIGHT: #ffffff 0px solid; BORDER-TOP: #91b0d7 1px solid }
TABLE.Mtable2 TD { BORDER-BOTTOM: #bedafe 1px solid; BORDER-LEFT: #ffffff 0px solid; BORDER-RIGHT: #ffffff 0px solid; BORDER-TOP: #ffffff 0px solid }
TABLE.Mtable1 TD { BORDER-BOTTOM: #bedafe 0px solid; BORDER-LEFT: #ffffff 0px solid; BORDER-RIGHT: #ffffff 0px solid; BORDER-TOP: #ffffff 0px solid }
.list { BACKGROUND-COLOR: #990000; COLOR: #ffffff; FONT-FAMILY: "??¨¬?"; FONT-SIZE: 12px }
.textboxLINE_1 { BACKGROUND-COLOR: #D6F7FF;
BORDER-BOTTOM: #b4b4b4 1px double;
BORDER-LEFT: #b4b4b4 0px double;
BORDER-RIGHT: #b4b4b4 0px double;
BORDER-TOP: #b4b4b4 0px double }
.textbox { BACKGROUND-COLOR: #ffffff;
BORDER-BOTTOM: #b4b4b4 1px double;
BORDER-LEFT: #b4b4b4 1px double;
BORDER-RIGHT: #b4b4b4 1px double;
BORDER-TOP: #b4b4b4 1px double }
.Bbutton { BACKGROUND-COLOR: #D6F7FF;
BORDER-BOTTOM: #ff0000 1px solid;
BORDER-LEFT: #ff0000 1px solid;
BORDER-RIGHT: #ff0000 1px double;
BORDER-TOP: #ff0000 1px solid; FONT-SIZE: 9pt; HEIGHT: 13pt;color:#990000}
.style2 {font-family: "????"; font-size:10pt;}
回复讨论(解决方案)
政府网站啊 , 告诉你个不幸的消息 ,谷歌,火狐打开页面都左浮动了 . 根本没居中 。 估计最新版本的浏览器都不会居中。 就兼容IE了.?
firefox下面二级菜单都跑在内容上面去了,整个网页都在左边。1 网页外面套个大DIV ,弄居中 2 nav菜单的子菜单写进Li里面去,或者放不同的DIV里去也行,用js动态的加载
好像都是用table 布局的,先在 css 里,让页面居中吧
table{margin: 0 auto;}
The page has been centered, but there are still many compatibility issues. I don’t think we can solve them one by one. I started to learn div css by myself, and I will change the entire website one day!
I haven’t created a website for many years. I wrote this homepage template in 2009. There weren’t so many browsers at that time. I only created it on IE and didn’t pay attention to compatibility issues. Now I’ve deleted it and opened it in 360 It looks the same when I open it on IE. The most annoying thing is that when I open Firefox, it completely irritates me. Remind website novices to learn div css first before making a website.

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics



Some users encountered errors when installing the device, prompting error code 28. In fact, this is mainly due to the driver. We only need to solve the problem of win7 driver code 28. Let’s take a look at what should be done. Do it. What to do with win7 driver code 28: First, we need to click on the start menu in the lower left corner of the screen. Then, find and click the "Control Panel" option in the pop-up menu. This option is usually located at or near the bottom of the menu. After clicking, the system will automatically open the control panel interface. In the control panel, we can perform various system settings and management operations. This is the first step in the nostalgia cleaning level, I hope it helps. Then we need to proceed and enter the system and

What to do with blue screen code 0x0000001? The blue screen error is a warning mechanism when there is a problem with the computer system or hardware. Code 0x0000001 usually indicates a hardware or driver failure. When users suddenly encounter a blue screen error while using their computer, they may feel panicked and at a loss. Fortunately, most blue screen errors can be troubleshooted and dealt with with a few simple steps. This article will introduce readers to some methods to solve the blue screen error code 0x0000001. First, when encountering a blue screen error, we can try to restart

Solve the "error:expectedinitializerbefore'datatype'" problem in C++ code. In C++ programming, sometimes we encounter some compilation errors when writing code. One of the common errors is "error:expectedinitializerbefore'datatype'". This error usually occurs in a variable declaration or function definition and may cause the program to fail to compile correctly or

The win10 system is a very excellent high-intelligence system. Its powerful intelligence can bring the best user experience to users. Under normal circumstances, users’ win10 system computers will not have any problems! However, it is inevitable that various faults will occur in excellent computers. Recently, friends have been reporting that their win10 systems have encountered frequent blue screens! Today, the editor will bring you solutions to different codes that cause frequent blue screens in Windows 10 computers. Let’s take a look. Solutions to frequent computer blue screens with different codes each time: causes of various fault codes and solution suggestions 1. Cause of 0×000000116 fault: It should be that the graphics card driver is incompatible. Solution: It is recommended to replace the original manufacturer's driver. 2,

Termination Code 0xc000007b While using your computer, you sometimes encounter various problems and error codes. Among them, the termination code is the most disturbing, especially the termination code 0xc000007b. This code indicates that an application cannot start properly, causing inconvenience to the user. First, let’s understand the meaning of termination code 0xc000007b. This code is a Windows operating system error code that usually occurs when a 32-bit application tries to run on a 64-bit operating system. It means it should

If you need to program any device remotely, this article will help you. We will share the top GE universal remote codes for programming any device. What is a GE remote control? GEUniversalRemote is a remote control that can be used to control multiple devices such as smart TVs, LG, Vizio, Sony, Blu-ray, DVD, DVR, Roku, AppleTV, streaming media players and more. GEUniversal remote controls come in various models with different features and functions. GEUniversalRemote can control up to four devices. Top Universal Remote Codes to Program on Any Device GE remotes come with a set of codes that allow them to work with different devices. you may

What does the 0x000000d1 blue screen code mean? In recent years, with the popularization of computers and the rapid development of the Internet, the stability and security issues of the operating system have become increasingly prominent. A common problem is blue screen errors, code 0x000000d1 is one of them. A blue screen error, or "Blue Screen of Death," is a condition that occurs when a computer experiences a severe system failure. When the system cannot recover from the error, the Windows operating system displays a blue screen with the error code on the screen. These error codes

Blue screen is a problem we often encounter when using the system. Depending on the error code, there will be many different reasons and solutions. For example, when we encounter the problem of stop: 0x0000007f, it may be a hardware or software error. Let’s follow the editor to find out the solution. 0x000000c5 blue screen code reason: Answer: The memory, CPU, and graphics card are suddenly overclocked, or the software is running incorrectly. Solution 1: 1. Keep pressing F8 to enter when booting, select safe mode, and press Enter to enter. 2. After entering safe mode, press win+r to open the run window, enter cmd, and press Enter. 3. In the command prompt window, enter "chkdsk /f /r", press Enter, and then press the y key. 4.
