Responsive input form, one label, two input fields

I have an multipage input form asking some medical questions, we have a responsive design.  I want to collect blood pressure information,

I have a <div><label>text</label><input for systolic><input for diastolic></div>

It looks fine on desktop and tablet, but not so good on phone.  
bp-wide.png
phone version:
bp1.png
Here is the actual code

<div class="ui-field-contain">
	<label class="p-text" for="bp_sys">$lang{common_question12}{$current_language}</label>
	<input placeholder="$lang{systolic}{$current_language}" type="number" name="bp_sys" id="bp_sys"   />
	<input title="$lang{diastolic}{$current_language}" placeholder="$lang{diastolic}{$current_language}" type="number" name="bp_dias" id="bp_dias"   />
</div>

Open in new window


Can anyone help me get a little better formatting on the phone side (just want the two fields stacked).  Our CSS skill is limited.
greglwhiteAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

bigeven2002Commented:
Hello,
Everything in the code is controlled by the frameworks.  Which frameworks are you using?  I assume it is bootstrap and jquery.  If so, which versions?  Are there any other frameworks involved?
0
greglwhiteAuthor Commented:
jquery and jquerymobile
0
bigeven2002Commented:
I was having trouble myself getting it to work on the phone.  You can try the code below but not sure if it will work or not.
        <div class="form-group">
            <div class="ui-field-contain">
                <label class="control-label col-sm-2" for="bp_sys">Enter your blood pressure</label>
                <div class="col-sm-10">
                    <input class="form-control" placeholder="Systolic (high number)" type="number" name="bp_sys" id="bp_sys"   />
                    <input class="form-control" placeholder="Diastolic (low number)" type="number" name="bp_dias" id="bp_dias"   />
                </div>
            </div>
        </div>

Open in new window

0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
greglwhiteAuthor Commented:
ok, that didn't work.  I went back to my original code and using IE Developer tools, have discovered that jquerymobile is adding an inline style to the div that it creates

<input title="$lang{diastolic}{$current_language}" placeholder="$lang{diastolic}{$current_language}" type="number" name="bp_dias" id="bp_dias"   />

Open in new window


BUT if I change the name & id to bp_dias1 it works perfectly!!!
0
bigeven2002Commented:
Ok great!  Glad you got it working.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
HTML

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.