Home > Web Front-end > HTML Tutorial > IE8下CSS效果不正常_html/css_WEB-ITnose

IE8下CSS效果不正常_html/css_WEB-ITnose

WBOY
Release: 2016-06-21 09:39:17
Original
1134 people have browsed it

本帖最后由 mizuho_2006 于 2012-11-10 19:36:35 编辑

IE6下效果,图片切除大小不太一致,但总体效果还可以


IE8下效果,完全不能看。。。


firefox,IE7效果


奇怪的是在IETester里,IE8效果显示是正常的。。

下面是CSS代码
div.wysiwyg { border: 1px solid #cccccc; padding: 5px; background-color: #ffffff; }div.wysiwyg * { margin: 0; padding: 0; }div.wysiwyg ul.panel { border-bottom: 1px solid #cccccc; float: left; width: 100%; padding: 0 0 0 0; }div.wysiwyg ul.panel li { list-style-type: none; float: left; margin: 1px 2px 3px 0;  background: #ffffff;}div.wysiwyg ul.panel li.separator { height: 16px; margin: 0 4px; border-left: 1px solid #cccccc; }div.wysiwyg ul.panel li a { text-indent: -5000px; opacity: 0.85; filter:alpha(opacity=85); display: block; width: 16px; height: 16px; background: url('../images/jquery.wysiwyg.gif') no-repeat -64px -80px; border: 0; cursor: pointer; padding: 1px; }div.wysiwyg ul.panel li a:hover, div.wysiwyg ul.panel li a.active { opacity: 1.00; filter:alpha(opacity=100); }div.wysiwyg ul.panel li a.active { background-color: #f9f9f9; border: 1px solid #cccccc; border-left-color: #aaaaaa; border-top-color: #aaaaaa; padding: 0; }div.wysiwyg ul.panel li a.bold { background-position: 0 -16px; }div.wysiwyg ul.panel li a.italic { background-position: -16px -16px; }div.wysiwyg ul.panel li a.strikeThrough { background-position: -32px -16px; }div.wysiwyg ul.panel li a.underline { background-position: -48px -16px; }div.wysiwyg ul.panel li a.justifyLeft { background-position: 0 0; }div.wysiwyg ul.panel li a.justifyCenter { background-position: -16px 0; }div.wysiwyg ul.panel li a.justifyRight { background-position: -32px 0; }div.wysiwyg ul.panel li a.justifyFull { background-position: -48px 0; }div.wysiwyg ul.panel li a.indent { background-position: -64px 0; }div.wysiwyg ul.panel li a.outdent { background-position: -80px 0; }div.wysiwyg ul.panel li a.subscript { background-position: -64px -16px; }div.wysiwyg ul.panel li a.superscript { background-position: -80px -16px; }div.wysiwyg ul.panel li a.undo { background-position: 0 -64px; }div.wysiwyg ul.panel li a.redo { background-position: -16px -64px; }div.wysiwyg ul.panel li a.insertOrderedList { background-position: -32px -48px; }div.wysiwyg ul.panel li a.insertUnorderedList { background-position: -16px -48px; }div.wysiwyg ul.panel li a.insertHorizontalRule { background-position: 0 -48px; }div.wysiwyg ul.panel li a.h1 { background-position: 0 -32px; }div.wysiwyg ul.panel li a.h2 { background-position: -16px -32px; }div.wysiwyg ul.panel li a.h3 { background-position: -32px -32px; }div.wysiwyg ul.panel li a.h4 { background-position: -48px -32px; }div.wysiwyg ul.panel li a.h5 { background-position: -64px -32px; }div.wysiwyg ul.panel li a.h6 { background-position: -80px -32px; }div.wysiwyg ul.panel li a.cut { background-position: -32px -64px; }div.wysiwyg ul.panel li a.copy { background-position: -48px -64px; }div.wysiwyg ul.panel li a.paste { background-position: -64px -64px; }div.wysiwyg ul.panel li a.increaseFontSize { background-position: -16px -80px; }div.wysiwyg ul.panel li a.decreaseFontSize { background-position: -32px -80px; }div.wysiwyg ul.panel li a.createLink { background-position: -80px -48px; }div.wysiwyg ul.panel li a.insertImage { background-position: -80px -80px; }div.wysiwyg ul.panel li a.html { background-position: -47px -46px; }div.wysiwyg ul.panel li a.removeFormat { background-position: -80px -63px; }div.wysiwyg ul.panel li a.empty { background-position: -64px -80px; }div.wysiwyg iframe { border: 0;  clear: left; margin: 4px 0 0 1px; }
Copy after login

回复讨论(解决方案)

是不是浏览器有什么问题,,  把整个图片放到网页里面看看是神马效果。。

这个说明你在ie下面本来就有问题,

看ie8的兼容模式,有没问题

Related labels:
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