0
我目前正在整合我的網站上的登錄/註冊系統。我將我的css表單集成到註冊系統的「標題」中。除了一個小問題外,一切工作都正常。CSS緩存問題
每次我使用crtl f5清除緩存並刷新時,頁面在css顯示前幾秒鐘內都不顯示任何css,並且一切都很好。它看起來很俗氣。
我的問題網頁是這一個,所以你可以看到我在談論自己 http://govpal.ca/register.php
<div id="main-wrapper">
<div id="main" class="container">
<div class="row">
<div class="12u">
<div class="content">
<!DOCTYPE html>
<!--[if IE 8 ]><html class="ie ie8" lang="en"> <![endif]-->
<!--[if (gte IE 9)|!(IE)]><!-->
<html>
<head>
<title>GovPal | MyAccount</title>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<meta name="description" content="" />
<meta name="keywords" content="" />
<!--[if lte IE 8]><script src="/css/ie/html5shiv.js"></script><![endif]-->
<script src="/js/jquery.min.js"></script>
<script src="/js/jquery.dropotron.min.js"></script>
<script src="/js/skel.min.js"></script>
<script src="/js/skel-layers.min.js"></script>
<script src="/js/init.js"></script>
<noscript>
<link rel="stylesheet" href="/css/skel.css" />
<link rel="stylesheet" href="/css/style.css" />
<link rel="stylesheet" href="/css/style-desktop.css" />
</noscript>
<!--[if lte IE 8]><link rel="stylesheet" href="/css/ie/v8.css" /><![endif]-->
</head>
<body class="homepage">
我應該完全廢棄的頭文件,並直接把CSS到德註冊頁面?
任何幫助將不勝感激
1. HTML標記之外不應該有一個div。 2.你的樣式表不應該在noscript標籤中。 3.標籤標籤不應出現在身體標籤之外。你的文檔不完整。 5. etc等等等等6. [使用W3C驗證器](http://validator.w3.org/check?uri=http%3A%2F%2Fgovpal.ca%2Fregister.php&charset=%28detect+automatically%29&doctype = Inline&group = 0),你得到的錯誤越多,頁面渲染的時間就越長,渲染錯誤的可能性就越大。 – Sammitch 2014-10-02 23:44:15