Html | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
+ 2

Html

I have a problem i put background in my html website and it's always repeat.

1st Oct 2019, 6:48 AM
Sever Trifunovic
Sever Trifunovic - avatar
7 ответов
+ 3
No in body, in head: <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>background-repeat</title> <style type="text/css"> body { background-image: url(images/bg_grey.png); background-position: left bottom; background-repeat: no-repeat; } </style> </head>
1st Oct 2019, 7:03 AM
Yaroslav Vernigora
Yaroslav Vernigora - avatar
+ 4
Use css style background-repeat: no-repeat
1st Oct 2019, 6:59 AM
Yaroslav Vernigora
Yaroslav Vernigora - avatar
+ 1
Where to put it in body.
1st Oct 2019, 6:59 AM
Sever Trifunovic
Sever Trifunovic - avatar
+ 1
Tnx.
1st Oct 2019, 7:04 AM
Sever Trifunovic
Sever Trifunovic - avatar
+ 1
It didn't work but i did it. <body background="img.png" STYLE="BACKGROUND-REPEAT: NO-REPEAT">
1st Oct 2019, 7:23 AM
Sever Trifunovic
Sever Trifunovic - avatar
+ 1
Iy works without it.
1st Oct 2019, 10:13 AM
Sever Trifunovic
Sever Trifunovic - avatar
0
Where is situated img.png? You mast write full link (http://yoursiteblablabla.com/img/img.png)
1st Oct 2019, 10:04 AM
Yaroslav Vernigora
Yaroslav Vernigora - avatar