0
如果你在mozilla或chrome上查看它,包裝在屏幕上居中並且沒有「sizset和sizcache」屬性ie9- ie8- ie7放置它,它也沒有以IE爲中心我認爲,由於這個錯誤,任何人都知道這有什麼問題?Sizset sizcache在互聯網瀏覽器bug
謝謝
如果你在mozilla或chrome上查看它,包裝在屏幕上居中並且沒有「sizset和sizcache」屬性ie9- ie8- ie7放置它,它也沒有以IE爲中心我認爲,由於這個錯誤,任何人都知道這有什麼問題?Sizset sizcache在互聯網瀏覽器bug
謝謝
你沒有指定任何文檔類型,那麼你的網頁是在IE怪癖模式。
添加此行的文件的第一行:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
編輯:
嗯,我剛纔看到你有一個HTML5 DOCTYPE,但之前有一個<link>
標籤。移動該標籤在<head>
部分:
<!doctype html>
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7" lang="en"> <![endif]-->
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8" lang="en"> <![endif]-->
<!--[if IE 8]> <html class="no-js lt-ie9" lang="en"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang="en"> <!--<![endif]-->
<head>
(...)
<link rel="stylesheet" type="text/css" href="http://www.dharanandayoga.com/wp-content/themes/dharananda/admin.css" >
確定,添加它,但它看起來它didn't改變什麼 – codek
見我的編輯,我錯了閱讀你的代碼。 – zessx
該鏈接不在header.php中,我無法找到它在哪裏,但是您認爲IE爲什麼不會將封裝中心放在中間?我的意思是,它指向一個admin.css而不是style.css – codek