What's new
  • When posting, please be aware that artistic nudity is still nudity and not allowed under RpNation rules. Please edit your pictures accordingly!

    Remember to credit artists when using work not your own.

Help hidden scrolls ?

hi coding ppl! i'm really new to bbcode and i'm confused as to how hidden scrolls work? in the code below, i'm trying to add a hidden scroll but overflow:hidden in the first bg seems to disable the function. i've tried to dissect other people's codes and applied things that made sense to this one but it still doesn't work, can anyone tell me what i did wrong?

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Maecenas pharetra et eros egestas vehicula. Aliquam arcu neque, ultrices eget feugiat id, efficitur quis massa. Mauris blandit ex purus, vitae iaculis tellus mollis quis. Vivamus tincidunt dapibus eros id luctus. Nunc quis pellentesque neque, a ullamcorper sapien. Nullam tempus enim arcu, sit amet maximus massa ornare et. Donec vitae luctus nunc, a pretium orci. Nullam eget nibh diam. Nulla ut orci sed ipsum mattis molestie. Aliquam molestie massa neque. Mauris suscipit vitae ipsum a facilisis. Ut non aliquam metus. In ante nibh, venenatis sed varius et, posuere euismod dolor. Sed scelerisque, lacus sed venenatis pretium, metus lectus imperdiet purus, ut tempor libero leo aliquam enim.


Code:
[bg=transparent; margin: auto; background: url('https://images-wixmp-ed30a86b8c4ca887773594c2.wixmp.com/f/e5cfcbe3-c4c4-4faa-ad57-3bdea351ab2b/d89z7ri-4b2c6162-b275-4f3d-8024-c9ae64264c34.gif?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJ1cm46YXBwOiIsImlzcyI6InVybjphcHA6Iiwib2JqIjpbW3sicGF0aCI6IlwvZlwvZTVjZmNiZTMtYzRjNC00ZmFhLWFkNTctM2JkZWEzNTFhYjJiXC9kODl6N3JpLTRiMmM2MTYyLWIyNzUtNGYzZC04MDI0LWM5YWU2NDI2NGMzNC5naWYifV1dLCJhdWQiOlsidXJuOnNlcnZpY2U6ZmlsZS5kb3dubG9hZCJdfQ.az-8wRle13gBd-y5BJqOlDKOYmRXfGC0c62evoiHkPg'); max-width: 500px; height: 300px; border-style: solid; border-radius: 0px; border-size: 1px; border-color: white;][bg=transparent; margin: auto; background-color: black; border-style: solid; border-size: .5px; border-radius: 0px; border-color: white; position: relative; top: 45px; height: 180px; width: 50%; padding:8px; overflow:hidden;][bg=transparent; margin: auto; color:white; overflow-y: scroll; padding-right: 25px; position: relative; width: 260px; height: 100%;]Lorem ipsum dolor sit amet, consectetur adipiscing elit. Maecenas pharetra et eros egestas vehicula. Aliquam arcu neque, ultrices eget feugiat id, efficitur quis massa. Mauris blandit ex purus, vitae iaculis tellus mollis quis. Vivamus tincidunt dapibus eros id luctus. Nunc quis pellentesque neque, a ullamcorper sapien. Nullam tempus enim arcu, sit amet maximus massa ornare et. Donec vitae luctus nunc, a pretium orci. Nullam eget nibh diam. Nulla ut orci sed ipsum mattis molestie. Aliquam molestie massa neque. Mauris suscipit vitae ipsum a facilisis. Ut non aliquam metus. In ante nibh, venenatis sed varius et, posuere euismod dolor. Sed scelerisque, lacus sed venenatis pretium, metus lectus imperdiet purus, ut tempor libero leo aliquam enim.[/bg][/bg][/bg]
[/spoiler
 

weldherwings

:𝘭𝘦 𝘤𝘭𝘰𝘸𝘯:
hello my dude!
it was because your height in your hidden scroll was set to 100% with a position:relative on. i've taken the position away :)


Lorem ipsum dolor sit amet, consectetur adipiscing elit. Maecenas pharetra et eros egestas vehicula. Aliquam arcu neque, ultrices eget feugiat id, efficitur quis massa. Mauris blandit ex purus, vitae iaculis tellus mollis quis. Vivamus tincidunt dapibus eros id luctus. Nunc quis pellentesque neque, a ullamcorper sapien. Nullam tempus enim arcu, sit amet maximus massa ornare et. Donec vitae luctus nunc, a pretium orci. Nullam eget nibh diam. Nulla ut orci sed ipsum mattis molestie. Aliquam molestie massa neque. Mauris suscipit vitae ipsum a facilisis. Ut non aliquam metus. In ante nibh, venenatis sed varius et, posuere euismod dolor. Sed scelerisque, lacus sed venenatis pretium, metus lectus imperdiet purus, ut tempor libero leo aliquam enim.
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Top