how to make line break between captcha and submit button
-
Does anyone know how to create a linebreak between the captcha textarea and the submit button? I’ve tried modifying the code and the css and every attempt seems to ignore my modifications.
$form .= ' <label for="cuf_subject'.$n.'" class="cuf_label">'.__('Subject', 'cuf-lang').':</label> <input name="cuf_subject'.$n.'" id="cuf_subject'.$n.'" size="30" value="'.$cuf_subject.'" class="cuf_field" /> <label for="cuf_msg'.$n.'" class="cuf_label">'.__('Your Message', 'cuf-lang').':</label> <textarea name="cuf_msg'.$n.'" id="cuf_msg'.$n.'" class="cuf_textarea" cols="50" rows="10">'.$cuf_msg.'</textarea> '; if ( $this->o['captcha'] ) $form .= $captcha->getCaptcha($n); if ( $this->o['captcha2'] ) $form .= ' <label for="cuf_captcha2_'.$n.'" class="cuf_label">'.$this->o['captcha2_question'].'</label> <input name="cuf_captcha2_'.$n.'" id="cuf_captcha2_'.$n.'" size="30" class="cuf_field" /> '; $title = (!empty($this->o['submit'])) ? 'value="'.$this->o['submit'].'"' : ''; $form .= ' <input type="submit" name="submit'.$n.'" id="contactsubmit'.$n.'" class="cuf_submit" '.$title.' onclick="return checkForm(\''.$n.'\');" /> </div> <div id="kenmorecontent" style="float:right;"> <a href="https://www.kenmoredesign.com/" title="Boston Web Design" alt="Web Design Company Boston" target="_blank">Boston Web Design</a> </div> <div style="clear:both;"></div> </form>';
I’ve placed the text area inside the label tag. I’ve added linebreaks and paragraph tags. I’ve added “clearing divs” all with no avail. The captcha textarea still appears on the same line as the submit button, which is directly below the basic math problem itself.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘how to make line break between captcha and submit button’ is closed to new replies.