msr79526
(SR Official)
December 8, 2019, 7:04am
#1
Hello guys i want to create this site as mobile view
. https://itcreaator.000webhostapp.com/Posttech/post2.html
But i can’t.the result are showing like that
I used webview component & ki04 webview extention also.but same result.any way to show in mobile view.
Boban
(Boban Stojmenovic)
December 8, 2019, 11:33am
#2
use this tag in your html file, after < html> tag
< meta name=“viewport” content=“width=device-width, initial-scale=1.0”>
Delete the space between “<” and “meta” and tell us if it worked
<html>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
or
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=0">
or
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=360, initial-scale=1, maximum-scale=1.0, user-scalable=0">
<title></title>
</head>
2 Likes
msr79526
(SR Official)
December 8, 2019, 11:45am
#3
Tnx.i didn’t test yet but i think it will be worked
Boban
(Boban Stojmenovic)
December 8, 2019, 12:08pm
#5
What I can see, you haven’t changed anything in the source file of post2.html
msr79526
(SR Official)
December 8, 2019, 12:10pm
#6
Boban
(Boban Stojmenovic)
December 8, 2019, 12:14pm
#7
Sorry it was copy paste mistake from me
<html>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
2 Likes
msr79526
(SR Official)
December 8, 2019, 12:18pm
#8
Now it’s working thanks a lot to support me.i am making an news app right now.tnx for contribution.
2 Likes
system
(system)
Closed
January 7, 2020, 12:21pm
#10
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.