Problem with Html coding I am desperate can you help!

Discussion in 'HTML & Website Design' started by maccam87, Sep 20, 2011.

  1. #1
    Can you please help me!

    Have a look at http://jokideo.com

    then have a look at a single post page http://jokideo.com/funniest-video-of-2011-by-far/

    Can you see on the single post page the sidebar is at the bottom of the page rather then the side??

    here is the html coding!

    <?php get_header(); ?>
    <div id="c_content">
    <div id="post_entry">
    <?php if (have_posts()) : ?><?php while (have_posts()) : the_post(); ?>
    <div class="post_meta" id="post-<?php the_ID(); ?>">
    <div class="post_top"></div>
    <div class="post_index">
    <div class="post_title">
    <div class="calendar">
    <p class="date"><?php the_time('j'); ?></p>
    <p class="month"><?php the_time('M'); ?></p>
    </div>
    <div class="post_info">
    <h1><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title(); ?>"><?php the_title(); ?></a></h1>
    <span class="author">Posted by <?php the_author_posts_link(); ?>&nbsp;<?php edit_post_link(__(' Edit'), '|', ''); ?></span>
    <span class="category">Published in <?php the_category(', ') ?></span></div>
    </div>
    <div class="post_content">
    <?php the_content("<br />" . "continue reading&nbsp;" . "&quot;" . the_title('', '', false) . "&quot;"); ?>
    </div>
    <?php if ( function_exists('the_tags') ) { the_tags( '<p>Tags: ', ', ', '</p>'); } ?>
    </div>
    <div class="post_bottom"></div>
    <iframe src="//www.facebook.com/plugins/likebox.php?href=http%3A%2F%2Fwww.facebook.com%2Fj okideo&amp;width=292&amp;colorscheme=light&amp;sho w_faces=false&amp;border_color&amp;stream=false&am p;header=true&amp;height=62" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:292px; height:62px;" allowTransparency="true"></iframe>
    <div class="clear_content"></div>

    <?php endwhile; ?>


    <?php else: ?>

    <h3>The Topic Had Been Deleted...</h3>

    <?php endif; ?>
    </div>
    <?php get_sidebar(); ?>
    <?php get_footer(); ?>
    ..

    Can you see anything wrong with this coding I have asked loads of people and I get no help, can you? Please
     
    maccam87, Sep 20, 2011 IP
  2. Toycel

    Toycel Peon

    Messages:
    243
    Likes Received:
    11
    Best Answers:
    4
    Trophy Points:
    0
    #2
    With you using Wordpress then the coding should be ok you can always run it through http://validator.w3.org/

    If nothing comes up then I would suggest it is the CSS file that is at error there is a validator for that but it will no doubt validate.
    Try altering the widths.....

    Cheers
    T
     
    Toycel, Sep 21, 2011 IP
  3. maccam87

    maccam87 Peon

    Messages:
    83
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    U know what mate I tried the vailidator and there was too many errors to sive through haha! What I did try and it worked was add a </div> tag at the bottom of the coding at it worked haha I am made up with myself :D
     
    maccam87, Sep 21, 2011 IP
  4. mmerlinn

    mmerlinn Prominent Member

    Messages:
    3,197
    Likes Received:
    819
    Best Answers:
    7
    Trophy Points:
    320
    #4
    Too many errors? ONE ERROR IS TOO MANY. You need to fix the errors before they crash your site in some browser/operation system combination that you did not test.
     
    mmerlinn, Sep 22, 2011 IP