Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint

Viewport

In Internet Explorer Mobile, the viewport is a rectangular region that controls where text will wrap on a page. At the time of this writing, only three properties are supported for the viewport: height, width, and user-scalable. The height and width properties control the height and the width of the viewport accordingly, with values ranging between 480 and 10,000 for the height and between 320 and 10,000 for the width. The user-scalable property controls whether a user can zoom in and out within the content of the viewport. (Basically, this setting controls whether a user can zoom into the content shown inside the WebBrowser control.) This property has two possible values: yes and no. The default (and recommended) setting for this property is yes. You set the properties of the viewport inside the meta tag, as shown in the example in the next section.


  

You are currently reading a PREVIEW of this book.

                                                                                        

Get instant access to over
$1 million worth of books and videos.

  

Start a Free Trial


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint