Skip to content

Commit 2ea2f45

Browse files
committed
Mobile: Updated content div to 1.4+ style
Fixes jquerygh-682 Closes jquerygh-683
1 parent db38093 commit 2ea2f45

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

page/jquery-mobile/getting-started.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ To get started, you can simply paste the template below in your favorite text ed
1111

1212
In the `<head>` of this template, a meta `viewport` tag sets the screen width to the pixel width of the device. References to jQuery, jQuery Mobile, and the mobile theme stylesheet from the CDN add all the styles and scripts. jQuery Mobile 1.4 works with versions of jQuery core 1.8 and newer.
1313

14-
In the `<body>`, a div with a `data-role` of `page` is the wrapper used to delineate a page. A header bar (`data-role="header"`), a content region (`data-role="content"`) and a footer bar (`data-role="footer"`) are added inside to create a basic page (all three are optional). These `data-` attributes are HTML5 attributes used throughout jQuery Mobile to transform basic markup into an enhanced and styled widget.
14+
In the `<body>`, a div with a `data-role` of `page` is the wrapper used to delineate a page. A header bar (`data-role="header"`), a content region (`class="ui-content"`) and a footer bar (`data-role="footer"`) are added inside to create a basic page (all three are optional). These `data-` attributes are HTML5 attributes used throughout jQuery Mobile to transform basic markup into an enhanced and styled widget.
1515

1616
```
1717
<!doctype html>
@@ -30,7 +30,7 @@ In the `<body>`, a div with a `data-role` of `page` is the wrapper used to delin
3030
<h1>My Title</h1>
3131
</div><!-- /header -->
3232
33-
<div data-role="content">
33+
<div class="ui-content">
3434
<p>Hello world</p>
3535
</div><!-- /content -->
3636

0 commit comments

Comments
 (0)