Friday, April 8, 2011

Blogger Chromium Weirdness

I use the following HTML/CSS snippet when I want pre-formatted text with an automatic scroll bar if the text is too wide:
<pre style="border-left: medium solid rgb(127, 127, 127); padding-left:0.5em; width:95%; overflow:auto;"></pre>
It does not work with Blogger and Chromium 10.0.648.204 where it always wraps the text instead of adding the scroll bar. It works with w3schools and Chromium. It works with Blogger and Iceweasel 4.0 (and Firefox, presumably). It even works with Blogger's preview and Chromium.

And that is a really trivial piece of HTML and CSS, too. It's a good thing I'm not trying anything complicated. Hey, maybe that's it! Yeah, maybe some JavaScript will fix it! ^__^

No comments:

Post a Comment