• 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 Can I fix a fixed background?

MasterJuann

Member
So, here is a basic code for a fixed background:

Code:
[div=background: url('https://youtu.be/dQw4w9WgXcQ')fixed] Words [/div]

This is the kind of code that makes the background image depend on where you're scrolling on the page, and moves as you scroll up and down on the tab rather than the post. Here's an example of the affect I'm talking about:


Boopdeboop boop


I want that affect, but I'd like to height restrict the image, as well. When I try using the code above, not enough of the picture I want is shown. It zooms in too much and focuses on a certain part of the image. I think the problem is that the height of the picture is greater than the width. Can I make the image and width a certain amount like I can with a normal background image?
 

Users who are viewing this thread

Back
Top