Does anyone know anything about the Tumblr HTML codes? I'm trying to change the background from a solid color to a .jpg picture and can't figure it out.
hmm you have to change the css
or using this in html <body background="background.jpg"> (if the image exist in the same folder) <body background="folder_name/background.jpg"> (if image is in another folder)
I'm not actually any good with coding like this. This is what the HTML code says now: body { font: 12px/1.5em Futura, 'Century Gothic', AppleGothic, sans-serif; color: #1500ff; background: #41eb93; margin: 15px 0px; } I want to change 'background: #41eb93;' so that instead of the color, the background is this picture: http://a.wattpad.com/userbg/sebstan.71591.jpg (And don't judge me for that picture.)
Yeah, yeah, hysterical. It's attractive, I don't care what anyone says. I just really need to figure this stupid crap out. I've been working on it for the past two hours, but it's just not working.
lol man I didn't meant to be offensive. just gimme one sec I'm talking to someone
It's fine. I haven't slept for almost 24 hours, so I'm a bit cranky.
body { font: 12px/1.5em Futura, 'Century Gothic', AppleGothic, sans-serif; color: #1500ff; background-image:url("give the image name with extension"); margin: 15px 0px; }
Thank you! I'll try it right now.
ok bro
Okay, what do you mean by extension?
extension is .jpg .png .gif .bmp etc
extension is basically encoding algorithm.
Okay, I'm probably getting annoying now, but it's still not working.
hmm show me what you did?
I changed the original background thing to this: background-image:urlsebstan.71591.jpg That's the only thing that ended with an extension.
background-image:url("sebstan.71591.jpg");
get the syntax right :P
It still didn't work and I copy and pasted it directly from here.
hmm bro where is this image sebstan.71591.jpg ? is it in the same location where the css & other files are?
Join our real-time social learning platform and learn together with your friends!