开发者

problem in android webview

i used below content in html page

<html>
<head>
<title>Example</title>
<meta name="viewport" content="  
   width=device-width,
   height =800px,
   user-scalable=no" />
</head>
<body>
<img border="0" src="./happy_holi.jpg" alt="Pulpit rock" height="400px"  
 width="300px">image1</img>
</body>
</html>

iam displaying it in web view. my problem is, if i do changes for meta tag height and width property no changes is 开发者_开发知识库happening in web view. why?


If you want to see some changes, you should change the img height property, or maybe your webview width and height. (maybe you should post apart of xml file)

<img border="0" src="./happy_holi.jpg" alt="Pulpit rock" height="800px"    width="600px">image1</img>

The meta tag contain only informations for your bowser...

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜