此圖顯示輸入類型=文本不會由統一庫設計。 Jquery uniform不會設計輸入類型=文本元素
這裏是代碼:
<html>
<head>
<meta charset="utf-8" />
<title>Log On</title>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7/jquery.min.js" type="text/javascript"></script>
<script src="/Scripts/jquery.uniform.min.js" type="text/javascript"></script>
<link href="/Content/JqueryUniform/Aristo/css/uniform.aristo.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" charset="utf-8">
$(document).ready(function() {
$("input, textarea, select, button").uniform();
});
</script>
</head>
<body>
<form action="/Affiliates/LogOn" method="post"> <div id="login">
<div class="editor-label">
<label>User Name</label>
</div>
<div class="editor-field">
<input style="width:90%" type="text" name="UserName" id="UserName" />
<br /><br />
</div>
<div class="editor-label">
<label>Password</label>
</div>
<div class="editor-field">
<input style="width:90%" type="password" name="Password" id="Password" />
</div>
<div class="editor-label">
<label style="padding-top:3px;" >Remember Me</label>
<input type="checkbox" name="RememberMe" id="RememberMe" />
</div>
</div>
</form>
</body>
謝謝,它不工作。甚至沒有經常輸入 – SexyMF 2012-04-14 20:40:02