From 0be6ab10126729155939e0ac4cf0b091e9f1645b Mon Sep 17 00:00:00 2001 From: PattyToland Date: Fri, 15 Oct 2010 21:35:35 -0400 Subject: [PATCH] edit --- docs/buttons/buttons-grouped.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/buttons/buttons-grouped.html b/docs/buttons/buttons-grouped.html index c989c099..30ec3855 100755 --- a/docs/buttons/buttons-grouped.html +++ b/docs/buttons/buttons-grouped.html @@ -15,7 +15,7 @@
-

Occasionally, you may want to visually group a set of buttons together to form a single block that looks contained like a navigation component. To get this effect, wrap a set of buttons in a container with the data-role="controlgroup" attribute — the framework will create a vertical button group, remove all margins and drop shadows between the buttons, and only round the first and last buttons of the set to create the effect that they are group together.

+

Occasionally, you may want to visually group a set of buttons together to form a single block that looks contained like a navigation component. To get this effect, wrap a set of buttons in a container with the data-role="controlgroup" attribute — the framework will create a vertical button group, remove all margins and drop shadows between the buttons, and only round the first and last buttons of the set to create the effect that they are grouped together.


 <div data-role="controlgroup">
 <a href="index.html" data-role="button">Yes</a>
@@ -32,7 +32,7 @@
 			Maybe
 		
-

By adding the data-type="horizontal" attribute to the control group container, you can swap this to a horizontal style group that floats the buttons side-by-side and sets the width to only be large enough to fit the content. Be aware that these will wrap to multiple lines if the number of buttons or the overall text length is too wide for the screen. +

By adding the data-type="horizontal" attribute to the controlgroup container, you can swap to a horizontal-style group that floats the buttons side-by-side and sets the width to only be large enough to fit the content. (Be aware that these will wrap to multiple lines if the number of buttons or the overall text length is too wide for the screen.)

Horizontal grouped buttons