gpt4 book ai didi

CSS 图像未在 Internet Explorer 上显示

转载 作者:行者123 更新时间:2023-11-28 13:12:18 29 4
gpt4 key购买 nike

CSS 图像在 Internet Explorer 上不显示

图像在 Chrome 和 Firefox 中显示,但我不知道为什么它在 Internet Explorer 中不显示。也许是 CSS 问题?请帮我解决这个问题。

这是完整的html页面

<style>
body
{
background-image:url('gradient2.jpg');
background-repeat:repeat-x;
}
</style>

<style>
.shadow1 {
margin: 7px;
background-color: rgb(68,68,68); /* Needed for IEs */

-moz-box-shadow: 5px 5px 5px rgba(68,68,68,0.6);
-webkit-box-shadow: 5px 5px 5px rgba(68,68,68,0.6);
box-shadow: 5px 5px 5px rgba(68,68,68,0.6);

filter: progid:DXImageTransform.Microsoft.Blur(PixelRadius=3,MakeShadow=true,ShadowOpacity=0.30);
-ms-filter: "progid:DXImageTransform.Microsoft.Blur(PixelRadius=3,MakeShadow=true,ShadowOpacity=0.30)";
zoom: 1;
}
.shadow1 .content {
position: relative; /* This protects the inner element from being blurred */
padding: 100px;
background-color: #DDD;
}
.style1 {linkcolor: #000000; text-decoration: none; font-weight: bold; font-size: 12; color: #999999; font-family: Tahoma; }

</style>

</head>

<head>
<style type="text/css">
.pg-normal {
color: black;
font-weight: normal;
text-decoration: none;
cursor: pointer;
}
.pg-selected {
color: black;
font-weight: bold;
text-decoration: underline;
cursor: pointer;
}
</style>

<script type="text/javascript" src="paging.js"></script>
</head>

<table id="results">
<tr>
</tr>
<tr>
<p class="style1">Latest Actress</p>
<td><a href="actress/wallpaper.php?wallpapers=Sherlyn Chopra" target="_blank" class="style1"><img class="shadow1" name="field-name" src="actress/Sherlyn Chopra/10.jpgthumb.jpeg" width=260 height=172 /><p class="style1">Sherlyn Chopra</p></td>

<td><a href="actress/wallpaper.php?wallpapers=Sherlyn Chopra" target="_blank" class="style1"><img class="shadow1" name="field-name" src="actress/Sherlyn Chopra/1.jpgthumb.jpeg" width=260 height=172 /><p class="style1">Sherlyn Chopra</p></td>

<td><a href="actress/wallpaper.php?wallpapers=Evelyn Sharma" target="_blank" class="style1"><img class="shadow1" name="field-name" src="actress/Evelyn Sharma/2.jpgthumb.jpeg" width=260 height=172 /><p class="style1">Evelyn Sharma</p></td>
</tr><tr>

<td><a href="actress/wallpaper.php?wallpapers=Kajal Aggarwal" target="_blank" class="style1"><img class="shadow1" name="field-name" src="actress/Kajal Aggarwal/1.jpgthumb.jpeg" width=260 height=172 /><p class="style1">Kajal Aggarwal</p></td>

<td><a href="actress/wallpaper.php?wallpapers=Kainaat Arora" target="_blank" class="style1"><img class="shadow1" name="field-name" src="actress/Kainaat Arora/1.jpgthumb.jpeg" width=260 height=172 /><p class="style1">Kainaat Arora</p></td>

<td><a href="actress/wallpaper.php?wallpapers=Veena Malik" target="_blank" class="style1"><img class="shadow1" name="field-name" src="actress/Veena Malik/8.jpgthumb.jpeg" width=260 height=172 /><p class="style1">Veena Malik</p></td>
</tr><tr>

<td><a href="actress/wallpaper.php?wallpapers=Sonakshi Sinha" target="_blank" class="style1"><img class="shadow1" name="field-name" src="actress/Sonakshi Sinha/4.jpgthumb.jpeg" width=260 height=172 /><p class="style1">Sonakshi Sinha</p></td>

<td><a href="actress/wallpaper.php?wallpapers=Kareena Kapoor" target="_blank" class="style1"><img class="shadow1" name="field-name" src="actress/Kareena Kapoor/27.jpgthumb.jpeg" width=260 height=172 /><p class="style1">Kareena Kapoor</p></td>

<td><a href="actress/wallpaper.php?wallpapers=Jacqueline Fernandez" target="_blank" class="style1"><img class="shadow1" name="field-name" src="actress/Jacqueline Fernandez/2.jpgthumb.jpeg" width=260 height=172 /><p class="style1">Jacqueline Fernandez</p></td>
</tr><tr>

<td><a href="actress/wallpaper.php?wallpapers=Deepika Padukone" target="_blank" class="style1"><img class="shadow1" name="field-name" src="actress/Deepika Padukone/1.jpgthumb.jpeg" width=260 height=172 /><p class="style1">Deepika Padukone</p></td>

<td><a href="actress/wallpaper.php?wallpapers=Chitrangda Singh" target="_blank" class="style1"><img class="shadow1" name="field-name" src="actress/Chitrangda Singh/3.jpgthumb.jpeg" width=260 height=172 /><p class="style1">Chitrangda Singh</p></td>

<td><a href="actress/wallpaper.php?wallpapers=Asin" target="_blank" class="style1"><img class="shadow1" name="field-name" src="actress/Asin/1.jpgthumb.jpeg" width=260 height=172 /><p class="style1">Asin</p></td>
</tr><tr>

<td><a href="actress/wallpaper.php?wallpapers=Ameesha Patel" target="_blank" class="style1"><img class="shadow1" name="field-name" src="actress/Ameesha Patel/1.jpgthumb.jpeg" width=260 height=172 /><p class="style1">Ameesha Patel</p></td>

<td><a href="actress/wallpaper.php?wallpapers=Amrita Rao" target="_blank" class="style1"><img class="shadow1" name="field-name" src="actress/Amrita Rao/1.jpgthumb.jpeg" width=260 height=172 /><p class="style1">Amrita Rao</p></td>

<td><a href="actress/wallpaper.php?wallpapers=Amrita Rao" target="_blank" class="style1"><img class="shadow1" name="field-name" src="actress/Amrita Rao/amritarao-9.jpgthumb.jpeg" width=260 height=172 /><p class="style1">Amrita Rao</p></td>
</tr><tr>

<td><a href="actress/wallpaper.php?wallpapers=Amrita Rao" target="_blank" class="style1"><img class="shadow1" name="field-name" src="actress/Amrita Rao/amritarao-8.jpgthumb.jpeg" width=260 height=172 /><p class="style1">Amrita Rao</p></td>

<td><a href="actress/wallpaper.php?wallpapers=Amrita Rao" target="_blank" class="style1"><img class="shadow1" name="field-name" src="actress/Amrita Rao/amritarao-7.jpgthumb.jpeg" width=260 height=172 /><p class="style1">Amrita Rao</p></td>

<td><a href="actress/wallpaper.php?wallpapers=Amrita Rao" target="_blank" class="style1"><img class="shadow1" name="field-name" src="actress/Amrita Rao/amritarao-6.jpgthumb.jpeg" width=260 height=172 /><p class="style1">Amrita Rao</p></td>

</tr>
</table>

<div id="pageNavPosition"></div>
<script type="text/javascript"><!--
var pager = new Pager('results', 2);
pager.init();
pager.showPageNav('pager', 'pageNavPosition');
pager.showPage(1);
//--></script>

</body>

最佳答案

我看到 2 个关闭的 head 标签,没有打开的 body 标签。我首先会先清理您的 html,看看是否有帮助。

即。

<html>
<head>
<style>
body {
background-image:url('gradient2.jpg');
background-repeat:repeat-x;
}
.shadow1 {
margin: 7px;
background-color: rgb(68,68,68); /* Needed for IEs */

-moz-box-shadow: 5px 5px 5px rgba(68,68,68,0.6);
-webkit-box-shadow: 5px 5px 5px rgba(68,68,68,0.6);
box-shadow: 5px 5px 5px rgba(68,68,68,0.6);

filter: progid:DXImageTransform.Microsoft.Blur(PixelRadius=3,MakeShadow=true,ShadowOpacity=0.30);
-ms-filter: "progid:DXImageTransform.Microsoft.Blur(PixelRadius=3,MakeShadow=true,ShadowOpacity=0.30)";
zoom: 1;
}
.shadow1 .content {
position: relative; /* This protects the inner element from being blurred */
padding: 100px;
background-color: #DDD;
}
.style1 {linkcolor: #000000; text-decoration: none; font-weight: bold; font-size: 12; color: #999999; font-family: Tahoma; }
.pg-normal {
color: black;
font-weight: normal;
text-decoration: none;
cursor: pointer;
}
.pg-selected {
color: black;
font-weight: bold;
text-decoration: underline;
cursor: pointer;
}
</style>
<script type="text/javascript" src="paging.js"></script>
</head>
<body>
<table id="results">
<tr></tr>
<tr>
<p class="style1">Latest Actress</p>
<td><a href="actress/wallpaper.php?wallpapers=Sherlyn Chopra" target="_blank" class="style1"><img class="shadow1" name="field-name" src="actress/Sherlyn Chopra/10.jpgthumb.jpeg" width=260 height=172 /><p class="style1">Sherlyn Chopra</p></td>

<td><a href="actress/wallpaper.php?wallpapers=Sherlyn Chopra" target="_blank" class="style1"><img class="shadow1" name="field-name" src="actress/Sherlyn Chopra/1.jpgthumb.jpeg" width=260 height=172 /><p class="style1">Sherlyn Chopra</p></td>

<td><a href="actress/wallpaper.php?wallpapers=Evelyn Sharma" target="_blank" class="style1"><img class="shadow1" name="field-name" src="actress/Evelyn Sharma/2.jpgthumb.jpeg" width=260 height=172 /><p class="style1">Evelyn Sharma</p></td>
</tr><tr>

<td><a href="actress/wallpaper.php?wallpapers=Kajal Aggarwal" target="_blank" class="style1"><img class="shadow1" name="field-name" src="actress/Kajal Aggarwal/1.jpgthumb.jpeg" width=260 height=172 /><p class="style1">Kajal Aggarwal</p></td>

<td><a href="actress/wallpaper.php?wallpapers=Kainaat Arora" target="_blank" class="style1"><img class="shadow1" name="field-name" src="actress/Kainaat Arora/1.jpgthumb.jpeg" width=260 height=172 /><p class="style1">Kainaat Arora</p></td>

<td><a href="actress/wallpaper.php?wallpapers=Veena Malik" target="_blank" class="style1"><img class="shadow1" name="field-name" src="actress/Veena Malik/8.jpgthumb.jpeg" width=260 height=172 /><p class="style1">Veena Malik</p></td>
</tr><tr>

<td><a href="actress/wallpaper.php?wallpapers=Sonakshi Sinha" target="_blank" class="style1"><img class="shadow1" name="field-name" src="actress/Sonakshi Sinha/4.jpgthumb.jpeg" width=260 height=172 /><p class="style1">Sonakshi Sinha</p></td>

<td><a href="actress/wallpaper.php?wallpapers=Kareena Kapoor" target="_blank" class="style1"><img class="shadow1" name="field-name" src="actress/Kareena Kapoor/27.jpgthumb.jpeg" width=260 height=172 /><p class="style1">Kareena Kapoor</p></td>

<td><a href="actress/wallpaper.php?wallpapers=Jacqueline Fernandez" target="_blank" class="style1"><img class="shadow1" name="field-name" src="actress/Jacqueline Fernandez/2.jpgthumb.jpeg" width=260 height=172 /><p class="style1">Jacqueline Fernandez</p></td>
</tr><tr>

<td><a href="actress/wallpaper.php?wallpapers=Deepika Padukone" target="_blank" class="style1"><img class="shadow1" name="field-name" src="actress/Deepika Padukone/1.jpgthumb.jpeg" width=260 height=172 /><p class="style1">Deepika Padukone</p></td>

<td><a href="actress/wallpaper.php?wallpapers=Chitrangda Singh" target="_blank" class="style1"><img class="shadow1" name="field-name" src="actress/Chitrangda Singh/3.jpgthumb.jpeg" width=260 height=172 /><p class="style1">Chitrangda Singh</p></td>

<td><a href="actress/wallpaper.php?wallpapers=Asin" target="_blank" class="style1"><img class="shadow1" name="field-name" src="actress/Asin/1.jpgthumb.jpeg" width=260 height=172 /><p class="style1">Asin</p></td>
</tr><tr>

<td><a href="actress/wallpaper.php?wallpapers=Ameesha Patel" target="_blank" class="style1"><img class="shadow1" name="field-name" src="actress/Ameesha Patel/1.jpgthumb.jpeg" width=260 height=172 /><p class="style1">Ameesha Patel</p></td>

<td><a href="actress/wallpaper.php?wallpapers=Amrita Rao" target="_blank" class="style1"><img class="shadow1" name="field-name" src="actress/Amrita Rao/1.jpgthumb.jpeg" width=260 height=172 /><p class="style1">Amrita Rao</p></td>

<td><a href="actress/wallpaper.php?wallpapers=Amrita Rao" target="_blank" class="style1"><img class="shadow1" name="field-name" src="actress/Amrita Rao/amritarao-9.jpgthumb.jpeg" width=260 height=172 /><p class="style1">Amrita Rao</p></td>
</tr><tr>

<td><a href="actress/wallpaper.php?wallpapers=Amrita Rao" target="_blank" class="style1"><img class="shadow1" name="field-name" src="actress/Amrita Rao/amritarao-8.jpgthumb.jpeg" width=260 height=172 /><p class="style1">Amrita Rao</p></td>

<td><a href="actress/wallpaper.php?wallpapers=Amrita Rao" target="_blank" class="style1"><img class="shadow1" name="field-name" src="actress/Amrita Rao/amritarao-7.jpgthumb.jpeg" width=260 height=172 /><p class="style1">Amrita Rao</p></td>

<td><a href="actress/wallpaper.php?wallpapers=Amrita Rao" target="_blank" class="style1"><img class="shadow1" name="field-name" src="actress/Amrita Rao/amritarao-6.jpgthumb.jpeg" width=260 height=172 /><p class="style1">Amrita Rao</p></td>

</tr>
</table>

<div id="pageNavPosition"></div>
<script type="text/javascript"><!--
var pager = new Pager('results', 2);
pager.init();
pager.showPageNav('pager', 'pageNavPosition');
pager.showPage(1);
//--></script>
</body>
</html>

关于CSS 图像未在 Internet Explorer 上显示,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/15368687/

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