I
I
IvoLO2013-11-29 03:41:09
Web development
IvoLO, 2013-11-29 03:41:09

How to change the background for a page?

Taarishchi help change the background on the page.
You only need to change the background for one specific page.
Simply adding code to the page does not help, I do this:

<style>
body{
background:url(/Images/1.png);
}
</style>
<body>
.....
</body>

I also tried with div:
<div style="background:url(/Images/1.png)">....</div>

Where could be the problem?

Answer the question

In order to leave comments, you need to log in

4 answer(s)
R
reale, 2013-11-29
@treale

<style>
body{
background:url("Images/1.png");
}
</style>

I
IvoLO, 2013-11-29
@IvoLO

no one will help?

D
Dmitry, 2013-11-29
@ExileeD

<style>
body{
 background-image: url(/Images/1.png) !important;
}
</style>

so try

F
filmincer, 2016-05-21
@filmincer

Try to designate a new class in the body for the required page, and define new styles for it already.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question