how do I make a scrolling box?

+5 votes
139 views
So, I used to have it in my bookmarks, but now I can't find it again. I am working on the Magna Carta Surity Barons and some of the profiles are VERY long, but have some wonderful information. I would like to put a lot of the quoted material in scroll boxes to make the profile cleaner. Where are those darn things?
WikiTree profile: Saier de Quincy
asked in WikiTree Tech by Robin Wedertz G2G6 Mach 1 (17.6k points)
recategorized by Jillaine Smith

3 Answers

+3 votes
 
Best answer
I don't know if this will survive this box or not. Nope, enclose the text below in arrows Replace ([ ]) with (< >)

[blockquote style="outline:black solid thin; height: 100px; overflow-y: scroll">
Your Text goes here.

And so on and so on
</blockquote]

You can vary the height by changing the height: 100px. 25 px is one line, 50 px is two, etc.
answered by Tom Bredehoft G2G6 Pilot (188k points)
selected by Robin Wedertz
? Is that allowable Wiki code or the dreaded non-standard HTML ?
I assume its Wiki markup, but don't know, I just use it. Hope someone can so advise us.
Perfect! Thanks Tom!
+3 votes
<div style="height:10em; overflow:auto; border: 2px solid #B18904">
your text goes here
</div> <br><br>
 
http://html-color-codes.info/
for the outline color

 

answered by Jacqueline Clark G2G6 Pilot (157k points)
actually, the 10em is variable - it determines the number of text lines that will fit in the height of the box and the 2px is also variable - it determines the thickness of the border.

As Anne stated above, this is most likely not in the "recommended" set of codes.  It would probably be a good idea to wait until all the cow chips have finished passing through the air moving equipment before going to the trouble of putting code for it in profiles when it is likely to have to be removed soon.
+1 vote

Robin, I see Tom Bredehoft has provided the specific wiki formatting you needed. However, no one has yet answered your general query regarding "Where are those darn things?".

Among other places, they are located on WikiTree as Tons Tweaks.

http://www.wikitree.com/wiki/Space:Tons_Tweaks#Other_Highlighting_Methods

answered by George Blanchard G2G6 Mach 9 (90.4k points)
As I mentioned earlier, some of this is probably not reccommended code

Related questions

+3 votes
1 answer
51 views asked Mar 16 in The Tree House by Jo Gill G2G6 Mach 6 (68k points)
+3 votes
1 answer
+9 votes
2 answers
+6 votes
3 answers
+2 votes
1 answer
26 views asked Jan 28, 2014 in WikiTree Tech by Gail Cox G2G6 Mach 3 (32.8k points)
+3 votes
3 answers

WikiTree  ~  About  ~  Help Help  ~  Search Person Search  ~  Surname:

disclaimer - terms - copyright

...