我是一名開發人員,但現在我需要修復一個css錯誤。 我有一個角度的應用程序。頁腳中有一些通用鏈接。但他們不再可點擊。爲什麼沒有CSS腳註鏈接工作?
這裏是我的html代碼
<!doctype html>
<html lang="en" ng-app="example">
<head>
<meta charset="UTF-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Globalization Resource Center</title>
<link rel="stylesheet" type="text/css" href="./style.css"/>
<body>
<div id="content">
<div class="container-fluid">
<div class="row-fluid" ng-view></div>
</div>
</div>
<div id="footer">
Copyright Text goes here.
<a onclick="window.open(this.href);return false;" href="http://www.google.com" title="Privacy Policy"> Example Link</a> |
<a href="mailto:[email protected]" title="Contact Us">Contact Us</a>
</div>
</body>
</html>
這裏是style.css中
#content {
position: relative;
width: 100%;
height: auto !important;
min-height: 100%;
padding-bottom: 54px;
margin: 0 auto -54px;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
-ms-box-sizing: border-box;
-o-box-sizing: border-box;
box-sizing: border-box;
}
.container-fluid {
padding-right: 20px;
padding-left: 20px;
*zoom: 1;
}
.row-fluid {
width: 100%;
*zoom: 1;
}
#footer {
height: 54px;
margin: 0 auto;
}
我剝離下來的代碼,並把它放在plunker在: http://plnkr.co/edit/Upvm5A7ksGT3mzXIcXTp
「A」標籤不支持onclick。 –