Jquery mobile textarea full width problem
Hi. I'm making some app with jquery mobile and everything with the design goes well for now, but at the bottom i have to put textarea, but the textarea dont fullfil all 100% from the screen it only a half screen. I'm trying with css or jquery to change the width but it's stuck. Please anyone help.
Also to be clear, the design is: one header on top, two column layout for buttons and input fields on left and right. after that full width two buttons and on the bottom its need to be full width text area.
Here example of my code how is organize the structure of the code:
- <div data-role="page">
- <div data-role="header" data-theme="none">
- <h1 class="headerTitle">Calculate site heading</h1>
- </div><!-- /header -->
- <div data-role="content">
- <div class="ui-grid-b">
- <div class="ui-block-a">
- <label for="startPoint" class="startPoint">Start Point</label>
- <input class="latitude" name="latitude" type="text" value="Lat:" />
- <input class="longitude" name="longitude" type="text" value="Long:" />
- <input type="button" value="Current Location" data-theme="b" />
- </div>
- <div class="ui-block-b" style="float:right;">
- <label for="startPoint" class="startPoint">End Point</label>
- <input class="latitude" name="latitude" type="text" value="Lat:" />
- <input class="longitude" name="longitude" type="text" value="Long:" />
- <input class="currentLocation" type="button" value="Current Location" data-theme="b" />
- </div>
- <div class="ui-block-c"></div>
- </div>
- <input class="calculate" type="button" value="Calculate" data-theme="b" />
- <input class="reverse" type="button" value="Reverse" data-theme="b" />
- <div style="width:100%;">
- <textarea> Nice studio for renovation </textarea>
- </div>
- </div><!-- /content -->
- </div><!-- /page -->