Please have a look at my latest hub (http://hubpages.com/hub/HTML5-Tutorial- … nd-Effects) and then the first code capsule. A horizontal scrollbar is used but it shouldn't do that. The title element is now sticking out in an ugly way. Shouldn't it break the text by space to prevent this from happening? I know it's not straightforward because at other times you may want to display the code unchanged...
hello, I have almost no knowledge on HTML. So don't bother about my comment. This is what I understood with my little knowledge:
I find no problem with the horizontal scroll bar.
The text in between <title> </title> is in a single line that is supposed to be. Text between a command is shown similarly when we check the page source from a browser. Browsers show the text between a command in a single line as well.
Well, I'm mainly concerned about the weird way the colored lines simply stop when you scroll to the right. Each line of the code has its background colored in either white or light gray/blue. Perhaps breaking the title is not such a good idea but shouldn't it continue to color the other lines as well so the title one doesn't stand out?
Thanks very much for your feedback on the code capsule.
I will add this on the list of bugs for the code capsule.
I will report on this thread when the bug is fixed.
This issue will be fixed with the next site update.
Thanks Larry, that's a very fast response from the dev team!
The fix just went out. Please post on this forum if you find any more issues.
Thanks for that!
The bug is fixed although now every code capsule has a horizontal scrollbar (I'm using Firefox 3.6.13). See for example that hub or my other HTML5 tutorials. In each case, none of the lines of code are that wide.
When I inspect the list items in Firebug the list items are indeed wide. This leads the user to believe that there might be something to see there (as scrollbars tend to appear only when needed). I don't see the exact cause yet though but I think this should be modified so that it matches the user's expectations of scrollbars.
I'll post here if I see other bugs or if I have suggestions to improve HubPages.
There are times when I might use the code capsule, but most of the time I'd just want to wrap anything like that in PRE tags. You allow that in the "html" mode, but you make it clumsy to get a decent looking amount of whitespace following that section.
Ideally, I'd want the "code" capsule to have options for scrollbars/no scrollbars, coloring/nocoloring but I'd be happy enough with just a flat PRE option.
Thanks for the feedback. If I understand you correctly, you would like to see the following:
1) Ability to add blank lines easiy (preferably using a <pre> tag)
2) Ability to choose between scrollbars/no scrollbars
3) Ability to colorize/not colorize
I'll add these three items to our list of features to consider for the code capsule.
by Whitney8 years ago
I'm still having problems saving text capsules that have links in them.I've been having the problem for months now. Every now and then I can't save text capsules that have contextual links within the capsule. I'm using...
by Paul Deeds8 years ago
We just released another update to the site a few minutes ago. The big changes are the addition of the code capsule, a redesign of the my account pages, and some small adjustments to Q&A (now called Answers on...
by Natalie Frank2 months ago
I have an article on Artist Communities in National Parks. It is the same quality as other hubs on similar topics but wasn't featured. I edited, nothing, then added a list of the 50 some odd programs and it was...
by Jerilee Wei9 years ago
Is there a problem with the news capsules? Seems like none of mine are working? Did I miss something?
by Whitney8 years ago
When I was working on a hub earlier today, I saved the capsules and clicked the done editing button, but the text didn't actually save, so I had to retype everything into the capsules.This has happened several times...
by Norma Lawrence18 months ago
My Hub "Creatures of the Past" is being considered for a niche site. I need to fix my Amazon capsule. I have the dinosaur chart but did not make comment on it. Also they say the title needs...
Copyright © 2018 HubPages Inc. and respective owners.
Other product and company names shown may be trademarks of their respective owners.
HubPages® is a registered Service Mark of HubPages, Inc.
HubPages and Hubbers (authors) may earn revenue on this page based on affiliate relationships and advertisements with partners including Amazon, Google, and others.