M
M
mutaev_murad2015-11-05 00:33:22
css
mutaev_murad, 2015-11-05 00:33:22

What could be the problem with body?

6a206acb87a64631aabd763f835d9ca1.jpg
This is a rainbow png picture that I put

body{
background: url(images/bg-body.png) no-repeat 50% 0 #0e0e0e;

It takes up all the space for me, although I did it like in the video, in the video exactly like on the layout, but in my browser for some reason, almost full screen was displayed, maybe it's because of the file size, although in the video the size was not reduced in Photoshop
<!DOCTYPE html>
<html>
<head>
  <title>home page</title>
  <meta charset="UTF-8">
  <link rel="stylesheet" href="style.css" media="all">
</head>
<body>

</body>
</html>

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Denis Bukreev, 2015-11-05
@denisbookreev

and what should happen then?
upd: background-size: 50%;should help

P
prodavec macdonalds, 2015-11-05
@prodavecmacdonalds

background-size: 50% 100%;

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question