Maison > interface Web > tutoriel HTML > le corps du texte

IE6到底是要整哪样?我已经没办法了!_html/css_WEB-ITnose

WBOY
Libérer: 2016-06-24 12:14:18
original
1175 Les gens l'ont consulté

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=gb2312" /><title>test</title><style type="text/css">*{ margin:0; padding:0;}img{ border:none;}.picbox{ float:left; width:980px;}.picbox a{float:left; border:1px solid #FFF;margin:5px 3px 0 2px; display:inline; white-space:nowrap;}.picbox a:hover{ border-color:#CCC;}</style></head><body><div class="picbox">    <a href="" target="_blank" style="float:right"><img  src="http://pic5.nipic.com/20100223/3690856_224956041666_2.jpg"    style="max-width:90%"  style="max-width:90%" / alt="IE6到底是要整哪样?我已经没办法了!_html/css_WEB-ITnose" ></a>    <a href="" target="_blank" style="float:right"><img  src="http://pic5.nipic.com/20100223/3690856_224956041666_2.jpg"    style="max-width:90%"  style="max-width:90%" / alt="IE6到底是要整哪样?我已经没办法了!_html/css_WEB-ITnose" ></a>    <a href="" target="_blank"><img  src="http://pic5.nipic.com/20100223/3690856_224956041666_2.jpg"    style="max-width:90%"  style="max-width:90%" / alt="IE6到底是要整哪样?我已经没办法了!_html/css_WEB-ITnose" ></a>    <a href="" target="_blank"><img  src="http://pic5.nipic.com/20100223/3690856_224956041666_2.jpg"    style="max-width:90%"  style="max-width:90%" / alt="IE6到底是要整哪样?我已经没办法了!_html/css_WEB-ITnose" ></a>    <a href="" target="_blank"><img  src="http://pic5.nipic.com/20100223/3690856_224956041666_2.jpg"    style="max-width:90%"  style="max-width:90%" / alt="IE6到底是要整哪样?我已经没办法了!_html/css_WEB-ITnose" ></a>    <a href="" target="_blank"><img  src="http://pic5.nipic.com/20100223/3690856_224956041666_2.jpg"    style="max-width:90%"  style="max-width:90%" / alt="IE6到底是要整哪样?我已经没办法了!_html/css_WEB-ITnose" ></a></div></body></html>
Copier après la connexion


考滤到程序调用问题,前面两张和后面四张图片必须是连续的
也就是说不改变图片顺序,只改动CSS,让IE6下正常。


回复讨论(解决方案)

唉,自己解决了,在前面两张图片上加个span标签套起就好了

谁来接分吧

这个的确挺?的。。

IE6下浮动换行的 情况 大多数时候可以通过设置宽度解决

我看是在ie6下那个宽度改成982px就可以了,也是一种方法~

http://www.busfly.net/post/CSS-IE6-IE7-FF.html

推荐一个。。。?、、、

source:php.cn
Déclaration de ce site Web
Le contenu de cet article est volontairement contribué par les internautes et les droits d'auteur appartiennent à l'auteur original. Ce site n'assume aucune responsabilité légale correspondante. Si vous trouvez un contenu suspecté de plagiat ou de contrefaçon, veuillez contacter admin@php.cn
Tutoriels populaires
Plus>
Derniers téléchargements
Plus>
effets Web
Code source du site Web
Matériel du site Web
Modèle frontal
À propos de nous Clause de non-responsabilité Sitemap
Site Web PHP chinois:Formation PHP en ligne sur le bien-être public,Aidez les apprenants PHP à grandir rapidement!