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 Whitney6 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 Deeds7 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 Norma Lawrence8 weeks 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...
by Jerilee Wei7 years ago
Is there a problem with the news capsules? Seems like none of mine are working? Did I miss something?
by Kelley Eidem7 years ago
Sorry, I've forgotten how to do this.How do you get the picture you want that shows up with your article title? I know which picture I want to show, but I can't seem to find the place where that is set up.I've got the...
by Nancy Mitchell4 weeks ago
I have an Amazon capsule with a red line through the word, Amazon. The capsule appears in editing modebut not when published. What does the red line through Amazon mean? Does it mean that the product is nolonger...
Copyright © 2016 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.