Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

Centre Submit Button in Css

Posted on 2010-09-02
10
Medium Priority
?
243 Views
Last Modified: 2012-05-10
I am trying to centre a submit button in my css page, I have included the code below:

I dont think I am using the correct code to centre this.

Note: #btnSubmit is the identifier

Kind Regards
/* Assessments */

#btnSubmit 
{
text-align="center";
    

}

.AssessmentItems
{

}
.cssAssessmentQuestionGroup_Odd,.cssAssessmentQuestionGroup_Even
{
    border-width:1px;
    border-style:solid;
    border-color:RGB(211,227,247);
    font-family:Arial;
    font-size: 15px;
    
    table-layout: style=”table-layout: fixed; width: 800px; border:strong; margin-left: auto; margin-right: auto;
    

}
.cssAssessmentQuestionHeader
{
    font-weight:bold;
    font-size: medium;
    Font-weight:700;
}
.cssFreeText
{

}
.cssAssessmentItems
{

}

.cssAssessmentQuestionHeader
{
   background:RGB(211,227,247); line-height: 210%; padding-left: 5px
}

.cssAssessmentNotFound
{
    color:Red;
    font-weight:Bold;

Open in new window

0
Comment
Question by:bs_user
10 Comments
 
LVL 5

Expert Comment

by:vks_vicky
ID: 33584609
#btnSubmit
{
text-align="center";
   
}

This only centers the text inside the button.

If you want to center the button, just use align="center";
0
 
LVL 14

Expert Comment

by:Daniel Junges
ID: 33584632
you have to use align=center on the tag that owns the submit button
0
 

Author Comment

by:bs_user
ID: 33585033
I have tried the align="center";

but unfortunately is didn't work, is there an alternative I can try?

I have also tried margin-left: auto; margin-right: auto;
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 11

Expert Comment

by:Rajesh Dalmia
ID: 33585150
what's ur html code?
is the space for the button to be aligned as center...
may be you have placed the button in fixed width td where's there no space....
if you show the html code then that might help
0
 

Accepted Solution

by:
bs_user earned 0 total points
ID: 33586556
please see the code below:

The bottom of the code is where the submit button code is

 </div>
 
      <div class="cssSubmitButton">
        <input type="submit" name="btnSubmit" value="Submit" id="btnSubmit" />
      </div>
   
   
    </form>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
 
<html xmlns="http://www.w3.org/1999/xhtml"> 
<head><link href="Styles/Assessment.css" rel="stylesheet" type="text/css" /><title> 
	Assessment Page
</title></head> 
<body> 
    <form method="post" action="Assessment.aspx?ID=2" id="form1"> 
<div class="aspNetHidden"> 
<input type="hidden" name="__VIEWSTATE" id="__VIEWSTATE" value="/wEPDwUJNTE0MTA0NTMyD2QWAgIDD2QWBAIBDw8WAh4EVGV4dAUaRGVtbyBEYXZpZCAoRE9COjE0LzEvMTk4OClkZAIDDw8WAh8ABRBPeGZvcmQgSGlwIFNjb3JlZGQYAQUeX19Db250cm9sc1JlcXVpcmVQb3N0QmFja0tleV9fFnwFDnJhZGlvYnRuQUFUXzY1BQ5yYWRpb2J0bkFBVF82NQUOcmFkaW9idG5BQVRfNjYFDnJhZGlvYnRuQUFUXzY2BQ1yYWRpb2J0bkFBVF81BQ1yYWRpb2J0bkFBVF81BQ1yYWRpb2J0bkFBVF82BQ1yYWRpb2J0bkFBVF82BQ1yYWRpb2J0bkFBVF83BQ1yYWRpb2J0bkFBVF83BQ1yYWRpb2J0bkFBVF84BQ1yYWRpb2J0bkFBVF84BQ1yYWRpb2J0bkFBVF85BQ1yYWRpb2J0bkFBVF85BQ5yYWRpb2J0bkFBVF8xMAUOcmFkaW9idG5BQVRfMTAFDnJhZGlvYnRuQUFUXzExBQ5yYWRpb2J0bkFBVF8xMQUOcmFkaW9idG5BQVRfMTIFDnJhZGlvYnRuQUFUXzEyBQ5yYWRpb2J0bkFBVF8xMwUOcmFkaW9idG5BQVRfMTMFDnJhZGlvYnRuQUFUXzE0BQ5yYWRpb2J0bkFBVF8xNAUOcmFkaW9idG5BQVRfMTUFDnJhZGlvYnRuQUFUXzE1BQ5yYWRpb2J0bkFBVF8xNgUOcmFkaW9idG5BQVRfMT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JiMt5keE0MGaFjfhbHx1Oiowhk6Q==" /> 
</div> 
 
<div class="aspNetHidden"> 
 
	<input type="hidden" name="__EVENTVALIDATION" id="__EVENTVALIDATION" value="/wEWQAK2vOaFBgKG2abUAQKG2arUAQKB2a6wCAKG2a6wCAKH2a6wCAKU2a6wCAKV2a6wCAKd2fqaBwKd2f6aBwKd2fKaBwKd2faaBwKd2YqaBwKd2eLFDwKd2e7FDwKd2erFDwKd2bbFDwKd2bLFDwKC2aKgBgKC2aagBgKC2aqgBgKC2a6gBgKC2dKgBgKC2cqLDQKC2caLDQKC2cKLDQKC2Z6LDQKC2ZqLDQKD2cr3BQKD2c73BQKD2cL3BQKD2cb3BQKD2br3BQKD2dKPBwKD2d6PBwKD2dqPBwKD2YaPBwKD2YKPBwKA2bLqDwKA2bbqDwKA2brqDwKA2b7qDwKA2cLqDwKq3I2RBAKq3IGRBAKq3IWRBAKq3NmRBAKq3N2RBAKo3PmRBAKo3P2RBAKo3PGRBAKo3PWRBAKo3ImRBAKl3I2RBAKl3IGRBAKl3IWRBAKl3NmRBAKl3N2RBAKt3PmRBAKt3P2RBAKt3PGRBAKt3PWRBAKt3ImRBALCi9reA09D0ObMD83sj77WSmVbAdY7sT8PbinwJ6F81ko7LWYo" /> 
</div> 
      <div> 
         <div id="PageBanner"></div> 
           <div id="PatientInfoID"> 
              <span id="labelPatInfo">Demo David (DOB:14/1/1988)</span> 
           </div> 
           <div id="AssessmentNameID"> 
              <span id="labelAssessmentName">Oxford Hip Score</span> 
           </div> 
         <div id="AssessmentItems"><div class="cssAssessmentQuestionGroup_Odd" id="AQTOrder_1"><div class="cssAssessmentQuestionHeader" id="AQTHeader_2"><span>Which leg has been operated on?</span></div><div class="cssAnswerGroup" id="AATGroup_2"><div class="cssRadionButton"><input id="radiobtnAAT_65" type="radio" name="Set1" value="radiobtnAAT_65" /><label for="radiobtnAAT_65">Left</label></div><div class="cssRadionButton"><input id="radiobtnAAT_66" type="radio" name="Set1" value="radiobtnAAT_66" /><label for="radiobtnAAT_66">Right</label></div></div></div><div class="cssAssessmentQuestionGroup_Even" id="AQTOrder_2"><div class="cssAssessmentQuestionHeader" id="AQTHeader_3"><span>Describe the pain you usually had from your hip</span></div><div class="cssAnswerGroup" id="AATGroup_3"><div class="cssRadionButton"><input id="radiobtnAAT_5" type="radio" name="Set2" value="radiobtnAAT_5" /><label for="radiobtnAAT_5">None</label></div><div class="cssRadionButton"><input id="radiobtnAAT_6" type="radio" name="Set2" value="radiobtnAAT_6" /><label for="radiobtnAAT_6">Very Mild</label></div><div class="cssRadionButton"><input id="radiobtnAAT_7" type="radio" name="Set2" value="radiobtnAAT_7" /><label for="radiobtnAAT_7">Mild</label></div><div class="cssRadionButton"><input id="radiobtnAAT_8" type="radio" name="Set2" value="radiobtnAAT_8" /><label for="radiobtnAAT_8">Moderate</label></div><div class="cssRadionButton"><input id="radiobtnAAT_9" type="radio" name="Set2" value="radiobtnAAT_9" /><label for="radiobtnAAT_9">Severe</label></div></div></div><div class="cssAssessmentQuestionGroup_Odd" id="AQTOrder_3"><div class="cssAssessmentQuestionHeader" id="AQTHeader_4"><span>Have you had any trouble washing and drying yourself (all over)?</span></div><div class="cssAnswerGroup" id="AATGroup_4"><div class="cssRadionButton"><input id="radiobtnAAT_10" type="radio" name="Set3" value="radiobtnAAT_10" /><label for="radiobtnAAT_10">No</label></div><div class="cssRadionButton"><input id="radiobtnAAT_11" type="radio" name="Set3" value="radiobtnAAT_11" /><label for="radiobtnAAT_11">Very Little</label></div><div class="cssRadionButton"><input id="radiobtnAAT_12" type="radio" name="Set3" value="radiobtnAAT_12" /><label for="radiobtnAAT_12">Moderate</label></div><div class="cssRadionButton"><input id="radiobtnAAT_13" type="radio" name="Set3" value="radiobtnAAT_13" /><label for="radiobtnAAT_13">Extreme</label></div><div class="cssRadionButton"><input id="radiobtnAAT_14" type="radio" name="Set3" value="radiobtnAAT_14" /><label for="radiobtnAAT_14">Impossible</label></div></div></div><div class="cssAssessmentQuestionGroup_Even" id="AQTOrder_4"><div class="cssAssessmentQuestionHeader" id="AQTHeader_5"><span>Have you had any trouble getting in and out of a car or using public transport?</span></div><div class="cssAnswerGroup" id="AATGroup_5"><div class="cssRadionButton"><input id="radiobtnAAT_15" type="radio" name="Set4" value="radiobtnAAT_15" /><label for="radiobtnAAT_15">No</label></div><div class="cssRadionButton"><input id="radiobtnAAT_16" type="radio" name="Set4" value="radiobtnAAT_16" /><label for="radiobtnAAT_16">Very Little</label></div><div class="cssRadionButton"><input id="radiobtnAAT_17" type="radio" name="Set4" value="radiobtnAAT_17" /><label for="radiobtnAAT_17">Moderate</label></div><div class="cssRadionButton"><input id="radiobtnAAT_18" type="radio" name="Set4" value="radiobtnAAT_18" /><label for="radiobtnAAT_18">Extreme</label></div><div class="cssRadionButton"><input id="radiobtnAAT_19" type="radio" name="Set4" value="radiobtnAAT_19" /><label for="radiobtnAAT_19">Servere</label></div></div></div><div class="cssAssessmentQuestionGroup_Odd" id="AQTOrder_5"><div class="cssAssessmentQuestionHeader" id="AQTHeader_6"><span>Have you been able to put on a pair of socks, stockings or tights?</span></div><div class="cssAnswerGroup" id="AATGroup_6"><div class="cssRadionButton"><input id="radiobtnAAT_20" type="radio" name="Set5" value="radiobtnAAT_20" /><label for="radiobtnAAT_20">Easily</label></div><div class="cssRadionButton"><input id="radiobtnAAT_21" type="radio" name="Set5" value="radiobtnAAT_21" /><label for="radiobtnAAT_21">With little difficulty</label></div><div class="cssRadionButton"><input id="radiobtnAAT_22" type="radio" name="Set5" value="radiobtnAAT_22" /><label for="radiobtnAAT_22">With moderate difficulty</label></div><div class="cssRadionButton"><input id="radiobtnAAT_23" type="radio" name="Set5" value="radiobtnAAT_23" /><label for="radiobtnAAT_23">With extreme difficulty</label></div><div class="cssRadionButton"><input id="radiobtnAAT_24" type="radio" name="Set5" value="radiobtnAAT_24" /><label for="radiobtnAAT_24">No - Impossible</label></div></div></div><div class="cssAssessmentQuestionGroup_Even" id="AQTOrder_6"><div class="cssAssessmentQuestionHeader" id="AQTHeader_7"><span>Could you do household shopping on your own?</span></div><div class="cssAnswerGroup" id="AATGroup_7"><div class="cssRadionButton"><input id="radiobtnAAT_25" type="radio" name="Set6" value="radiobtnAAT_25" /><label for="radiobtnAAT_25">Easily</label></div><div class="cssRadionButton"><input id="radiobtnAAT_26" type="radio" name="Set6" value="radiobtnAAT_26" /><label for="radiobtnAAT_26">With little difficulty</label></div><div class="cssRadionButton"><input id="radiobtnAAT_27" type="radio" name="Set6" value="radiobtnAAT_27" /><label for="radiobtnAAT_27">With moderate difficulty</label></div><div class="cssRadionButton"><input id="radiobtnAAT_28" type="radio" name="Set6" value="radiobtnAAT_28" /><label for="radiobtnAAT_28">With extreme difficulty</label></div><div class="cssRadionButton"><input id="radiobtnAAT_29" type="radio" name="Set6" value="radiobtnAAT_29" /><label for="radiobtnAAT_29">No - Impossible</label></div></div></div><div class="cssAssessmentQuestionGroup_Odd" id="AQTOrder_7"><div class="cssAssessmentQuestionHeader" id="AQTHeader_8"><span>How long can you walk before the pain becomes unbearable?</span></div><div class="cssAnswerGroup" id="AATGroup_8"><div class="cssRadionButton"><input id="radiobtnAAT_30" type="radio" name="Set7" value="radiobtnAAT_30" /><label for="radiobtnAAT_30">30 minutes or more</label></div><div class="cssRadionButton"><input id="radiobtnAAT_31" type="radio" name="Set7" value="radiobtnAAT_31" /><label for="radiobtnAAT_31">16 - 30 minutes</label></div><div class="cssRadionButton"><input id="radiobtnAAT_32" type="radio" name="Set7" value="radiobtnAAT_32" /><label for="radiobtnAAT_32">5 - 15 minutes</label></div><div class="cssRadionButton"><input id="radiobtnAAT_33" type="radio" name="Set7" value="radiobtnAAT_33" /><label for="radiobtnAAT_33">Around the house only</label></div><div class="cssRadionButton"><input id="radiobtnAAT_34" type="radio" name="Set7" value="radiobtnAAT_34" /><label for="radiobtnAAT_34">Not at all</label></div></div></div><div class="cssAssessmentQuestionGroup_Even" id="AQTOrder_8"><div class="cssAssessmentQuestionHeader" id="AQTHeader_9"><span>Have you been able to climb a flight of stairs?</span></div><div class="cssAnswerGroup" id="AATGroup_9"><div class="cssRadionButton"><input id="radiobtnAAT_35" type="radio" name="Set8" value="radiobtnAAT_35" /><label for="radiobtnAAT_35">Easily</label></div><div class="cssRadionButton"><input id="radiobtnAAT_36" type="radio" name="Set8" value="radiobtnAAT_36" /><label for="radiobtnAAT_36">With little difficulty</label></div><div class="cssRadionButton"><input id="radiobtnAAT_37" type="radio" name="Set8" value="radiobtnAAT_37" /><label for="radiobtnAAT_37">With moderate difficulty</label></div><div class="cssRadionButton"><input id="radiobtnAAT_38" type="radio" name="Set8" value="radiobtnAAT_38" /><label for="radiobtnAAT_38">With extreme difficulty</label></div><div class="cssRadionButton"><input id="radiobtnAAT_39" type="radio" name="Set8" value="radiobtnAAT_39" /><label for="radiobtnAAT_39">No - Impossible</label></div></div></div><div class="cssAssessmentQuestionGroup_Odd" id="AQTOrder_9"><div class="cssAssessmentQuestionHeader" id="AQTHeader_10"><span>After a meal (sitting at a table), how painful has it been to stand up?</span></div><div class="cssAnswerGroup" id="AATGroup_10"><div class="cssRadionButton"><input id="radiobtnAAT_40" type="radio" name="Set9" value="radiobtnAAT_40" /><label for="radiobtnAAT_40">No Pain</label></div><div class="cssRadionButton"><input id="radiobtnAAT_41" type="radio" name="Set9" value="radiobtnAAT_41" /><label for="radiobtnAAT_41">Slight Pain</label></div><div class="cssRadionButton"><input id="radiobtnAAT_42" type="radio" name="Set9" value="radiobtnAAT_42" /><label for="radiobtnAAT_42">Moderate Pain</label></div><div class="cssRadionButton"><input id="radiobtnAAT_43" type="radio" name="Set9" value="radiobtnAAT_43" /><label for="radiobtnAAT_43">Extreme Pain</label></div><div class="cssRadionButton"><input id="radiobtnAAT_44" type="radio" name="Set9" value="radiobtnAAT_44" /><label for="radiobtnAAT_44">Unbearable</label></div></div></div><div class="cssAssessmentQuestionGroup_Even" id="AQTOrder_10"><div class="cssAssessmentQuestionHeader" id="AQTHeader_11"><span>Have you been limping when walking because of your joint?</span></div><div class="cssAnswerGroup" id="AATGroup_11"><div class="cssRadionButton"><input id="radiobtnAAT_45" type="radio" name="Set10" value="radiobtnAAT_45" /><label for="radiobtnAAT_45">Rarely / Never</label></div><div class="cssRadionButton"><input id="radiobtnAAT_46" type="radio" name="Set10" value="radiobtnAAT_46" /><label for="radiobtnAAT_46">Sometimes / Just at first</label></div><div class="cssRadionButton"><input id="radiobtnAAT_47" type="radio" name="Set10" value="radiobtnAAT_47" /><label for="radiobtnAAT_47">Often but not at first</label></div><div class="cssRadionButton"><input id="radiobtnAAT_48" type="radio" name="Set10" value="radiobtnAAT_48" /><label for="radiobtnAAT_48">Most of the time</label></div><div class="cssRadionButton"><input id="radiobtnAAT_49" type="radio" name="Set10" value="radiobtnAAT_49" /><label for="radiobtnAAT_49">All of the time</label></div></div></div><div class="cssAssessmentQuestionGroup_Odd" id="AQTOrder_11"><div class="cssAssessmentQuestionHeader" id="AQTHeader_12"><span>Have you had any sudden severe pain (shooting / stabbing / spasms)?</span></div><div class="cssAnswerGroup" id="AATGroup_12"><div class="cssRadionButton"><input id="radiobtnAAT_50" type="radio" name="Set11" value="radiobtnAAT_50" /><label for="radiobtnAAT_50">No - None</label></div><div class="cssRadionButton"><input id="radiobtnAAT_51" type="radio" name="Set11" value="radiobtnAAT_51" /><label for="radiobtnAAT_51">Only 1 or 2 days</label></div><div class="cssRadionButton"><input id="radiobtnAAT_52" type="radio" name="Set11" value="radiobtnAAT_52" /><label for="radiobtnAAT_52">Some days</label></div><div class="cssRadionButton"><input id="radiobtnAAT_53" type="radio" name="Set11" value="radiobtnAAT_53" /><label for="radiobtnAAT_53">Most days</label></div><div class="cssRadionButton"><input id="radiobtnAAT_54" type="radio" name="Set11" value="radiobtnAAT_54" /><label for="radiobtnAAT_54">Every day</label></div></div></div><div class="cssAssessmentQuestionGroup_Even" id="AQTOrder_12"><div class="cssAssessmentQuestionHeader" id="AQTHeader_13"><span>How much has pain interfered with usual work (inc. housework)?</span></div><div class="cssAnswerGroup" id="AATGroup_13"><div class="cssRadionButton"><input id="radiobtnAAT_55" type="radio" name="Set12" value="radiobtnAAT_55" /><label for="radiobtnAAT_55">None</label></div><div class="cssRadionButton"><input id="radiobtnAAT_56" type="radio" name="Set12" value="radiobtnAAT_56" /><label for="radiobtnAAT_56">A little</label></div><div class="cssRadionButton"><input id="radiobtnAAT_57" type="radio" name="Set12" value="radiobtnAAT_57" /><label for="radiobtnAAT_57">Moderately</label></div><div class="cssRadionButton"><input id="radiobtnAAT_58" type="radio" name="Set12" value="radiobtnAAT_58" /><label for="radiobtnAAT_58">Greatly</label></div><div class="cssRadionButton"><input id="radiobtnAAT_59" type="radio" name="Set12" value="radiobtnAAT_59" /><label for="radiobtnAAT_59">Totally</label></div></div></div><div class="cssAssessmentQuestionGroup_Odd" id="AQTOrder_13"><div class="cssAssessmentQuestionHeader" id="AQTHeader_14"><span>Have you been troubled by pain from your joint in bed at night?</span></div><div class="cssAnswerGroup" id="AATGroup_14"><div class="cssRadionButton"><input id="radiobtnAAT_60" type="radio" name="Set13" value="radiobtnAAT_60" /><label for="radiobtnAAT_60">No</label></div><div class="cssRadionButton"><input id="radiobtnAAT_61" type="radio" name="Set13" value="radiobtnAAT_61" /><label for="radiobtnAAT_61">1 or 2 nights only</label></div><div class="cssRadionButton"><input id="radiobtnAAT_62" type="radio" name="Set13" value="radiobtnAAT_62" /><label for="radiobtnAAT_62">Some nights</label></div><div class="cssRadionButton"><input id="radiobtnAAT_63" type="radio" name="Set13" value="radiobtnAAT_63" /><label for="radiobtnAAT_63">Most nights</label></div><div class="cssRadionButton"><input id="radiobtnAAT_64" type="radio" name="Set13" value="radiobtnAAT_64" /><label for="radiobtnAAT_64">Every night</label></div></div></div></div> 
      </div> 
 
      <div class="cssSubmitButton"> 
        <input type="submit" name="btnSubmit" value="Submit" id="btnSubmit" /> 
      </div> 
    
   
    </form> 
</body> 
</html>

Open in new window

0
 
LVL 12

Expert Comment

by:zappafan2k2
ID: 33586636
How about this?  It won't be perfectly centered because it doesn't account for the width of the submit button, but it will be close;
.cssSubmitButton 
{
  float: left;
  margin-left: 50%;
}

Open in new window

0
 
LVL 11

Expert Comment

by:Rajesh Dalmia
ID: 33586677
try below code....

you can put submit button style in css file...
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head><link href="Styles/Assessment.css" rel="stylesheet" type="text/css" /><title>
	Assessment Page
</title></head>
<body>
    <form method="post" action="Assessment.aspx?ID=2" id="form1">
<div class="aspNetHidden">
<input type="hidden" name="__VIEWSTATE" id="__VIEWSTATE" value="/wEPDwUJNTE0MTA0NTMyD2QWAgIDD2QWBAIBDw8WAh4EVGV4dAUaRGVtbyBEYXZpZCAoRE9COjE0LzEvMTk4OClkZAIDDw8WAh8ABRBPeGZvcmQgSGlwIFNjb3JlZGQYAQUeX19Db250cm9sc1JlcXVpcmVQb3N0QmFja0tleV9fFnwFDnJhZGlvYnRuQUFUXzY1BQ5yYWRpb2J0bkFBVF82NQUOcmFkaW9idG5BQVRfNjYFDnJhZGlvYnRuQUFUXzY2BQ1yYWRpb2J0bkFBVF81BQ1yYWRpb2J0bkFBVF81BQ1yYWRpb2J0bkFBVF82BQ1yYWRpb2J0bkFBVF82BQ1yYWRpb2J0bkFBVF83BQ1yYWRpb2J0bkFBVF83BQ1yYWRpb2J0bkFBVF84BQ1yYWRpb2J0bkFBVF84BQ1yYWRpb2J0bkFBVF85BQ1yYWRpb2J0bkFBVF85BQ5yYWRpb2J0bkFBVF8xMAUOcmFkaW9idG5BQVRfMTAFDnJhZGlvYnRuQUFUXzExBQ5yYWRpb2J0bkFBVF8xMQUOcmFkaW9idG5BQVRfMTIFDnJhZGlvYnRuQUFUXzEyBQ5yYWRpb2J0bkFBVF8xMwUOcmFkaW9idG5BQVRfMTMFDnJhZGlvYnRuQUFUXzE0BQ5yYWRpb2J0bkFBVF8xNAUOcmFkaW9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DnJhZGlvYnRuQUFUXzYzBQ5yYWRpb2J0bkFBVF82NAUOcmFkaW9idG5BQVRfNjSB1m9mm5p358chZzJiMt5keE0MGaFjfhbHx1Oiowhk6Q==" />
</div>

<div class="aspNetHidden">

	<input type="hidden" name="__EVENTVALIDATION" id="__EVENTVALIDATION" value="/wEWQAK2vOaFBgKG2abUAQKG2arUAQKB2a6wCAKG2a6wCAKH2a6wCAKU2a6wCAKV2a6wCAKd2fqaBwKd2f6aBwKd2fKaBwKd2faaBwKd2YqaBwKd2eLFDwKd2e7FDwKd2erFDwKd2bbFDwKd2bLFDwKC2aKgBgKC2aagBgKC2aqgBgKC2a6gBgKC2dKgBgKC2cqLDQKC2caLDQKC2cKLDQKC2Z6LDQKC2ZqLDQKD2cr3BQKD2c73BQKD2cL3BQKD2cb3BQKD2br3BQKD2dKPBwKD2d6PBwKD2dqPBwKD2YaPBwKD2YKPBwKA2bLqDwKA2bbqDwKA2brqDwKA2b7qDwKA2cLqDwKq3I2RBAKq3IGRBAKq3IWRBAKq3NmRBAKq3N2RBAKo3PmRBAKo3P2RBAKo3PGRBAKo3PWRBAKo3ImRBAKl3I2RBAKl3IGRBAKl3IWRBAKl3NmRBAKl3N2RBAKt3PmRBAKt3P2RBAKt3PGRBAKt3PWRBAKt3ImRBALCi9reA09D0ObMD83sj77WSmVbAdY7sT8PbinwJ6F81ko7LWYo" />
</div>
      <div>
         <div id="PageBanner"></div>
           <div id="PatientInfoID">
              <span id="labelPatInfo">Demo David (DOB:14/1/1988)</span>
           </div>
           <div id="AssessmentNameID">
              <span id="labelAssessmentName">Oxford Hip Score</span>
           </div>
         <div id="AssessmentItems">
            <div class="cssAssessmentQuestionGroup_Odd" id="AQTOrder_1">
                <div class="cssAssessmentQuestionHeader" id="AQTHeader_2">
                    <span>Which leg has been operated on?</span></div><div class="cssAnswerGroup" id="AATGroup_2"><div class="cssRadionButton"><input id="radiobtnAAT_65" type="radio" name="Set1" value="radiobtnAAT_65" /><label for="radiobtnAAT_65">Left</label></div><div class="cssRadionButton"><input id="radiobtnAAT_66" type="radio" name="Set1" value="radiobtnAAT_66" /><label for="radiobtnAAT_66">Right</label></div></div></div><div class="cssAssessmentQuestionGroup_Even" id="AQTOrder_2"><div class="cssAssessmentQuestionHeader" id="AQTHeader_3"><span>Describe the pain you usually had from your hip</span></div><div class="cssAnswerGroup" id="AATGroup_3"><div class="cssRadionButton"><input id="radiobtnAAT_5" type="radio" name="Set2" value="radiobtnAAT_5" /><label for="radiobtnAAT_5">None</label></div><div class="cssRadionButton"><input id="radiobtnAAT_6" type="radio" name="Set2" value="radiobtnAAT_6" /><label for="radiobtnAAT_6">Very Mild</label></div><div class="cssRadionButton"><input id="radiobtnAAT_7" type="radio" name="Set2" value="radiobtnAAT_7" /><label for="radiobtnAAT_7">Mild</label></div><div class="cssRadionButton"><input id="radiobtnAAT_8" type="radio" name="Set2" value="radiobtnAAT_8" /><label for="radiobtnAAT_8">Moderate</label></div><div class="cssRadionButton"><input id="radiobtnAAT_9" type="radio" name="Set2" value="radiobtnAAT_9" /><label for="radiobtnAAT_9">Severe</label></div></div></div><div class="cssAssessmentQuestionGroup_Odd" id="AQTOrder_3"><div class="cssAssessmentQuestionHeader" id="AQTHeader_4"><span>Have you had any trouble washing and drying yourself (all over)?</span></div><div class="cssAnswerGroup" id="AATGroup_4"><div class="cssRadionButton"><input id="radiobtnAAT_10" type="radio" name="Set3" value="radiobtnAAT_10" /><label for="radiobtnAAT_10">No</label></div><div class="cssRadionButton"><input id="radiobtnAAT_11" type="radio" name="Set3" value="radiobtnAAT_11" /><label for="radiobtnAAT_11">Very Little</label></div><div class="cssRadionButton"><input id="radiobtnAAT_12" type="radio" name="Set3" value="radiobtnAAT_12" /><label for="radiobtnAAT_12">Moderate</label></div><div class="cssRadionButton"><input id="radiobtnAAT_13" type="radio" name="Set3" value="radiobtnAAT_13" /><label for="radiobtnAAT_13">Extreme</label></div><div class="cssRadionButton"><input id="radiobtnAAT_14" type="radio" name="Set3" value="radiobtnAAT_14" /><label for="radiobtnAAT_14">Impossible</label></div></div></div><div class="cssAssessmentQuestionGroup_Even" id="AQTOrder_4"><div class="cssAssessmentQuestionHeader" id="AQTHeader_5"><span>Have you had any trouble getting in and out of a car or using public transport?</span></div><div class="cssAnswerGroup" id="AATGroup_5"><div class="cssRadionButton"><input id="radiobtnAAT_15" type="radio" name="Set4" value="radiobtnAAT_15" /><label for="radiobtnAAT_15">No</label></div><div class="cssRadionButton"><input id="radiobtnAAT_16" type="radio" name="Set4" value="radiobtnAAT_16" /><label for="radiobtnAAT_16">Very Little</label></div><div class="cssRadionButton"><input id="radiobtnAAT_17" type="radio" name="Set4" value="radiobtnAAT_17" /><label for="radiobtnAAT_17">Moderate</label></div><div class="cssRadionButton"><input id="radiobtnAAT_18" type="radio" name="Set4" value="radiobtnAAT_18" /><label for="radiobtnAAT_18">Extreme</label></div><div class="cssRadionButton"><input id="radiobtnAAT_19" type="radio" name="Set4" value="radiobtnAAT_19" /><label for="radiobtnAAT_19">Servere</label></div></div></div><div class="cssAssessmentQuestionGroup_Odd" id="AQTOrder_5"><div class="cssAssessmentQuestionHeader" id="AQTHeader_6"><span>Have you been able to put on a pair of socks, stockings or tights?</span></div><div class="cssAnswerGroup" id="AATGroup_6"><div class="cssRadionButton"><input id="radiobtnAAT_20" type="radio" name="Set5" value="radiobtnAAT_20" /><label for="radiobtnAAT_20">Easily</label></div><div class="cssRadionButton"><input id="radiobtnAAT_21" type="radio" name="Set5" value="radiobtnAAT_21" /><label for="radiobtnAAT_21">With little difficulty</label></div><div class="cssRadionButton"><input id="radiobtnAAT_22" type="radio" name="Set5" value="radiobtnAAT_22" /><label for="radiobtnAAT_22">With moderate difficulty</label></div><div class="cssRadionButton"><input id="radiobtnAAT_23" type="radio" name="Set5" value="radiobtnAAT_23" /><label for="radiobtnAAT_23">With extreme difficulty</label></div><div class="cssRadionButton"><input id="radiobtnAAT_24" type="radio" name="Set5" value="radiobtnAAT_24" /><label for="radiobtnAAT_24">No - Impossible</label></div></div></div><div class="cssAssessmentQuestionGroup_Even" id="AQTOrder_6"><div class="cssAssessmentQuestionHeader" id="AQTHeader_7"><span>Could you do household shopping on your own?</span></div><div class="cssAnswerGroup" id="AATGroup_7"><div class="cssRadionButton"><input id="radiobtnAAT_25" type="radio" name="Set6" value="radiobtnAAT_25" /><label for="radiobtnAAT_25">Easily</label></div><div class="cssRadionButton"><input id="radiobtnAAT_26" type="radio" name="Set6" value="radiobtnAAT_26" /><label for="radiobtnAAT_26">With little difficulty</label></div><div class="cssRadionButton"><input id="radiobtnAAT_27" type="radio" name="Set6" value="radiobtnAAT_27" /><label for="radiobtnAAT_27">With moderate difficulty</label></div><div class="cssRadionButton"><input id="radiobtnAAT_28" type="radio" name="Set6" value="radiobtnAAT_28" /><label for="radiobtnAAT_28">With extreme difficulty</label></div><div class="cssRadionButton"><input id="radiobtnAAT_29" type="radio" name="Set6" value="radiobtnAAT_29" /><label for="radiobtnAAT_29">No - Impossible</label></div></div></div><div class="cssAssessmentQuestionGroup_Odd" id="AQTOrder_7"><div class="cssAssessmentQuestionHeader" id="AQTHeader_8"><span>How long can you walk before the pain becomes unbearable?</span></div><div class="cssAnswerGroup" id="AATGroup_8"><div class="cssRadionButton"><input id="radiobtnAAT_30" type="radio" name="Set7" value="radiobtnAAT_30" /><label for="radiobtnAAT_30">30 minutes or more</label></div><div class="cssRadionButton"><input id="radiobtnAAT_31" type="radio" name="Set7" value="radiobtnAAT_31" /><label for="radiobtnAAT_31">16 - 30 minutes</label></div><div class="cssRadionButton"><input id="radiobtnAAT_32" type="radio" name="Set7" value="radiobtnAAT_32" /><label for="radiobtnAAT_32">5 - 15 minutes</label></div><div class="cssRadionButton"><input id="radiobtnAAT_33" type="radio" name="Set7" value="radiobtnAAT_33" /><label for="radiobtnAAT_33">Around the house only</label></div><div class="cssRadionButton"><input id="radiobtnAAT_34" type="radio" name="Set7" value="radiobtnAAT_34" /><label for="radiobtnAAT_34">Not at all</label></div></div></div><div class="cssAssessmentQuestionGroup_Even" id="AQTOrder_8"><div class="cssAssessmentQuestionHeader" id="AQTHeader_9"><span>Have you been able to climb a flight of stairs?</span></div><div class="cssAnswerGroup" id="AATGroup_9"><div class="cssRadionButton"><input id="radiobtnAAT_35" type="radio" name="Set8" value="radiobtnAAT_35" /><label for="radiobtnAAT_35">Easily</label></div><div class="cssRadionButton"><input id="radiobtnAAT_36" type="radio" name="Set8" value="radiobtnAAT_36" /><label for="radiobtnAAT_36">With little difficulty</label></div><div class="cssRadionButton"><input id="radiobtnAAT_37" type="radio" name="Set8" value="radiobtnAAT_37" /><label for="radiobtnAAT_37">With moderate difficulty</label></div><div class="cssRadionButton"><input id="radiobtnAAT_38" type="radio" name="Set8" value="radiobtnAAT_38" /><label for="radiobtnAAT_38">With extreme difficulty</label></div><div class="cssRadionButton"><input id="radiobtnAAT_39" type="radio" name="Set8" value="radiobtnAAT_39" /><label for="radiobtnAAT_39">No - Impossible</label></div></div></div><div class="cssAssessmentQuestionGroup_Odd" id="AQTOrder_9"><div class="cssAssessmentQuestionHeader" id="AQTHeader_10"><span>After a meal (sitting at a table), how painful has it been to stand up?</span></div><div class="cssAnswerGroup" id="AATGroup_10"><div class="cssRadionButton"><input id="radiobtnAAT_40" type="radio" name="Set9" value="radiobtnAAT_40" /><label for="radiobtnAAT_40">No Pain</label></div><div class="cssRadionButton"><input id="radiobtnAAT_41" type="radio" name="Set9" value="radiobtnAAT_41" /><label for="radiobtnAAT_41">Slight Pain</label></div><div class="cssRadionButton"><input id="radiobtnAAT_42" type="radio" name="Set9" value="radiobtnAAT_42" /><label for="radiobtnAAT_42">Moderate Pain</label></div><div class="cssRadionButton"><input id="radiobtnAAT_43" type="radio" name="Set9" value="radiobtnAAT_43" /><label for="radiobtnAAT_43">Extreme Pain</label></div><div class="cssRadionButton"><input id="radiobtnAAT_44" type="radio" name="Set9" value="radiobtnAAT_44" /><label for="radiobtnAAT_44">Unbearable</label></div></div></div><div class="cssAssessmentQuestionGroup_Even" id="AQTOrder_10"><div class="cssAssessmentQuestionHeader" id="AQTHeader_11"><span>Have you been limping when walking because of your joint?</span></div><div class="cssAnswerGroup" id="AATGroup_11"><div class="cssRadionButton"><input id="radiobtnAAT_45" type="radio" name="Set10" value="radiobtnAAT_45" /><label for="radiobtnAAT_45">Rarely / Never</label></div><div class="cssRadionButton"><input id="radiobtnAAT_46" type="radio" name="Set10" value="radiobtnAAT_46" /><label for="radiobtnAAT_46">Sometimes / Just at first</label></div><div class="cssRadionButton"><input id="radiobtnAAT_47" type="radio" name="Set10" value="radiobtnAAT_47" /><label for="radiobtnAAT_47">Often but not at first</label></div><div class="cssRadionButton"><input id="radiobtnAAT_48" type="radio" name="Set10" value="radiobtnAAT_48" /><label for="radiobtnAAT_48">Most of the time</label></div><div class="cssRadionButton"><input id="radiobtnAAT_49" type="radio" name="Set10" value="radiobtnAAT_49" /><label for="radiobtnAAT_49">All of the time</label></div></div></div><div class="cssAssessmentQuestionGroup_Odd" id="AQTOrder_11"><div class="cssAssessmentQuestionHeader" id="AQTHeader_12"><span>Have you had any sudden severe pain (shooting / stabbing / spasms)?</span></div><div class="cssAnswerGroup" id="AATGroup_12"><div class="cssRadionButton"><input id="radiobtnAAT_50" type="radio" name="Set11" value="radiobtnAAT_50" /><label for="radiobtnAAT_50">No - None</label></div><div class="cssRadionButton"><input id="radiobtnAAT_51" type="radio" name="Set11" value="radiobtnAAT_51" /><label for="radiobtnAAT_51">Only 1 or 2 days</label></div><div class="cssRadionButton"><input id="radiobtnAAT_52" type="radio" name="Set11" value="radiobtnAAT_52" /><label for="radiobtnAAT_52">Some days</label></div><div class="cssRadionButton"><input id="radiobtnAAT_53" type="radio" name="Set11" value="radiobtnAAT_53" /><label for="radiobtnAAT_53">Most days</label></div><div class="cssRadionButton"><input id="radiobtnAAT_54" type="radio" name="Set11" value="radiobtnAAT_54" /><label for="radiobtnAAT_54">Every day</label></div></div></div><div class="cssAssessmentQuestionGroup_Even" id="AQTOrder_12"><div class="cssAssessmentQuestionHeader" id="AQTHeader_13"><span>How much has pain interfered with usual work (inc. housework)?</span></div><div class="cssAnswerGroup" id="AATGroup_13"><div class="cssRadionButton"><input id="radiobtnAAT_55" type="radio" name="Set12" value="radiobtnAAT_55" /><label for="radiobtnAAT_55">None</label></div><div class="cssRadionButton"><input id="radiobtnAAT_56" type="radio" name="Set12" value="radiobtnAAT_56" /><label for="radiobtnAAT_56">A little</label></div><div class="cssRadionButton"><input id="radiobtnAAT_57" type="radio" name="Set12" value="radiobtnAAT_57" /><label for="radiobtnAAT_57">Moderately</label></div><div class="cssRadionButton"><input id="radiobtnAAT_58" type="radio" name="Set12" value="radiobtnAAT_58" /><label for="radiobtnAAT_58">Greatly</label></div><div class="cssRadionButton"><input id="radiobtnAAT_59" type="radio" name="Set12" value="radiobtnAAT_59" /><label for="radiobtnAAT_59">Totally</label></div></div></div><div class="cssAssessmentQuestionGroup_Odd" id="AQTOrder_13"><div class="cssAssessmentQuestionHeader" id="AQTHeader_14"><span>Have you been troubled by pain from your joint in bed at night?</span></div><div class="cssAnswerGroup" id="AATGroup_14"><div class="cssRadionButton"><input id="radiobtnAAT_60" type="radio" name="Set13" value="radiobtnAAT_60" /><label for="radiobtnAAT_60">No</label></div><div class="cssRadionButton"><input id="radiobtnAAT_61" type="radio" name="Set13" value="radiobtnAAT_61" /><label for="radiobtnAAT_61">1 or 2 nights only</label></div><div class="cssRadionButton"><input id="radiobtnAAT_62" type="radio" name="Set13" value="radiobtnAAT_62" /><label for="radiobtnAAT_62">Some nights</label></div><div class="cssRadionButton"><input id="radiobtnAAT_63" type="radio" name="Set13" value="radiobtnAAT_63" /><label for="radiobtnAAT_63">Most nights</label></div><div class="cssRadionButton"><input id="radiobtnAAT_64" type="radio" name="Set13" value="radiobtnAAT_64" /><label for="radiobtnAAT_64">Every night</label></div></div></div>
                    
      <div style="text-align:center;">
        <input type="submit" name="btnSubmit" value="Submit" id="btnSubmit" />
      </div>
                    
                    </div>


        </div>



    </form>
</body>
</html>

Open in new window

0
 
LVL 11

Assisted Solution

by:Rajesh Dalmia
Rajesh Dalmia earned 2000 total points
ID: 33586692
the main thing...
you have to put submit button div inside  <div id="AssessmentItems">...
it was outside of that... which causing the issue...
0
 

Author Comment

by:bs_user
ID: 33587024
thanks rdonline1

i will get my colleague to make the change and then report back.

kind Regards
0
 

Author Closing Comment

by:bs_user
ID: 36403566
Thanks for the great solution much appreciated
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction If you're like most people, you have occasionally made a typographical error when you're entering information into an online form.  And to your consternation, the browser remembers the error, and offers to autocomplete your future entr…
SASS allows you to treat your CSS code in a more OOP way. Let's have a look on how you can structure your code in order for it to be easily maintained and reused.
In this tutorial viewers will learn how to customize the background color and font color of highlighted text using the ::selection element in CSS Begin by defining the selected text as an element in CSS by typing "::selection": Style the ::selection…
In this tutorial viewers will learn how to style rounded corners for elements in CSS using the border-radius property Begin with a normal styled element such as a div: To style all four corners of the div to be the same degree of roundness, use the …
Suggested Courses
Course of the Month14 days, 23 hours left to enroll

577 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question