Would you believe removing the following from your css will do the job:
.authorcomment {
background: #e7fbfa;
}
Now we need someone to tell us why the hell IE borks when that is left in.
Thread Starter
khaled
(@khaled)
erm if I remove that then my actual highlight won’t work, which kind of defeats the purpose no? 🙂
khaled by hi lite you mean the way your own comments are differentiated am I right?
And the conditional is if there is a commentauthor do the normal thing – if not do khaleds ?
Thread Starter
khaled
(@khaled)
This is more or less the mark up. When my e-mail address is present then bam it see it and uses the authorcomment class.
<?php
$isByAuthor = false;
if($comment->comment_author_email == 'myemailaddress@gmail.com') {
$isByAuthor = true;}
?>
<?php if($isByAuthor ) { echo '<div class="authorcomment">';} ?>
This part has the comment text and other bits and pieces.
<?php if($isByAuthor ) { echo '</div>';} ?>
erm if I remove that then my actual highlight won’t work, which kind of defeats the purpose no? 🙂
🙂 The earlier comment wasn’t meant to be a final solution but a step along the way.
However, it would still mean that there’s still a border around your comment, which acts as a differentiator and you can use the following for non IE browsers:
li > div.authorcomment{
background: #e7fbfa;
}
Try the following:
.authorcomment{
width:100%;
}
It’s a relative positioning bug but I think this should fix things.
Thread Starter
khaled
(@khaled)
ifelse, you’re a genius :).
I appreciate all help anyone gives me. Please don’t take my previous comment as a snarky one, it was meant to be tounge in cheek, honest :).
There’s a bit of extra spacing, but to be honest I can live with that. Thanks guys.
Glad it worked! Now your site looks amazing in all the browsers:-)
Thread Starter
khaled
(@khaled)
Ah shucks dude, making me blush, which reminds me yours is looking fantabuloso, seriously slick work. It’s like the antithesis of my site, the ying to my yang the black to my white. Great work btw :). And Rootie, Aphrodite seems to be shaping up. Spent all that time sorting out Gemini and now you’ve gone a clicked into sorting something else out :).
I can definitely feel a three column thing coming on in the WP community.
It’s like the antithesis of my site
I’m tempted to make that my tagline… “ifelse – the anti broken kode” 🙂
Thread Starter
khaled
(@khaled)
ifelse haha, that’s pretty funny.
root, yeah 3 is the new 2 :).