搜索
首页web前端html教程求前端大神帮帮忙,我把网页缩小后出现图中上的问题,IE上又没问题啊,360就有问题,求教。_html/css_WEB-ITnose



下面是IE的效果

<style>.qiyenews{	margin-left:-700px;	line-height:30px;	margin-top:20px;}.hangye{  margin-top:-330px;  margin-left:40px;  line-height:30px;}.remeng{    margin-top: -330px;	margin-left: 750px;}.jishu{    margin-left:-700px;	margin-top:-330px;	line-height:30px;}.zhengzhi{	line-height:30px;    margin-top:-330px;	margin-left:40px;	}.zhuanti{	width:370px;    margin-top:-200px;	margin-right:950px;}.shebei{	margin-top:-230px;	margin-left:40%;	line-height:20px;	position:absolute;}.zixun{	 margin-left:800px;	 margin-top:-250px;	 line-height: 27px;}.pictrue{	margin-top:20px;	margin-left:800px;}table,tr,td{	border:1px solid #DDDDDD;}.daohang{	margin-right: 960px;	margin-top: 40px;	margin-bottom: 20px;}</style>

<!-- 新闻展示 --><center><div class="shebei"><a href="content?id={$rand[0][id]}"><span><b style="color:#FF5511;font-size:15px;">{$rand[0][title]|msubstr=0,20,'utf-8',false}</b></span></a><br><span style="float:left;"><a href="content?id={$rand[1][id]}">[{$rand[1][title]|msubstr=0,13,'utf-8',false}]</a></span>  <span style="float:right;"><a href="content?id={$rand[2][id]}">[{$rand[2][title]|msubstr=0,13,'utf-8',false}]</a></span><hr style="width:300px;"><a href="content?id={$rand[3][id]}"><span><b style="color:#FF5511;font-size:15px;">{$rand[3][title]|msubstr=0,20,'utf-8',false}</b></span></a><br><span style="float:left;"><a href="content?id={$rand[4][id]}">[{$rand[4][title]|msubstr=0,13,'utf-8',false}]</a></span>  <span style="float:right;"><a href="content?id={$rand[5][id]}">[{$rand[5][title]|msubstr=0,13,'utf-8',false}]</a></span><hr style="width:300px;"><a href="content?id={$rand[6][id]}"><span><b style="color:#FF5511;font-size:15px;">{$rand[6][title]|msubstr=0,20,'utf-8',false}</b></span></a><br><span style="float:left;"><a href="content?id={$rand[7][id]}">[{$rand[7][title]|msubstr=0,13,'utf-8',false}]</a></span>  <span style="float:right;"><a href="content?id={$rand[8][id]}">[{$rand[8][title]|msubstr=0,13,'utf-8',false}]</a></span><hr style="width:300px;"></div></center><center><div style="margin-left: 42%;position:absolute;line-height: 44px;text-align: left;"><tr><td><a href="content?id={$rand2[0][id]}"><span>行业动态</span>   |  {$rand2[0][title]|msubstr=0,20,'utf-8',false}</td></a><td><a href="content?id={$rand1[0][id]}"><span>产品资讯</span>   |  {$rand1[0][title]|msubstr=0,20,'utf-8',false}</td></a><td><a href="content?id={$rand4[0][id]}"><span>技术应用 </span>   |  {$rand4[0][title]|msubstr=0,20,'utf-8',false}</td></a><td><a href="content?id={$rand5[0][id]}"><span>政策法规</span>   |  {$rand5[0][title]|msubstr=0,20,'utf-8',false}</td></a><td><a href="content?id={$rand3[0][id]}"><span>企业新闻</span>  |  {$rand3[0][title]|msubstr=0,20,'utf-8',false}</td></a><td><a href="content?id={$rand6[0][id]}"><span>其他</span>  |  {$rand6[0][title]|msubstr=0,20,'utf-8',false}</td></a></tr></div></center><!--产品资讯--><div class="zixun"><table border="1" width="270" cellspacing="0" cellpadding="0" style="line-height:20px;"><tr><td><b>产品资讯</b></td></tr><tr><td><volist name="zixun" id="vo"><li tyle="list-style-type:square;margin-left:12px;"><a href="content?id={$vo.id}">&nbsp?{$vo.title}</a></li></volist></td></tr></table></div><!--图片新闻 --><div class="pictrue"><table border="1" width="270" cellspacing="0" cellpadding="0"><tr style="height:30px;"><td><b>图片新闻</b></td></tr><tr><td style="height:200px;"><div style="margin-top:-70px;"><volist name="tunews" id="vo"><div style="float:left;margin-left:20px;margin-top:40px;"><A href="content?id={$vo.id}"><img  src="/static/imghwm/default1.png"  data-src="__ROOT__/{$vo.pics}"  class="lazy"      style="max-width:90%"  style="max-width:90%" / alt="求前端大神帮帮忙,我把网页缩小后出现图中上的问题,IE上又没问题啊,360就有问题,求教。_html/css_WEB-ITnose" ></A><p style="margin-left:0px;margin-top:-15px;"><span><a href="content?id={$vo.id}"  style="text-align:center;background:none repeat scroll 0 0 rgba(0, 0, 0, 0.6);font-size:11px;color:#fff;position:absolute;width:105px;">{$vo.title|msubstr=0,8,'utf-8',false}</a></span></p></div></volist></div></td></tr></table></div><!-- 热点专题 --><div class="zhuanti"><b style="margin-left:-50px;">热点专题</b><volist name="redian" id="vo" offset="0" length='1'><a href="content?id={$vo.id}" style="margin-left:120px;margin-top:10px;margin-bottom: 10px;"><span style="color:red;">{$vo.title}</span></a><img  src="/static/imghwm/default1.png"  data-src="__ROOT__/{$vo.pics}"  class="lazy"      style="max-width:90%"  style="max-width:90%" style="margin-top:-10px;"/ alt="求前端大神帮帮忙,我把网页缩小后出现图中上的问题,IE上又没问题啊,360就有问题,求教。_html/css_WEB-ITnose" ><p style="margin-left:240px;margin-top:-90px;text-align:justify;width:250px;"><a href="content?id={$vo.id}">{$vo.content|msubstr=0,50,'utf-8',false}</a></p></volist><ul style="margin-top:30px;margin-left:130px;width:400px;text-align:justify;"><volist name="redian" id="vo" offset="1" length='3'><li><a href="content?id={$vo.id}">{$vo.title|msubstr=0,30,'utf-8',false}</a></li></volist></ul></div><!-- 中间大banner --><div class="banner" style="margin-top: initial;"><img  src="/static/imghwm/default1.png"  data-src="__PUBLIC__/img1/banner2.PNG"  class="lazy"     style="max-width:90%"/ alt="求前端大神帮帮忙,我把网页缩小后出现图中上的问题,IE上又没问题啊,360就有问题,求教。_html/css_WEB-ITnose" ></div><div><!--企业新闻 --><div class="qiyenews"><table border="1" width="350" cellspacing="0" cellpadding="0"><tr style="height:30px;"><td><div style="height:2px;"><b>企业新闻</b></div><A href="morenews?uid=3"><div style="margin-left:80%;">更多 >></div></A></td></tr><tr><td style="height:300px;"><div style="margin-top:-30px;line-height:10px;"><volist name="qiye" id="vo">    <a href="content?id={$vo.id}">{$vo.title|msubstr=0,18,'utf-8',false}</a><span style="float:right;margin-top:-10px;">[{$vo.publishtime|date="Y-m-d",###}]</span><br></volist></div></td></tr></table></div><!-- 行业动态 --><div class="hangye"><table border="1" width="350" cellspacing="0" cellpadding="0"><tr style="height:30px;"><td><div style="height:2px;"><b>行业动态</b></div><A href="morenews?uid=2"><div style="margin-left:80%;">更多 >></div></A></td></tr><tr><td style="height:300px;"><div style="margin-top:-60px;line-height:10px;"><volist name="dongtai" id="vo">    <a href="content?id={$vo.id}">{$vo.title|msubstr=0,18,'utf-8',false}</a><span style="float:right;margin-top:-10px;">[{$vo.publishtime|date="Y-m-d",###}]</span><br></volist></div></td></tr></table></div><!-- 热门浏览 --><div class="remeng"><table border="1" width="320"  cellspacing="0" cellpadding="0"><tr style="height:30px;"><td><b>热门浏览</b></td></tr><tr><td style="height:650px;"><div style="line-height:14px;margin-top:10px;" ><volist name="remengliulan" id="vo"><img  src="/static/imghwm/default1.png"  data-src="__ROOT__/{$vo.pics}"  class="lazy"      style="max-width:90%"  style="max-width:90%" / alt="求前端大神帮帮忙,我把网页缩小后出现图中上的问题,IE上又没问题啊,360就有问题,求教。_html/css_WEB-ITnose" ><p style="margin-top:-60px;margin-left:90px;"><b>{$vo.title|msubstr=0,18,'utf-8',false}</b></p><p style="text-indent:2em;margin-top:0px;margin-left:90px;line-height:15px;">{$vo.content|msubstr=0,48,'utf-8',true}<a href="content?id={$vo.id}"><span style="position:absolute;margin-left:120px;margin-top:-15px;">[详情]</span></a></p><br></volist></div></td></table></div><!-- 技术应用 --><div class="jishu"><table border="1" width="350" cellspacing="0" cellpadding="0"><tr style="height:30px;"><td><div style="height:2px;"><b>技术应用</b></div><A href="morenews?uid=4"><div style="margin-left:80%;">更多 >></div></A></td></tr><tr><td style="height:300px;"><div style="margin-top:-60px;line-height:10px;"><volist name="jishu" id="vo">    <a href="content?id={$vo.id}">{$vo.title|msubstr=0,18,'utf-8',false}<span style="float:right;">[{$vo.publishtime|date="Y-m-d",###}]</span></a><br></volist></div></td></tr></table></div><!-- 整治法规 --><div class="zhengzhi"><table border="1" width="350" cellspacing="0" cellpadding="0"><tr style="height:30px;"><td><A href="morenews?uid=5"><b>整治法规</b><span style="margin-left:67%;">更多>></span></A></td></tr><tr><td style="height:300px;"><div style="margin-top:-60px;line-height:10px;"><volist name="zhengzhi" id="vo">    <a href="content?id={$vo.id}">{$vo.title|msubstr=0,18,'utf-8',false}<span style="float:right;">[{$vo.publishtime|date="Y-m-d",###}]</span></a><br></volist></div></td></tr></table></div></div></div>


回复讨论(解决方案)

写的咱这么乱哟,
div包着tr有意义么?应该先写盒子,再做其他的

360是哪个版本,有可能是IE内核的问题。

已解决,是高度没有设置的问题。

声明
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系admin@php.cn
&gt; gt;的目的是什么 元素?&gt; gt;的目的是什么 元素?Mar 21, 2025 pm 12:34 PM

本文讨论了HTML&lt; Progress&gt;元素,其目的,样式和与&lt; meter&gt;元素。主要重点是使用&lt; progress&gt;为了完成任务和LT;仪表&gt;对于stati

&lt; datalist&gt;的目的是什么。 元素?&lt; datalist&gt;的目的是什么。 元素?Mar 21, 2025 pm 12:33 PM

本文讨论了html&lt; datalist&gt;元素,通过提供自动完整建议,改善用户体验并减少错误来增强表格。Character计数:159

&lt; meter&gt;的目的是什么。 元素?&lt; meter&gt;的目的是什么。 元素?Mar 21, 2025 pm 12:35 PM

本文讨论了HTML&lt; meter&gt;元素,用于在一个范围内显示标量或分数值及其在Web开发中的常见应用。它区分了&lt; meter&gt;从&lt; progress&gt;和前

HTML5中跨浏览器兼容性的最佳实践是什么?HTML5中跨浏览器兼容性的最佳实践是什么?Mar 17, 2025 pm 12:20 PM

文章讨论了确保HTML5跨浏览器兼容性的最佳实践,重点是特征检测,进行性增强和测试方法。

视口元标签是什么?为什么对响应式设计很重要?视口元标签是什么?为什么对响应式设计很重要?Mar 20, 2025 pm 05:56 PM

本文讨论了视口元标签,这对于移动设备上的响应式Web设计至关重要。它解释了如何正确使用确保最佳的内容缩放和用户交互,而滥用可能会导致设计和可访问性问题。

我如何使用html5&lt; time&gt; 元素以语义表示日期和时间?我如何使用html5&lt; time&gt; 元素以语义表示日期和时间?Mar 12, 2025 pm 04:05 PM

本文解释了HTML5&lt; time&gt;语义日期/时间表示的元素。 它强调了DateTime属性对机器可读性(ISO 8601格式)的重要性,并在人类可读文本旁边,增强Accessibilit

如何使用HTML5表单验证属性来验证用户输入?如何使用HTML5表单验证属性来验证用户输入?Mar 17, 2025 pm 12:27 PM

本文讨论了使用HTML5表单验证属性,例如必需的,图案,最小,最大和长度限制,以直接在浏览器中验证用户输入。

&lt; iframe&gt;的目的是什么。 标签?使用时的安全考虑是什么?&lt; iframe&gt;的目的是什么。 标签?使用时的安全考虑是什么?Mar 20, 2025 pm 06:05 PM

本文讨论了&lt; iframe&gt;将外部内容嵌入网页,其常见用途,安全风险以及诸如对象标签和API等替代方案的目的。

See all articles

热AI工具

Undresser.AI Undress

Undresser.AI Undress

人工智能驱动的应用程序,用于创建逼真的裸体照片

AI Clothes Remover

AI Clothes Remover

用于从照片中去除衣服的在线人工智能工具。

Undress AI Tool

Undress AI Tool

免费脱衣服图片

Clothoff.io

Clothoff.io

AI脱衣机

AI Hentai Generator

AI Hentai Generator

免费生成ai无尽的。

热门文章

R.E.P.O.能量晶体解释及其做什么(黄色晶体)
3 周前By尊渡假赌尊渡假赌尊渡假赌
R.E.P.O.最佳图形设置
3 周前By尊渡假赌尊渡假赌尊渡假赌
R.E.P.O.如果您听不到任何人,如何修复音频
3 周前By尊渡假赌尊渡假赌尊渡假赌
WWE 2K25:如何解锁Myrise中的所有内容
3 周前By尊渡假赌尊渡假赌尊渡假赌

热工具

WebStorm Mac版

WebStorm Mac版

好用的JavaScript开发工具

Dreamweaver Mac版

Dreamweaver Mac版

视觉化网页开发工具

安全考试浏览器

安全考试浏览器

Safe Exam Browser是一个安全的浏览器环境,用于安全地进行在线考试。该软件将任何计算机变成一个安全的工作站。它控制对任何实用工具的访问,并防止学生使用未经授权的资源。

VSCode Windows 64位 下载

VSCode Windows 64位 下载

微软推出的免费、功能强大的一款IDE编辑器

记事本++7.3.1

记事本++7.3.1

好用且免费的代码编辑器