Jquery mobile app not appear well on desktop browsers

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • simon2x1
    New Member
    • Dec 2008
    • 123

    Jquery mobile app not appear well on desktop browsers

    below is my simple jquery mobile code, whenever i want to view it with HTML 5 capable desktop browser like safari 5.1.2 and firefox 9 it does not display well, it only show the text(page title etc) alone no colour no arrangement just white background how can i fix this and any suggestion on how to view the jquery mobile app.

    Code:
        <!DOCTYPE html>
    <html>
        <head>
        <title>Home</title>
        <link rel="stylesheet" href="css/jquery.mobile-1.0a1.min.css" />
        <script src="js/jquery-1.4.3.min.js"></script>
        <script src="js/jquery.mobile-1.0a1.min.js"></script>
    </head>
    <body>
     
    <div data-role="page">
     
        <div data-role="header">
            <h1>Page Title</h1>
        </div>
     
        <div data-role="content">
            <p>Page content goes here.</p>
        </div>
     
        <div data-role="footer">
            <h4>Page Footer</h4>
        </div>
    </div>
     
    </body>
    </html>
  • Rabbit
    Recognized Expert MVP
    • Jan 2007
    • 12517

    #2
    It's most likely caused by the style sheet. You should take a look at that.

    Comment

    Working...