This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

Scroll list CSS
#1
Hi.

I´ve used a CSS code for make a text string to show in a scroll list, it shows as a scroll list but I can scroll down the list to see the entire text string. Do I have to do anything more do get this to work?
See the CSS code here
Code:
.longtextecg {
  width: 800px;
  max-height: 800px; /* Lägger till en maximal höjd */
  overflow-y: scroll; /* Lägger till en vertikal skrollbar när innehållet överstiger maxhöjden */
  white-space: pre-line; /* För att bryta raderna vid kommatecken */
  text-align: left;
}
Reply
#2
Try adding pointer-events: all !important; to CSS rules.
Reply
#3
(05.10.2023, 09:22)admin Wrote: Try adding pointer-events: all !important; to CSS rules.

Thanks that helped!
Reply


Forum Jump: