1. Geoff_Olding's Avatar
    Hello there

    I am unable to get the WebBrowser control to display a simple table correctly in the Windows Phone 8 emulator.

    I am calling NavigateToString() with a string containing the following:

    <table width=\"100%\">
    <td>First Line left hand column</td><td>Right</td>
    <td>Second Line left hand column</td><td>Right</td>

    The data in the 2nd column is displayed in a much smaller font.

    What is it doing? Is there any way to get this control to display the HTML correctly, or at least more sensibly?
    12-30-2013 04:38 AM
  2. DBDev's Avatar
    [CODE] It will be easier for people to read this if you put it in code-tags[/CODE]
    12-30-2013 07:02 AM
  3. Catholic Tech Geek's Avatar
    It's been documented before that the navigateToString() function for the web browser control in windows phone 8 is messed up (WebBrowser.NavigateToString Broken in Windows Phone 8 and also affects Windows Phone 7 apps €“ Solution Included - Mikael Koskinen). Right now, all you can really do if you are dead set on keeping the table code is to wait for a fix in the next windows phone update. Otherwise, I would suggest that you try using (nested) div tags and some css to emulate a table. Besides, the width attribute you are using in the table tag is deprecated (according to HTML5 standards).

    If you are dead set on keeping the table code, then you could also experiment with a javascript function that will write it out to the page. For that, you might or might not have to use the invokeScript() function of the web browser control to execute the javascript function.
    01-01-2014 02:15 PM
  4. pengrath's Avatar
    You can solve this problem by using css and applying a zoom to all tables.
    04-17-2014 02:11 PM

Similar Threads

  1. Strange display issue with colors and responsiveness
    By Philipp Christoph in forum Windows Phones
    Replies: 8
    Last Post: 10-06-2015, 04:41 PM
  2. Why 1520 doesn't have 60/120 FPS video recording ?
    By sajith930 in forum Windows Phones
    Replies: 2
    Last Post: 06-08-2014, 11:37 AM
  3. WON't display images I send by email from my Mac
    By Douglas Kelban in forum Windows Phones
    Replies: 4
    Last Post: 12-29-2013, 11:01 PM
  4. Steam browser cookies doesn't work.
    By Marco Arrichiello in forum Other Operating Systems
    Replies: 3
    Last Post: 12-29-2013, 03:16 PM
  5. Display Burn In on Lumia 928
    By Donald Burr in forum Windows Phones
    Replies: 3
    Last Post: 12-29-2013, 03:05 PM