Response title
This is preview!
- <div data-role="controlgroup" data-type="horizontal">
- <a href="index.html" data-role="button">Yes</a>
- <a href="index.html" data-role="button">No</a>
- <a href="index.html" data-role="button">Maybe</a>
- </div>
But if I wrap that chunk of code in a fieldset the buttons get styled oddly:
The problem is that the ui-corner-top class gets applied to "yes" button and the ui-corner-bottom class gets applied to the "maybe" button. The buttons don't butt up to each other nicely when this happens.
- <fieldset data-role="controlgroup">
- <div data-role="controlgroup" data-type="horizontal">
- <a href="index.html" data-role="button">Yes</a>
- <a href="index.html" data-role="button">No</a>
- <a href="index.html" data-role="button">Maybe</a>
- </div>
- </fieldset>
Here's an example of the styling that gets applied as a result of adding the fieldset:
data-rel="dialog"
). Is there a simple way to go about applying the style or do I need to manually go about it using something like Firebug to copy and paste the css? (it looks quite complicated in Firebug)data-ajax="false"
to my form element, but this didn't change anything.© 2013 jQuery Foundation
Sponsored by and others.