在下面的示例中,我希望项目2和3并排显示,其余项目保持为堆叠无序列表.在css中如何做到这一点?
<li><i class="icon-caret-right"></i>textone</li>
<li><i class="icon-caret-right"></i>texttwo</li>
<li><i class="icon-caret-right"></i>textthree</li>
<li><i class="icon-caret-right"></i>textfour</li>Run Code Online (Sandbox Code Playgroud)
此代码如下所示.
但我想将此图显示为下图.如何在CSS中执行此操作?
我已成功创建一个与php的联系表单,提供各种所需的消息.现在我想添加一个简单的随机算术验证码(非图像).请参阅下面的匿名(工作)html表单和现有(工作,但没有算术验证码)php.
这个想法是以与其他错误消息相同的方式显示"不正确的答案",或者传递给Thankyou页面以获得正确填写的表格和正确的答案.我有一个很好的去,但不能让它工作.任何协助非常感谢.
HTML:
<p>Area of interest:
<input type="radio" name="likeit" value="A" checked="checked" /> A
<input type="radio" name="likeit" value="B" /> B
<input type="radio" name="likeit" value="C" /> C</p>
<p>How did you hear about us?
<select name="how">
<option value=""> -- Please select -- </option>
<option>Recommendation</option>
<option>Internet</option>
<option>Advertisement</option>
<option>Other</option>
</select></p>
<p><strong>Your message subject:</strong><br /><input type="text" name="subject" size="35"/></p>
<p><strong>Your message:</strong><br />
<textarea name="comments" rows="10" cols="40"></textarea></p>
<p>Please answer the following arithmetic question: What is <?php echo $digit1;?> + <?php echo $digit2;?>?
<input name="captcha" type="text" size="2" id="captcha"/></p>
<p><input …Run Code Online (Sandbox Code Playgroud)