CSS布局 刷新问题
给公司弄网站,,很久没碰代码这些了。在这个页面(http://www.dayusw.com/?list-1512.html),IE9刚刚进入布局正常,但刷新几次之后就不正常,继续刷新又不正常,继续刷新又正常, 如此循环,这是怎么回事?望各位帮忙一下。。回复讨论(解决方案)
这是CSS
/*案例图片列表*/.art_list { padding-top:30px; padding-left:0px; }.art_list ul {list-style:none; padding:0px; margin:0; }.art_list ul li{ float:left; padding-left:20px;padding-bottom:20px; }.art_list ul li .pic2{ background:url(cp_bog.png) no-repeat; padding-top:5px; padding-left:5px; width:190px; height:132px; }.art_list ul li .pic2 img{ width:170px; height:122px;}.art_list ul li .pic2 img:hover{width:168px; height:120px; border:#DDDDDD solid 1px}.art_list ul li .title2{ width:160px; text-align:center; padding:10px; }.art_list ul li .title2 a{ font-size:14px }.art_list ul li .title2 span.jg{ float:right; color:#FF3300}/*案例图片列表结束*/
这个是一个模板里面的代码
<!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><title>{$GetClassName}-{$GetSiteTitle}</title><meta content="text/html; charset=gb2312" http-equiv=Content-Type><meta content="{$GetClass_Meta_KeyWord}" name="keywords" /><meta content="{$GetClass_Meta_Description}" name="Description" /><link href="{$GetInstallDir}img/index.css" type=text/css rel=stylesheet><script src="{$GetInstallDir}ks_inc/common.js" type="text/javascript"></script><script type="text/javascript" src="{$GetInstallDir}img/jquery-1.4.2.min.js"></script><script type="text/javascript" src="{$GetInstallDir}img/swfobject.js"></script><SCRIPT type=text/javascript> var params = {}; params.allowscriptaccess = "always"; params.allownetworking = "all"; params.wmode = "transparent"; var attributes = {}; attributes.id = "bar_swf"; attributes.wmode = "transparent"; swfobject.embedSWF("{$GetInstallDir}img/bar_swf.swf", "bar_swf", "1000", "200", "9", '', params,attributes);</SCRIPT></head><body>{LB_头部通用}<div class="main"> <div class="wart"> <div><div id="bar_swf"></div></div> <table width="100%" border="0" cellspacing="0" cellpadding="0" class="art_main"> <tr> <td width="220" height="500" valign="top" class="left_bg" > <div class="dhbt2"></div> <div class="dhbt"></div> <div class="left_m"> {LB_栏目导航} </div> </td> <td width="20"></td> <td valign="top"> <div class="pageurl"><span class="url">{LB_位置导航}</span></div> <div class="art_list_title">{$GetClassName}</div> <div class="art_list"> <div class="list_pic">{LB_穿插图片}</div> <br/><div class="clr"></div>{LB_终级文章列表} </div> <div style="height:50px;"></div> </td> </tr> </table> </div></div>{LB_底部通用}</body></html>
清一下缓存看看
清一下缓存看看 我的IE设置为关闭后自动清除。但问题依旧。难道是兼容性问题?目前使用WIN7 64位,IE9和遨游4.1
刚也用IE9测试一下你说的那个页面,没有你说的那个问题。
另外值得一提的是,IE如果连续刷新,两次刷新间隔较短的话,都会有你说的那种情况,任何一个网站都会有,你随便找个网站,不停的按F5你会发现有这个问题。
刚也用IE9测试一下你说的那个页面,没有你说的那个问题。
另外值得一提的是,IE如果连续刷新,两次刷新间隔较短的话,都会有你说的那种情况,任何一个网站都会有,你随便找个网站,不停的按F5你会发现有这个问题。 好的,,谢谢咯哦。。。

HTML、CSS和JavaScript在網頁開發中的作用分別是:1.HTML用於構建網頁結構;2.CSS用於美化網頁外觀;3.JavaScript用於實現動態交互。通過標籤、樣式和腳本,這三者共同構築了現代網頁的核心功能。

設置標籤的lang屬性是優化網頁可訪問性和SEO的關鍵步驟。 1)在標籤中設置lang屬性,如。 2)在多語言內容中,為不同語言部分設置lang屬性,如。 3)使用符合ISO639-1標準的語言代碼,如"en"、"fr"、"zh"等。正確設置lang屬性可以提高網頁的可訪問性和搜索引擎排名。

htmlattributeseresene forenhancingwebelements'functionalityandAppearance.TheyAdDinformationTodeFineBehavior,外觀和互動,使網站互動,響應式,visalalyAppealing.AttributesLikutesLikeSlikEslikesrc,href,href,href,類,類型,類型,和dissabledtransfransformformformformformformformformformformformformformformforment

toCreateAlistInHtml,useforforunordedlistsandfororderedlists:1)forunorderedlists,wrapitemsinanduseforeachItem,RenderingeringAsabulletedList.2)fororderedlists,useandfornumberedlists,useandfornumberedlists,casundfornumberedlists,casundfornthetthetthetthetthetthetthetttributefordforderfordforderforderentnumberingsnumberingsnumberingStys。

HTML用於構建結構清晰的網站。 1)使用標籤如、、定義網站結構。 2)示例展示了博客和電商網站的結構。 3)避免常見錯誤如標籤嵌套不正確。 4)優化性能通過減少HTTP請求和使用語義化標籤。

toinsertanimageIntoanhtmlpage,usethetagwithsrcandaltattributes.1)usealttextforAcccessibilityandseo.2)instementRcsetForresponSiveImages.3)applylazyloadingWithLoadingWithLoading =“ lazy” tooptimizeperformance.4)tooptimizeperformance.4)

HTML的核心目的在於讓瀏覽器理解並展示網頁內容。 1.HTML通過標籤定義網頁結構和內容,如、到、等。 2.HTML5增強了多媒體支持,引入了和標籤。 3.HTML提供了表單元素,支持用戶交互。 4.優化HTML代碼可提升網頁性能,如減少HTTP請求和壓縮HTML。

htmltagsareessentialforwebdevelopmentastheyandendenhancewebpages.1)semantictagsimproveaccessibilityandseo.2)semanteLayOut,語義和互動性。 3)poseriblesibilityandseoandseo.3)poseriblesoftagscanoftagscanoftagscanoptagscanoptimizeperefeneandimizeanDenSuroceRecRoscRoss-BrowserCrowserCercerComercompatibility。


熱AI工具

Undresser.AI Undress
人工智慧驅動的應用程序,用於創建逼真的裸體照片

AI Clothes Remover
用於從照片中去除衣服的線上人工智慧工具。

Undress AI Tool
免費脫衣圖片

Clothoff.io
AI脫衣器

Video Face Swap
使用我們完全免費的人工智慧換臉工具,輕鬆在任何影片中換臉!

熱門文章

熱工具

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

VSCode Windows 64位元 下載
微軟推出的免費、功能強大的一款IDE編輯器

SAP NetWeaver Server Adapter for Eclipse
將Eclipse與SAP NetWeaver應用伺服器整合。

SublimeText3漢化版
中文版,非常好用

MantisBT
Mantis是一個易於部署的基於Web的缺陷追蹤工具,用於幫助產品缺陷追蹤。它需要PHP、MySQL和一個Web伺服器。請查看我們的演示和託管服務。