Hi, there’s this section on my website that looks fine in all browsers except for IE6.
The copyright section is supposed to appear on the right side of the page instead of on the left. There also isn’t supposed to be a red border around it.
It looks like this:
[ATTACH]13056[/ATTACH]
Here’s the code:
[QUOTE]
<?php
$display_categories = array(7);
foreach ($display_categories as $category) { ?>
<div class=”column span-4 last”>
<div class=”five_posts”>
<?php query_posts(“showposts=1&cat=$category”);
$wp_query->is_category = false;
$wp_query->is_archive = false;
$wp_query->is_home = true;
?>
<h4><a href=”<?php echo get_category_link($category);?>”><?php single_cat_title(); ?></a></h4>
<hr></hr>
<?php while (have_posts()) : the_post(); ?>
<a href=”<?php the_permalink() ?>” rel=”bookmark” title=”Permanent Link to <?php the_title(); ?>”><img src=”<?php $key=”small_photo”; echo get_post_meta($post->ID, $key, true); ?>” alt=”Photo: <?php the_title(); ?>” /></a>
<h6><a href=”<?php the_permalink() ?>” rel=”bookmark” title=”Permanent Link to <?php the_title(); ?>” class=”title”><?php the_title(); ?></a></h6>
<div class=”excerpt_small”><?php the_excerpt(); ?></div>
<div class=”meta”><a href=”<?php the_permalink(); ?>” title=”<?php the_title(); ?>”>Read</a> | <?php comments_popup_link(‘No Comments’, ‘1 Comment’, ‘% Comments’); ?></div>
<?php endwhile; ?>
</div>
</div>[/QUOTE]
And here’s the related CSS:
[QUOTE]
.column {
float: left;
margin-right: 10px;
}
.last { margin-right: 0; }
.span-4 { width: 150px; }
.five_posts h6 a, .five_posts h4 a, .five_posts h3 a
{
text-decoration: none;
margin-bottom: 0;
}
I think i’m supposed to do a “float:right”, but i’m sharing this column thingy with a few other divs… so how do i separate it?
Sorry if this seems like a noob question. I am a noob afterall!
Thanks in advance!
[upl-file uuid=78fcce3b-65fd-4edf-be3b-1404567ce245 size=99kB]SGood.jpg