content edits

This commit is contained in:
PattyToland 2010-10-15 17:34:00 -04:00
parent 6c926ba92c
commit 4846215cd8
2 changed files with 5 additions and 2 deletions

View file

@ -15,6 +15,9 @@
</div><!-- /header -->
<div data-role="content">
<p>Buttons that are used for navigation should be coded as anchor links, and those that submit forms as <code>button</code> elements &mdash; each will be styled identically by the framework.</p>
<h2>Styling links as buttons</h2>
<p>In the main content block of a page, you can style any anchor link as a button by adding the <code>data-role="button"</code> to the link. The framework will add all necessary classes to style the link as a button. For example, this markup: </p>

View file

@ -15,10 +15,10 @@
</div><!-- /header -->
<div data-role="content">
<p>Buttons are core widgets in jQuery Mobile, and are used within a wide range of other plugins. Buttons that are used for navigation should be coded as anchor links, and those that submit forms as <code>button</code> elements &mdash; each will be styled identically by the framework.</p>
<p>Buttons are core widgets in jQuery Mobile, and are used within a wide range of other plugins.</p>
<ul data-role="listview" data-inset="true">
<li><a href="buttons-types.html">Button markup</a></li>
<li><a href="buttons-types.html">Button markup options</a></li>
<li><a href="buttons-icons.html">Button icons</a></li>
<li><a href="buttons-inline.html">Inline buttons</a></li>
<li><a href="buttons-grouped.html">Grouped buttons</a></li>