How to set the background image of an DIV in CSS?
+1
A:
Put this in your DIV class or id block:
background-image:url(../img/bg.png);
openfrog
2010-10-11 11:01:50
Stop answering your own questions under different name.
Tatu Ulmanen
2010-10-11 11:05:33
This wasn't my own question.
openfrog
2010-10-11 11:07:03
if hes answering under a different name then he needs to be banned as hes doing it to cheat the system and get rep points
PaulStack
2010-10-11 11:07:43
Then how come you have exactly the same Gravatar and answered the other question asked by `openfrog` immediately? There's something strange going on either way.
Tatu Ulmanen
2010-10-11 11:09:04
Because openfrog is my colleague, sitting in front of me. Nothing wrong here.
openfrog
2010-10-11 11:11:02
but a gravatar is linked to a specific email address inst it - does your colleague have the same email address? also why bother asking here if your colleague can answer it for you - needs to be banned!
PaulStack
2010-10-11 11:12:45
Then ask him directly and stop gaming and misusing the system to gain rep points.
Tatu Ulmanen
2010-10-11 11:13:07
@Tatu Ulmanen - he answered the following "Because openfrog is my colleague, sitting in front of me. Nothing wrong here." as Openfrog when he should have posted that as JustAnotherQuestion - think he tripped himself up there :)
PaulStack
2010-10-11 11:15:22
@PaulStack,@Tatu Ulmanen,@openfrog: this discussion would be a better fit for Meta.stackoverflow.com
Piskvor
2010-10-11 11:20:13
Because Will is my colleague, sitting in front of me, I can see him merging accounts and suspending openfrog for sockpuppetry. @Paul lol
Will
2010-10-11 12:33:35
Note, after the account merge you can't tell that openfrog mistakenly commented under his own account referring to himself as his "colleague."
Will
2010-10-11 12:39:35
@Will - thanks for taking care of this. Its annoying to see that people try and cheat the system -this guy tripped up a few times and actually done it on another question as well. - end of issue for me :)
PaulStack
2010-10-11 12:43:19
+5
A:
background-image:url('image path'); put this block of code in ur css and get the background image set.
Prateek
2010-10-11 11:05:55