• 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 Sizing Gif in Div Box

Lekiel

Two Thousand Club
Supporter
Hello! Uhm... I'm a total blur case with this, but I thought I should learn how to use div boxes. Cause I've seen some of the stuff available and they're all so purdy *_*.... I have this idea to put a gif instead of a normal background peekture, but I have no idea how to play with the sizing. Either its enlarged way out of proportion or too off centered or something. Any idea what I can do to say... make the div box exactly the same size as the picture?

text blah blah


https://www.rpnation.com/media/33279377d310f945451d1305291e0407.26001/

Image I used. Also, how do I share code? Z.z


Aaand, does anyone know any noob-friendly (or otherwise I guess) place I can go to read more about how you can experiment with divbox codes? o3o...

Edit: Okay, I know how to share code now.

Code:
[div=background:url('https://www.rpnation.com/media/33279377d310f945451d1305291e0407.26001/full');background-size:cover;border:5px #1976d2 double;color: #000000;padding:300px;]text blah blah[/div]
 
Lekiel Lekiel , is this what you were trying to do?

text blah blah


To set background-size you can add the tags width: #px; or height: #px; to the div.

Code:
[div=background:url('https://www.rpnation.com/media/33279377d310f945451d1305291e0407.26001/full') no-repeat; background-position: center; border:55px double #1976D2; width: 400px; height: 600px][B]text blah blah[/B][/div]
 
Last edited:

Users who are viewing this thread

Back
Top