我有android應用程序加載webView。 在webview上我有複選框,但不能改變大小。如何更改複選框webview android
input[type="checkbox"]
{
width: 25px;
height: 25px;
}
屏幕 http://postimg.org/image/l9lg35czj/
改變大小
input[type="checkbox"]
{
width: 250px;
height: 250px;
}
http://postimg.org/image/v96ow0otv/
爲什麼的WebView沒有改變大小,(如果我看上去與瀏覽器複選框大小此頁進行更改)?
全碼
<html>
<head>
<style>
.single_user
{
width:100%;
height:120px;
border: black;
background:#E5E5E5;
margin-bottom: 10px;
}
.user_image
{
padding-left: 10px;
padding-top: 10px;
}
h1
{
display: inline-block;
}
input[type="checkbox"]
{
width: 25px;
height: 25px;
}
</style>
<meta name="viewport" content="width=device-width, target-densitydpi=device-dpi, user-scalable=no"/>
</head>
<body>
<div class="single_user">
<img class="user_image" src="statimg/profileicon.png"/>
<h1> Vahagn Vard2anyan <br />
[email protected]</h1>
<input type="checkbox" style="width: 100%; height:100%;"/>
</div>
<div class="single_user">
</div>
</body>
</html>
這是正確的看着我。 你可以在這裏發佈完整的代碼嗎? 它也取決於Android的設備和操作系統版本。 在哪個設備上破壞你的應用程序和在哪個Android操作系統? – 2014-10-29 05:53:23