Phone for Windows PhoneBrowser

How to limit the controlled behavior of a web browser control (spaces are visible when scrolling up and down). Please view the screenshot below.

Webbrowser control of windows phone

0
source share
1 answer

There seems to be no way to disable the "rebound in the WP7 or WP8 WebBrowser control."

But the problem you see can be fixed with a little CSS. Just apply background-colorto the BODYdocument.

<!DOCTYPE html>
<html>
<head>
    <title></title>
    <style type="text/css">
        body {background: black}
        #content {background: black}
        p {color:white}
    </style>
</head>
<body>

<div id="content">
    <p>Item 1</p>
    <p>Item 2</p>
    <p>Item 3</p>
</div>

</body>
</html>
+1
source

All Articles