css - HTML indent table -


    <table class="layout-table">     <tr>         <td><strong>3. has person completed required training within past 3 years?</strong><br/><br/></td>     </tr>     <tr>         <td><strong>a. copy of it</strong>             <p:selectoneradio id="radio3" value="#{question3a}">                 <f:selectitem itemlabel="yes" itemvalue="0" />&#160;&#160;&#160;                 <f:selectitem itemlabel="no" itemvalue="1" />&#160;&#160;&#160;                 <f:selectitem itemlabel="na" itemvalue="2" />&#160;&#160;&#160;             </p:selectoneradio>             <br/>             <h:outputtext id="counter3" />         </td>     </tr>   </table> 

what trying table this

   3. has person completed required training within past 3 years?           a. copy of     yes []     no[]    na[]           b. (another one)  yes []     no[]    na[] 

i dont know how tab , b , if make buttons right of columns spaces way right hand side , not sure why.... possible without css? if not css fine too. help!

you might want mark looks this. agree tables aren't best solution problem.

<table class="layout-table">    <tr>       <td><strong>3. has person completed required training within past 3 years?</strong>     </tr>    <tr>       <td>          <table width="600" cellpadding="0" cellspacing="0" border="0" style="margin: 0 auto;">             <tr>                <td>                   <p:selectoneradio id="radio3" value="#{question3a}">                      <f:selectitem itemlabel="yes" itemvalue="0" />&#160;&#160;&#160;                      <f:selectitem itemlabel="no" itemvalue="1" />&#160;&#160;&#160;                      <f:selectitem itemlabel="na" itemvalue="2" />&#160;&#160;&#160;                   </p:selectoneradio>                </td>             </tr>             <tr>                <td>                   <p:selectoneradio id="radio3" value="#{question3a}">                      <f:selectitem itemlabel="yes" itemvalue="0" />&#160;&#160;&#160;                      <f:selectitem itemlabel="no" itemvalue="1" />&#160;&#160;&#160;                      <f:selectitem itemlabel="na" itemvalue="2" />&#160;&#160;&#160;                   </p:selectoneradio>                </td>             </tr>          </table>       </td>    </tr> </table> 

Comments

Popular posts from this blog

c++ - OpenCV Error: Assertion failed <scn == 3 ::scn == 4> in unknown function, -

php - render data via PDO::FETCH_FUNC vs loop -

The canvas has been tainted by cross-origin data in chrome only -