c# - Web browser does not show web pages properly in Windows Phone 8 application -
i have been struggling displaying web content in web browser control on windows phone 8 application.
the actual problem web browser control not showing web page (html file) @ correct size.
here images show problem:
web page shown in windows phone 8 web browser control:
other devices android mobiles, iphone , ipod & other devices show web page this:
my html this.,
<!doctype html public "-//w3c//dtd xhtml 1.0 transitional//en" "http://www.w3.org/tr/xhtml1/dtd/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="content-type" content="text/html; charset=utf-8" /> <title>highest runs 2013</title> <link rel="stylesheet" type="text/css" href="css/orange.css"> </head> <body bgcolor="#a31947"> <div class="contenedor"> <table align="center"> <tbody> <tr> <td colspan="10" class="lista_view">highest runs 2014</td> </tr> <tr> <th class="lista_view"> </th> <th class="lista_view"> </th> <th class="lista_view"><strong> <bold>player name</bold> </strong></th> <th class="lista_view">runs*</th> <th class="lista_view">m</th> <th class="lista_view">hs</th> <th class="lista_view">100</th> <th class="lista_view">50</th> <th class="lista_view">4s</th> <th class="lista_view">6s</th> </tr> <tr><td colspan="10" class="lista_view"> </td> </tr> </tbody> </table> </div> </html>
can please me solve problem? don't know why wp8 web browser shows web page this.
i have checked in devices browsers & desktop browsers , windows phone web browser 1 problem.
note:
i have tested app nokia lumia 720 device , developing applications microsoft visual studio express 2012 windows phone sdk.
¿can show viewport meta tag? try adding it
target-densitydpi=device-dpi
each phone hace own screen resolution , pixel density need play viewport meta make looks good.
i can't more without see html code.
Comments
Post a Comment