搜尋
首頁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;和前

視口元標籤是什麼?為什麼對響應式設計很重要?視口元標籤是什麼?為什麼對響應式設計很重要?Mar 20, 2025 pm 05:56 PM

本文討論了視口元標籤,這對於移動設備上的響應式Web設計至關重要。它解釋瞭如何正確使用確保最佳的內容縮放和用戶交互,而濫用可能會導致設計和可訪問性問題。

如何使用HTML5表單驗證屬性來驗證用戶輸入?如何使用HTML5表單驗證屬性來驗證用戶輸入?Mar 17, 2025 pm 12:27 PM

本文討論了使用HTML5表單驗證屬性,例如必需的,圖案,最小,最大和長度限制,以直接在瀏覽器中驗證用戶輸入。

我如何使用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:20 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尊渡假赌尊渡假赌尊渡假赌

熱工具

mPDF

mPDF

mPDF是一個PHP庫,可以從UTF-8編碼的HTML產生PDF檔案。原作者Ian Back編寫mPDF以從他的網站上「即時」輸出PDF文件,並處理不同的語言。與原始腳本如HTML2FPDF相比,它的速度較慢,並且在使用Unicode字體時產生的檔案較大,但支援CSS樣式等,並進行了大量增強。支援幾乎所有語言,包括RTL(阿拉伯語和希伯來語)和CJK(中日韓)。支援嵌套的區塊級元素(如P、DIV),

SublimeText3 英文版

SublimeText3 英文版

推薦:為Win版本,支援程式碼提示!

MinGW - Minimalist GNU for Windows

MinGW - Minimalist GNU for Windows

這個專案正在遷移到osdn.net/projects/mingw的過程中,你可以繼續在那裡關注我們。 MinGW:GNU編譯器集合(GCC)的本機Windows移植版本,可自由分發的導入函式庫和用於建置本機Windows應用程式的頭檔;包括對MSVC執行時間的擴展,以支援C99功能。 MinGW的所有軟體都可以在64位元Windows平台上運作。

ZendStudio 13.5.1 Mac

ZendStudio 13.5.1 Mac

強大的PHP整合開發環境

禪工作室 13.0.1

禪工作室 13.0.1

強大的PHP整合開發環境