• Resolved ke vinritt

    (@ke-vinritt)


    I am working on a site using WP but when I view it in IE it looks like it is in frames – FF not so much. Any idea how I can get rid of this? Here’s the url link
    Here’s the code I am using:

    <?php get_header(); ?>
    <!-- begin content -->
    	<?php if(have_posts()) : ?>
        	<?php while(have_posts()) : the_post() ?>
            <div class="post_snippet">
            <h2><a href="<?php the_permalink(); ?>" title="Permalink to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h2>
            <?php the_content('Continue reading ...'); ?>
            </div>
            <?php endwhile; ?>
            <p><?php previous_posts_link('Previous Entries'); ?><?php next_posts_link('Older Entries');?></p>
            <?php else :?>
            <h3>Sorry but we could not find the page you requested</h3>
            <?php endif; ?>
    <!-- end content -->
    <?php get_footer(); ?>

    Header & Footer:

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="https://www.w3.org/1999/xhtml" <?php language_attributes(); ?>>
    <head>
    <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?> ; charset=<?php bloginfo('charset'); ?>" />
    <title><?php bloginfo ('name') ; ?></title>
    <link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />
    </head>
    
    <body>
    <div id="container">
    <!-- Begin header -->
    <div id="header"><div id="dove"></div>
    <div id="main_menu">
    <!-- H1 removed from layout <h1><a href="<php echo get_option('home'); ?>/"><php bloginfo('name'); ?></a></h1>
     <div class="tagline"><php bloginfo('description'); ?></div> -->
    <ul id="headernav"><?php wp_list_pages('title_li='); ?></ul>
    </div></div>
    <!-- end header -->
    <!-- begin footer -->
    <div id="footer">
    <p><?php bloginfo('name') ?> Copyright 2009</p>
    </div>
    <!-- end footer -->
    </div>
    </body>
    </html>

Viewing 3 replies - 1 through 3 (of 3 total)
  • Michael

    (@alchymyth)

    has to do with ‘overflow:auto;’ in the style.css:

    #container {
    	margin: 0 auto;
    	width: 900px;
    	overflow:auto;
    	background-color:#FFFFFF;
    	border-left: 1px solid #476072;
    	border-right: 1px solid #476072;
    }

    changing that into ‘overflow:hidden;’ solves the probelm with IE;
    no idea if that creates different problems somewhere else, though ??

    Thread Starter ke vinritt

    (@ke-vinritt)

    Thanks – that did it. How do I remove the title form each page (it’s in blue) I have a styled title for each page

    Michael

    (@alchymyth)

    you probably need to edit ‘page.php’ (if there is no page.php, it is probably in index.php) and find:

    <div class="post_snippet">
            <a href=" ............. </a>

    and delete the link ( everthing between and including <a href ... and </a> )

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘strange thing happening’ is closed to new replies.