Scrolling Text Box - Post ID 155503

User 2193656 Photo


Registered User
22 posts

I have just noticed some posts that VSD does not have a scrolling text box but these posts were a couple of years old. Has this feature been added since then and I just cant find it?
Seems something that most web sites would use. Im not all that experienced so if anyone has a solution then please use basic expressions to explain how I can do this.

Thanks Youall
User 187934 Photo


Senior Advisor
20,239 posts

You can use a scrolling div.

<div style="border : solid 2px #ff0000; background : #000000; color : #ffffff; padding : 4px; width : 200px; height : 100px; overflow : auto; ">
Text1<br />
Text2<br />
Text3<br />
Text4<br />
Text5<br />
Text6<br />
Text7<br />
Text8<br />
Text9<br />
Text10<br />
</div>


Insert into an HTML box.
The above code makes this.
http://progrower.coffeecup.com/scrollingdiv
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 2193656 Photo


Registered User
22 posts

THanks Eric that very helpfull. What do the characters <br />
mean at the end of each line ? I have document with about 3 A4 pages that I want in the scroll box, do i need to put this at the end of each line?
User 38401 Photo


Senior Advisor
10,951 posts

Hiya larikn,

The <br /> at the end of a line means a line break. Tells the code that anything that comes after that has to go to the next line. Sort of like a typewriter's carriage return. Hope that helps :)
User 2193656 Photo


Registered User
22 posts

Thats hot....I saved my Word Doc as HTML and just pasted it straight in. Kept fonts formatting spacing.....everything !!!

Thanks awsomly !
User 2204944 Photo


Registered User
13 posts

How do you change the color if you don't know the HTML code for the color you want?
User 187934 Photo


Senior Advisor
20,239 posts

Hi John, Would you use the code if you had an easy way to get it?
http://www.htmlgoodies.com/tutorials/colors/article.php/3478961
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 38401 Photo


Senior Advisor
10,951 posts

I find that the CoffeeCup Website Color Schemer is my right hand for things like that. There are a lot of sites that have HTML color numbers too. I love the color schemer though, helps me keep track of all the different colors and color numbers I use in a site so I can go back and refer to them, copy the code, etc. without having to scan my site pages for the color again. Works pretty slick. Allows you to keep scheme files for it too. Give it a trial run and see how it works out for you :)
User 377716 Photo


Registered User
32 posts

@eric
htmlgoodies.com :)
right close to Coffee Cup for helpfulness! That's where I took first baby steps of learning to code.
Sylvia
Sylvia Nickels

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.