0

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

現在、IEでWebサイトをデバッグしており、ボタンがラッパーの外に浮かぶ原因を突き止めようとしています

私のサイドバーのコードは次のとおりです。

<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 に答える