Is there a way to make a collapsible element/set in jQuery Mobile not inset? By default it makes the collapsible element as an inset item.
data-inset="false" does not alter the behavior.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
If you give the
margin-leftandmargin-rightproperties a negative value you can expand the collapsible content to the width of the page.The default
margin-topandmargin-bottomvalues for a collapsible are8pxso we can write a CSS rule for this:I chose
-15pxbecause that is the negative amount ofpaddingthat thedata-role="content"element adds to each page.Here is a jsfiddle to view what this does: http://jsfiddle.net/jasper/zSvqU/