MyBB Community Forums

Full Version: [F] Highlighted text moves to the right [R] [C-Chris]
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Take a look at this:
http://community.mybboard.net/thread-311...#pid285881

Notice in the quote that has "rcpalace wrote" that my username is to the right of the quote box when highlighted.

To reproduce:
Create a thread and quote yourself, then use the thread search at the bottom of the thread and search your own username (or the user that you quoted from, so it appears as "username Wrote:"), the search results will come up and click on the Post: "link". You'll then notice that the highlighted text in the quote box moves to the right.

Can anyone reproduce?
Best Regards.
Yep.
[Image: highlightedtexterrorcu2.jpg]

It looks like it's caused by something in the CSS. This needs to be added:
blockquote cite span.highlight {
 float: none;
}
<blockquote><cite><span> (December 19th, 2008 11:46 AM)</span><span class="highlight">Rcpalace</span> Wrote: <a href="http://community.mybboard.net/post-285873.html#pid285873" class="quick_jump">&nbsp;</a></cite>@ Edit 3, Unplugging your sata drive isn't a good idea while your system is running! You'll definitely damage it in the long run.</blockquote>

This is what it looks like in the html
Yeah, it would appear to be a float issue. The the CSS automatically sets spans inside blockquote and cite tags to float right, most likely because the quote time is usually the only span there. When the username is highlighted however, it's placed in a different span with a class of highlight, which is also being floated.

I've tweaked the CSS a little and got it fixed locally. It should be fixed in the repository shortly.
Thank you for your bug report.

This bug has been fixed in our internal code repository. Please note that the problem will not be fixed here until these forums are updated.

With regards,
MyBB Group