Skip to main content
Participant
June 13, 2022
Question

dynamic text field - turn on scrolling/scrollbars html

  • June 13, 2022
  • 2 replies
  • 161 views

I have XML text data loading into a multiline dynamic text field. But I need the text field to have scrollbars as the text is bigger than the size of the canvas. I tried putting the code below in the style in the head of the html document. But it doesn't do anything to the text field (this code has worked in other html documents outside of animate). 

Thank you for any tips.

 

::-webkit-scrollbar {
width: 7px;
}

::-webkit-scrollbar-track {
-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,1.00);

}

::-webkit-scrollbar-thumb {

-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,1.00);
background-color: rgba(250,250,250,1.00);
}

    This topic has been closed for replies.

    2 replies

    Participant
    June 13, 2022

    tried using the CSS component and adding a css file to the document that contains my above code. that doesnt work either.

    Participant
    June 13, 2022

    btw this is in adobe animate publishing to HTML