Fix html conformance for the "explained radio button" forms.
authorFelix Dörre <felix@dogcraft.de>
Sun, 24 Aug 2014 00:17:14 +0000 (02:17 +0200)
committerFelix Dörre <felix@dogcraft.de>
Sun, 24 Aug 2014 00:22:15 +0000 (02:22 +0200)
src/org/cacert/gigi/pages/account/CertificateIssueForm.templ
src/org/cacert/gigi/pages/account/DomainAddForm.templ
static/static/default.css

index 0c5636697c849213907700e0e8837ebd81f567f7..34c58512143247cac0a80095cb013b690f5302c6 100644 (file)
@@ -49,7 +49,7 @@
     <td class='radio'>
       <? foreach($hashs) { ?>
         <input type="radio" id="hash_alg_<?=$algorithm?>" name="hash_alg" value="<?=$algorithm?>"<?=$!checked?>/>
-        <label for="hash_alg_<?=$algorithm?>"><div class='name'><?=$name?></div><? if($info) { ?> <div class='addinfo'> <?=$info?></div><? } ?></label><div class='elements'></div>
+        <label for="hash_alg_<?=$algorithm?>"><span class='name'><?=$name?></span><? if($info) { ?> <span class='addinfo'> <?=$info?></span><? } ?></label><div class='elements'></div>
       <? } ?>
     </td>
   </tr>
index 8273efe25e3c35a0df100b3886a2bf18fc5bc7e9..4a6177f66aac70c771e22dee32645c33b3ffeaa0 100644 (file)
@@ -21,7 +21,7 @@
         Select the destination mail address:<br/>
         <? foreach($authEmails) { ?>
         <input type="radio" id="email_<?=$i?>" name="email" value="<?=$i?>"/>
-        <label for="email_1"><div class='name'><?=$email?>@<span class='exampleDomain'>example.org</span></div></label><div class='elements'></div>
+        <label for="email_1"><span class='name'><?=$email?>@<span class='exampleDomain'>example.org</span></span></label><div class='elements'></div>
         <? } ?>
        </td>
   </tr>
index 74344bc86cc0ebe5bf9433e1b2c9e63efce797bf..3d7224161f44eae017bb4c2d7ba73b58e439c79f 100644 (file)
@@ -568,7 +568,7 @@ td.storyLeft {
        width: 13px;
        margin: 3px;
 }
-.wrapper td.radio div.name{
+.wrapper td.radio span.name{
        font-weight: bold;
        padding-bottom: 4px;
        margin-top: 3px;