If you write the attribute height as not all lowercase, such as window.screen.Height or Window.screen.heighT, you can get a value (IE6, IE7 case-insensitive) under IE6 and IE7. Under IE8 for undefined (IE8 is case-sensitive), the problem occurs.
Cases:
Copy Code code as follows:
WORKAROUND: Replace all HTML, JS, and JSP files directly without case sensitivity.List of attributes that are kn
My logo code:
Header A#logo {display:block;top:10px;width:380px;height:75px}
Finally find the answer on the Internet, IE8 browser picture more than a colored border, and Chrome browser does not have a border solution.
Specify the border style for IMG:
img{Border-style:none;}
another way is to directly add a border=0 to the tablet.
Attached: PNG picture has a black border under the Ie8 browser
First, the next problem in the IE8 code
1, the Jquery.validate verification framework is through the page Form form submission Verification
Where the Name property is consistent with the properties in rules in the following JS
2, JS binding Validate event code is as follows
$ (function () {
initcardtypefrmvalidate ()
})
function Initcardtypefrmvalidate () {
$ (' #cardTypeFrm ') ). Validate ({
onkeyup:false,
CSS can refer to the following definition, note order:
The code is as follows
Copy Code
#menu {line-height:23px;} * * Firefox browser to implement this definition#menu {line-height:26px9;} /*ie6,ie7,ie8 This sentence defines the main cusp to IE8 to hack*/#menu {*line-height:23px;} /*ie6,ie7 This sentence defines the main cusp to IE7 to hack*/#menu {_line-height:23px;} /*ie6 Brow
The code is as follows
Copy Code
Results IE8 under Next.gif line, Firefox normal. As long as the float:right span to the front can solve the problem of line-wrapping, IE8 and Firefox are normal. The code is as follows
code is as follows
copy code
Blog Park Flash Paging is generated with JavaScript, today found in the IE8 click on the page number can not be paged, the paging operation is in the current page number of the OnClick event.
The start code is written like this:
Copy Code code as follows:
var a = document.createelement ("a");
A.setattribute ("onclick", this.) Clickfunctionname + "(" + PageIndex + "); Pager.setcurrent ("+ PageIndex +"); ");
Because
Copy Code code as follows:
function include (path) {
var a=document.createelement ("script");
A.type = "Text/javascript";
A.src=path;
var head=document.getelementsbytagname ("head") [0];
Head.appendchild (a);
}
Include ("Http://jqueryjs.googlecode.com/files/jquery-1.3.2.min.js")
This script you down in the IE8, in the IE8 address bar under the press ENTER after the call jquery
IE8 above version code, only need CSS can
tr{background-color:expression (' #F8F8F8, #EFEFEF '. Split (', ') [rowindex%2]);}
IE8 The following version code, is required CSS and JS together to complete:
First define two CSS, the code is as follows:
Copy Code code as follows:
. Tr1{background-color: #fff;}
. Tr2{background-color: #00ff;}
In fact, write JS code, the code is as follows:
Cop
Recently there is a need to achieve drag and drop function, the page right is an IFRAME page, after the chrome test passed, found in the IE8 above effect is not very ideal, finally find information that can use IE with the setcapture and releasecapture to solve.
Sidedragbar.on (' Mousedown.sidemenu ', function (e) {
this.setcapture this.setcapture ();/ IE can use SetCapture to solve the object drag and drop problem
startdragging (e);
function Re
After many search, found that the reason is the editor of a JS file out of the problem. Because IE7, IE8 does not support anonymous (), so to replace the onclick (event) event, and in the editor of a JS file is the use of Anonymous ().
Solution:
Locate the Editor.js file in the Ewebeditor directory, where the path is webeditincludeeditor.js with Notepad, where you find the following code (line 176th):
The code is as follows
Copy Cod
DIV dislocation in IE6
The DIV using "FLOAT: LEFT" has no problem in IE8, IE7, but moves down in IE6, leading to a blank space. This is because the Kernel used by IE6 increases the distance between divs by 3 by default ~ 5 PX, so try to add "margin-left:-5px;" or smaller to the STYLE of the moving DIV.Solve the style incompatibility problem of IE7 and IE8
Method 1: Add the following HTTP meta-tag to the pag
X-UA-Compatible is a newly added setting for ie8, which is not recognized by browsers other than ie8. The difference between X-UA-Compatible and content = "IE = 7" regardless of whether the page contains
X-UA-Compatible is a special file header tag for IE8, used to specify different page rendering modes for IE8. Due t
Article Title: website Loading Test: Firefox3.5Beta4 wins IE8. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
In the middle of last month, Microsoft announced in a document that IE8 is faster than Google Chrome 1.0 and Firefox 3.0.5 in terms of testing the loading speed
Foreword: New project, need to upload picture cross domain to specialized picture server above, and also support IE8/9 cross domain upload.Resolution: In order to solve this program stepped on a lot of pits, hereby recorded. Previously collected a number of uploaded component files (Pictures) upload components, each have pros and cons.1: Because Google does not support Flash in the future version, so do not want to use the SWF supported components upl
IE8 Support for AJAX issues
IE8 The verification code input error, whether the input is correct or wrong form. Other browsers (Firefox, proud tour) are good, and colleagues of the IE8 can run up. I put my own IE8 cookies, plug-ins completely clear also not. May I ask the heroes, where will the problem be?
This is the A
Div dislocation in IE6
The DIV using "float: Left" has no problem in IE8, IE7, but moves down in IE6, leading to a blank space. This is because the Kernel used by IE6 increases the distance between divs by 3 by default ~ 5 PX, so try to add "margin-left:-5px;" or smaller to the style of the moving Div.Solve the style incompatibility problem of IE7 and IE8
Method 1: Add the following HTTP meta-tag to the
let IE6 IE7 IE8 IE9 IE10 IE11 Support Bootstrap workaroundIf there is similar, it is honored, if reproduced, please specifyLet IE6 IE7 IE8 IE9 IE10 IE11 Support Bootstrap workaroundRecently made a Web site, has always felt bootstrap very good, this time using the BOOTSTRAP3, in Chrome,firefox,safari,opera,360 browser (fast mode), Sogou browser and other browsers are not a problem, And in
I have been testing and modifying IE8 compatibility during this period of time. Because I am a programmer, I may have some limitations in some explanations. I hope you can give me more advice, the goal is to make progress together. Let's talk less about it. (Hope you can make it clear)
1. I have explained this question in the previous article about filter, but I will continue to add:
Code highlighting produced by Actipro CodeHighlighter (freeware)ht
At the beginning of this year, Microsoft opened Internet Explorer 10 for Windows 7.Download the version. So far, three IE browser versions can be run on Windows 7.
Although windows and IE have gone through many versions of development, their traditional habits have not changed for many years:
1. Windows can only have one IE version at a time. After the new version of IE is installed, the old version of IE will be replaced. Different versions of IE cannot coexist in Windows (except for the green
According to foreign media reports, in order to prove their commitment to software interoperability is not a whim, Microsoft announced in Monday, will change the new version of Internet Explorer browser development plan to make it more user-friendly network standards.
Microsoft says the standard compatibility mode will become the default rendering engine for IE8. Microsoft said earlier that IE8 had passed
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.