Problem with pages sidebar
-
I’ve been trying to set up a news feed on the sidebar of a page but the alignment keeps getting out of hand. This is the problematic page: http://blimmer.org/chelsea/
I’ve created a pagetemplate.php with embed css:
Could someone kindly nudge me in the right direction? TIA<?php
/*
Template Name: Page template
*/
?><?php get_header(); ?>
<div id=”content” class=”narrowcolumn”>
<!– content –>
<div id=”content”><?php if (have_posts()) : ?>
<?php while (have_posts()) : the_post(); ?>
<?php the_content(); ?>
<?php endwhile; ?>
<?php endif; ?>
<style type=”text/css”>
#sidebar
{
padding: 20px 0 10px 0;
margin-left: 545px;
width: 190px;
}#sidebar form {
margin: 0;
}
</style><div id=”sidebar”>
-
<iframe src=”http://www.footiehub.com/webmasters/components/200×540.php?feed=chelsea” width=”190″ height=”540″ scrolling=”no” frameborder=”0″></iframe>
</div>
</div> <!– /content –>
</div>
<?php get_footer(); ?>
The topic ‘Problem with pages sidebar’ is closed to new replies.