Viewing 5 replies - 1 through 5 (of 5 total)
  • You’ve got a missing closing ul tag in single.php, according to XHTML validation. That might be enough to change the display.

    Thread Starter richardginn

    (@richardginn)

    I took this code outside of the all the main tables and it still did the same screwy stuff of going over 900px….

    <table width="700" border="0" cellspacing="0" cellpadding="0" >
                    <tr>
                      <td valign="top" width="469"><?php if (have_posts()) : while (have_posts()) : the_post(); ?>
    
                                <div class="post">
    	 <h3 class="storytitle" id="post-<?php the_ID(); ?>"><a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></h3>
    	<div class="meta"><?php the_time('F jS, Y') ?> <?php edit_post_link('Edit','|',''); ?></div>
    
    	<div class="storycontent">
    		<?php the_content(__('(more...)')); ?>
    	</div>
    
    	<div class="feedback">
                <?php wp_link_pages(); ?>
    			<?php _e("Posted by"); ?> <?php the_author() ?>  |
                <?php comments_popup_link(__('Comments (0)'), __('Comments (1)'), __('Comments (%)')); ?>
    
    	</div>
    
    	<!--
    	<?php trackback_rdf(); ?>
    	-->
    
    </div>
    
    <?php comments_template(); // Get wp-comments.php template ?>
    
    <?php endwhile; else: ?>
    <p><?php _e('Sorry, no posts matched your criteria.'); ?></p>
    <?php endif; ?>
    
    <?php posts_nav_link(' — ', __('&laquo; Previous Page'), __('Next Page &raquo;')); ?></td>
                      <td width="27"></td>
                      <td width="203" align="right" valign="top"><?php
    get_sidebar();
    ?></td>
                    </tr>
                  </table>

    I did not find the missing the UL tag you saw. I am now down to seven errors and 2 warnings after making some changes. It was up past 40 errors at one point.

    Thread Starter richardginn

    (@richardginn)

    <?php comments_template(); // Get wp-comments.php template ?>

    I took out this line of code and it fixed the width problem and i see that the wp-comments.php file had not been loaded up yet.

    I hope that fully solves it, but wonders why it created the problem in the first place????

    Calling a file that wasn’t there might have put some junk code or white space in that threw the browser off.

    Thread Starter richardginn

    (@richardginn)

    soory songdogtech, that did not fix it either.

    Here is what I tried this time and it worked.

    That same code is used on other themes I created and it works 100% fine.

    So I tested that same code outside of my main major table on and it worked just fine.

    I figured it had to be CSS code that was causing it.

    I took the section of CSS code in the working theme on just forms section and put in the theme this thread is about and it looks great.

    Thanks for your help though.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘I’M stumped. Single.php is not looking like Index.php…..’ is closed to new replies.