0

我的html:

<section class="featured">
<div class="content-wrapper">
 <h1>Hey! This is private!!!</h1>
    <form action="" method="POST">
        <fieldset>
            <legend>(Not really) Opt In or Out</legend>
            <input type="checkbox" id="selectTwitter" name="selectTwitter">I'm Twitterpated!</input>
            <br />
            <input type="checkbox" id="selectBingSearch" name="selectBingSearch">Bing Search</input>
            <br />
            <input type="checkbox" id="selectDuckDuckGoSearch" name="selectDuckDuckGoSearch">Duck Duck Go Search</input>
            <br />
            <input type="checkbox" id="selectYouTube" name="selectYouTube">You Tuber!</input>
            <br />
            <input type="checkbox" id="selectFlickr" name="selectFlickr">Flickr</input>
            <br />
            <input type="checkbox" id="selectWikipedia" name="selectWikipedia">Wikipedia</input>
            <br />
            <input type="checkbox" id="selectAmazon" name="selectAmazon">amazon</input>
            <br />
            <input type="checkbox" id="selectFlickr" name="selectFlickr">Fakebook</input>
            <br />
            <input type="submit" id="btnSubit" name="btnSubmit" value="Save Config changes</input><br />
            </fieldset>
        </form>
    </div>
</section>

...按我对 jsfiddle 的期望显示(http://jsfiddle.net/CTyVk/

但是当我运行我的网站时,它看起来像这样:

表单和字段集表现不佳

问题是什么?

4

2 回答 2

2

你没有关闭<input>..在<input type="submit" id="btnSubit" name="btnSubmit" value="Save Config changes</input><br />

于 2013-05-26T14:34:26.850 回答
2

">的提交按钮代码中缺少 a 。尝试:

            <input type="submit" id="btnSubit" name="btnSubmit" value="Save Config changes"></input>
于 2013-05-26T14:34:30.107 回答