/    Sign up×
Community /Pin to ProfileBookmark

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;
}

[/QUOTE]

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[/upl-file]

to post a comment
CSS

1 Comments(s)

Copy linkTweet thisAlerts:
@cfajohnsonSep 08.2009 — [indent]

It is easier to see the problem if you post a URL to the page instead of (or as

well as) an image or code.

[/indent]
×

Success!

Help @squarebyjia spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.7,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...