CSS does not style the page
in jQuery Mobile
•
10 years ago
I have the following at the head of my Jquery Mobile document:
<!-- <link rel="stylesheet" href="http://code.jquery.com/mobile/1.0b3/jquery.mobile-1.0b3.min.css" />
<script type="text/javascript" src="http://code.jquery.com/jquery-1.6.3.min.js"></script>
<script type="text/javascript" src="http://code.jquery.com/mobile/1.0b3/jquery.mobile-1.0b3.min.js"></script>
-->
<link type="text/css" rel="stylesheet" href="jqtouch/jquery_m.css" media="screen">
<script type="text/javascript" src="jqtouch/jquery.js" charset="utf-8"></script>
<script type="text/javascript" src="jqtouch/jquery-m.js" charset="utf-8"></script>
When I use the commented-out lines, the CSS styles the content beautifully. However, I want to use this in the iPod touch when there is no Internet or WiFi available. That meant copying the content from those links into files on the device. I copied the commented-out content into the files below those (as shown in the lines above).
When I run the code on the device or in the Xcode simulator the content is completely unstyled. I've checked the file linking locations again and again, and they are fine.
Is there a problem with copying/pasting the files the way I did?
1