Ana*_*nt 12 css jquery internet-explorer load
IE(7和8)是否存在已知问题,其中jquery .load()无法正常运行?我的CSS没有加载到页面上.这是我的代码:
这是正在加载的文件(show_profile.php):
<!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>
<link rel="stylesheet" script="text/css" href="profile.css" />
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Untitled Document</title>
</head>
<body>
<div id="tabs"><div id="cd" class="tab_active">Contact Details</div>
</div>
</body>
</html>
Run Code Online (Sandbox Code Playgroud)
这是profile.css的代码
#tabs {
color:white;
font-family:Verdana;
font-size:14px;
}
#cd{
position:absolute;
left:0px;
top:0px;
background-color:#3172A6;
}
.tab {
position:absolute;
top:0px;
}
.tab_active {
position:absolute;
top:0px;
}
Run Code Online (Sandbox Code Playgroud)
在独立查看文件show_profile.php时,包括CSS在内的所有内容都没问题,但是当我使用.load()时它就无法正常工作
请帮忙 :(
| 归档时间: |
|
| 查看次数: |
3081 次 |
| 最近记录: |