IE9添加额外的标签

时间:2014-02-27 19:22:33

标签: html css internet-explorer internet-explorer-9

我有一些代码,IE9正在为它添加额外的标签。

               <div class="row">
                    <div class="feature crosshair-icon">
                            <div class="offerings">
                                                            <h4>Title</h4>
                            <ul>
                                <li>List</li>
                                <li>List</li>
                                <li>List</li>
                            </ul>
                        </div>
                    </div>

                    <div class="feature crosshair-icon">
                        <div class="offerings">
                                                   <h4>Title</h4>
                            <ul>
                                <li>List</li>
                                <li>List</li>
                                <li>List</li>
                            </ul>
                        </h4></div><h4>
                    </h4></div><h4>
                </h4></div><h4>

                <div class="row">
                    <div class="feature crosshair-icon">
                        <div class="offerings">
                            <h4>Title:</h4>
                            </div></div></div></h4><div class="row"><div class="feature crosshair-icon"><div class="offerings"><h4>Title</h4>
                            <ul>
                                <li>List</li>
                                <li>List</li>
                                <li>List</li>
                            </ul>
                        </h4></div><h4>
                    </h4></div><h4>

                    <div class="feature crosshair-icon">
                        <div class="offerings">
                            <h4>Title:</h4>
                            </div></div></h4><div class="feature crosshair-icon"><div class="offerings"><h4>Title</h4>
                            <ul>
                                <li>List</li>
                                <li>List</li>
                                <li>List</li>
                            </ul>
                        </div>
                    </div>
                </div>

原始代码:

               <div class="row">
                    <div class="feature crosshair-icon">
                        <div class="offerings">
                            <h4>Title:</h4>
                            <ul>
                                <li>List</li>
                                <li>List</li>
                                <li>List</li>
                            </ul>
                        </div>
                    </div>

                    <div class="feature crosshair-icon">
                        <div class="offerings">
                            <h4>Title:</h4>
                            <ul>
                                <li>List</li>
                                <li>List</li>
                                <li>List</li>
                            </ul>
                        </div>
                    </div>
                </div>

                <div class="row">
                    <div class="feature crosshair-icon">
                        <div class="offerings">
                            <h4>Title:</h4>
                            <ul>
                                <li>List</li>
                                <li>List</li>
                                <li>List</li>
                            </ul>
                        </div>
                    </div>

                    <div class="feature crosshair-icon">
                        <div class="offerings">
                            <h4>Title:</h4>
                           <ul>
                                <li>List</li>
                                <li>List</li>
                                <li>List</li>
                            </ul>
                        </div>
                    </div>
                </div>

例如,以下不应该出现:

                </h4></div><h4>
            </h4></div><h4>
        </h4></div><h4>

我不确定为什么会这样做?有没有人见过这个?

0 个答案:

没有答案