Vertical scroll bar inside a...

User 18402 Photo


Registered User
62 posts

How can you add a vertical scroll bar inside a paragraph element?
thanks
User 122279 Photo


Senior Advisor
14,646 posts

Overflow: scroll;
Ha en riktig god dag!
Inger, Norway

My work in progress:
Components for Site Designer and the HTML Editor: https://mock-up.coffeecup.com


User 18402 Photo


Registered User
62 posts

I know this will be a dumb question. How do I make the paragraph element short in length so there is something to scroll.
User 122279 Photo


Senior Advisor
14,646 posts

Actually, you can use overflow: scroll; or overflow: auto;

The difference is, that by 'scroll' you may also get a horizontal scroll bar. Using 'auto' will only produce a horizontal scrollbar if you have words that are too long (wide) for the space allocated.

You need to set max height/width to get some overflow. See example.
Attachments:
Ha en riktig god dag!
Inger, Norway

My work in progress:
Components for Site Designer and the HTML Editor: https://mock-up.coffeecup.com


User 18402 Photo


Registered User
62 posts

Inger,
Thank you for your time. In rsd 2.5 under dimensions in paragraph element it does not have set max height
I have just got used to the columns and rows of 2.5
Attachments:
User 18402 Photo


Registered User
62 posts

Ok, I took the leap and opened my site in 3.and I was able to adjust the height as per your instruction.
thank you again for your help
alan
User 122279 Photo


Senior Advisor
14,646 posts

In RSD2.5 you could try just giving the paragraph a fixed height. I think that will work.
Ha en riktig god dag!
Inger, Norway

My work in progress:
Components for Site Designer and the HTML Editor: https://mock-up.coffeecup.com



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.