• Okay, I got a weird display issue that’s has me completely stumped. I have been working on it for hours. In Firefox, everything is displayed correctly. In IE and Chrome, the first two post titles are smaller in font size than the last two posts on the front page. This is in the loop and I can’t understand why the first two are wrong, yet the last two are right.

    https://www.greybucket.com

    Will someone please go there and tell me what is wrong? Possible solution, maybe? I will add the relevant code below, the loop and the css code for the post title.

    .storytitle {
                    font-size:1.8em;
                    font-weight:bold;
    		margin:0px;
    		color:#444444;
    		}
    <?php
    get_header();
    ?>
    
    <?php
    get_sidebar();
    ?>
    
    <div id="Content">
    <div class="navigation">
      <div class="older"><?php next_posts_link('&laquo; Older Entries') ?></div>
      <div class="newer"><?php previous_posts_link('Newer Entries &raquo;') ?></div>
    </div><br /><br />
    <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
    
    <div class="post">
    
    <div class="storytitle"><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></div>
    <span class="post-info">Posted <?php the_time('F jS, Y') ?></span>
    <div class="storycontent">
    
    <?php the_content(__('(more...)')); ?>
    
    </div>
    <div class="entry-footer">
    	Filed under:<?php the_category(', ') ?><br />
                    <?php if(!is_single()) { ?>
    				<?php comments_popup_link(''.__('0 Comments ','unnamed').'', '1&nbsp;'.__('Comment ','unnamed').'', '%&nbsp;'.__('Comments','unnamed').'', '', ''.__('Closed','unnamed').''); ?>
    		<?php } ?>
                    <?php if(!is_single()) { ?>
                    <?php } ?>
    				<?php the_tags(__('- Tags: ','unnamed'), ', ', ''); ?>
    				</div>
    <div class="feedback">
    
    <?php wp_link_pages(); ?>
    
    </div>
    <br />
    </div>
    
    <?php comments_template(); // Get wp-comments.php template ?>
    
    <?php endwhile; else: ?>
    
    <p>
    <?php _e('Sorry, no posts matched your criteria.'); ?>
    </p>
    
    <?php endif; ?>
    <br />
    <div class='navigation'>
      <span class='older'><?php next_posts_link('&laquo; Older Entries') ?></span>
      <span class='newer'><?php previous_posts_link('Newer Entries &raquo;') ?></span>
    </div>
    <?php get_footer(); ?>
    
    </div>
Viewing 3 replies - 1 through 3 (of 3 total)
  • You probably need to fix all of your errors here first. You have 53 errors within your page source. Most of the time that’s the prob.

    Thread Starter greybucket

    (@greybucket)

    Thank you for the quick reply!

    Well, I got it fixed as well as I know how… Most of the errors were coming from a couple of cruddy plugins I installed. But I have no idea what to do with the remaining errors and the post titles are still not right. I got an error with </body> and </html>:

    # Error  Line 260, Column 7: XML Parsing Error: Opening and ending tag mismatch: div line 78 and body .
    
    </body>
    
    ?
    # Error Line 261, Column 7: XML Parsing Error: Opening and ending tag mismatch: div line 36 and html .
    
    </html>

    As far as I know, that is the correct way to end those tags.

    Also this error:

    Line 36, Column 0: start tag was here .
    
    <div id="Wrapper">

    Also, a couple errors seems to be generated by a plugin like is my footer. Somewhere, something is adding an extra </div> AFTER </html> but I do not see it in my code for theme.

    Any help on these remaining errors would be greatly appreciated!

    Thread Starter greybucket

    (@greybucket)

    extra </div> AFTER </html>

    Now I am down to 9 errors! lol

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Post title display issue between browsers’ is closed to new replies.