0

http://www.pcdconsultancy.co.uk/

我目前在 IE 中调试一个网站,并试图确定是什么导致按钮浮动到其包装器之外

我的侧边栏的代码是:

<div class="homepagesidebar">
    <ul>
        <li>
            <div class="mctitlelatestnews">
                <div class="exclamationmark"></div>Latest News
            </div>
            <div class="latestpostsbox">
                <?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('homepage-sidebar') ) :?><?php endif; ?>

                <?php $the_query = new WP_Query( 'showposts=2' ); ?>

                <?php while ($the_query -> have_posts()) : $the_query -> the_post(); ?>
                    <i class="sidebarbluetext"><?php the_date('jS F Y'); ?></i>
                    <?php the_content(__('(more…)')); ?>
                    <br/>
                <?php endwhile;?>

                <div class="morewrap">
                    <a href="http://pcdconsultancy.co.uk/index.php/projects/">more</a>
                </div>
            </div>

            <br/>
            <div class="projectboxtitle">
                <div class="projectsicon"></div>Recent Projects</div>
                <div class="projectsbox">
                    <?php
                    if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('recentposts-sidebar') ) :
                    endif; ?>

                    <?php $the_query = new WP_Query( 'showposts=1' ); ?>

                    <?php while ($the_query -> have_posts()) : $the_query -> the_post(); ?>

                    <?php the_post_thumbnail( array(218,200) ); ?>

                    <?php endwhile;?>

                    <div class="projectsmorewrap"><a href="http://www.milknhny.co.uk/SofiaWork/?page_id=12">more</a></div>
                </div>
        </li>
    </ul>
</div>

我没有看到 DIV 正在打开,所以我很茫然!有人可以请教吗?

4

1 回答 1

0

看起来您没有在任何地方关闭 projectboxtitle div。

于 2013-05-13T09:50:20.927 回答