From 4846215cd8cedf3d0632c69c47f2a1347fde2d87 Mon Sep 17 00:00:00 2001 From: PattyToland Date: Fri, 15 Oct 2010 17:34:00 -0400 Subject: [PATCH] content edits --- docs/buttons/buttons-types.html | 3 +++ docs/buttons/index.html | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/docs/buttons/buttons-types.html b/docs/buttons/buttons-types.html index 4e641ece..d30353a1 100755 --- a/docs/buttons/buttons-types.html +++ b/docs/buttons/buttons-types.html @@ -15,6 +15,9 @@
+ +

Buttons that are used for navigation should be coded as anchor links, and those that submit forms as button elements — each will be styled identically by the framework.

+

Styling links as buttons

In the main content block of a page, you can style any anchor link as a button by adding the data-role="button" to the link. The framework will add all necessary classes to style the link as a button. For example, this markup:

diff --git a/docs/buttons/index.html b/docs/buttons/index.html index 0ab356bb..a6506637 100755 --- a/docs/buttons/index.html +++ b/docs/buttons/index.html @@ -15,10 +15,10 @@
-

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 button elements — each will be styled identically by the framework.

+

Buttons are core widgets in jQuery Mobile, and are used within a wide range of other plugins.