Help! My Scrollbox Background Image Won’t Show Up

0
8
Asked By CraftyNinja82 On

I'm trying to add a background image to my scrollbox, but it's not appearing at all. Below is the HTML and CSS code I'm using. Can anyone spot what I'm doing wrong?

3 Answers

Answered By WebDevNerd On

A quick fix would be to remove the 'fill' keyword from your border-image property. That seems to help make the background visible again. Let me know if that works!

Answered By CodeJunkie99 On

You're right; the border image is likely messing everything up. If you just remove the border-image property altogether, the background should show up just fine. Depending on what design you want, you could keep the border and play around with the settings.

Answered By TechWizard44 On

It looks like the issue is with your border-image property. Try removing the '8' from it, as that's likely causing the problem with how the background displays. Also, I noticed you have the height declared twice, which might be causing some confusion. Just a heads up—avoid direct linking images from other sites.

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.