A little bit CSS assistance?

DEERTH's picture
How to get those Background images from sites and then get them on your bios or such?

I tried some sites, but I have not been able to download in any way it to my CSS.

What you will need to do is

What you will need to do is use the background-image:url('URLHERE') code. Just put it in the thing you'd like to have the background. For example, I'll use a div box.

This is a div box.


The code would be;

<div style="margin-auto;background-image:url('http://i.imgur.com/IEP9a.png');font:10px trebuchet ms;color:#ffffff;letter-spacing:2px;text-align:center;height:200px;width:140px;border:5px double #8D9378">This is a div box.</div>

I've underlined the background image code. Just change the url to the url of the image you want to use. But make sure you upload the background onto an image hosting website to avoid hotlinking to the particular website you got it from, and try to credit them. Or, you could make them yourself, idk. |D

I'm not sure if I've explained this okay, so if you're confused just tell me~
DEERTH's picture

Weeeird... I seem to

Weeeird...

I seem to understand everything, else, but I tried to copy your code (For test) on one of my blogs, it didn't work... Maybe I had to remove something from your code?
Call me Deery. Smiling
Dragon Scroll.
Avvie by me, siggy by Saosin

Make sure your input is set

Make sure your input is set to BBCode. And make sure you copy the whole code. |D
DEERTH's picture

YES! I think it tries to work

YES! I think it tries to work now.
Call me Deery. Smiling
Dragon Scroll.
Avvie by me, siggy by Saosin

ShikaTale's picture

I needed this, don't delete

I needed this, don't delete please <3
DEERTH's picture

Sure I won't, I need it

Sure I won't, I need it myself, as well, in case I forget. Eye
Call me Deery. Smiling
Dragon Scroll.
Avvie by me, siggy by Saosin