HTML:

<div class = "contacts"> <ul> <li class = "contsctsCoordinates">Ростовская область, г. Волгодонск, ул. Карла Маркса, 24<br>Индекс: 347383</li> <li class = "contsctsPhone">8 (8639) 23-15-29,<br>23-65-27,<br>23-15-44</li> <li class = "contsctsMail">nsh-28@yandex.ru</li> </ul> </div> 

CSS:

 .contacts { float: left; margin: 45px 20px; } .contsctsCoordinates { background: url("/img/icon-coordinates.png") no-repeat 0 50%; } .contsctsPhone { background: url("/img/icon-phone.png") no-repeat 0 50%; } .contsctsMail { background: url("/img/icon-mail.png") no-repeat 0 0; } .contsctsCoordinates, .contsctsPhone, .contsctsMail { padding: 0 0 0 50px; margin: 0 0 25px 0; background-size: 27px; } 

enter image description here

I decided to insert the CSS code so that it was visible.

Closed due to the fact that off-topic by the participant Nofate August 10 '17 at 15:45 .

It seems that this question does not correspond to the subject of the site. Those who voted to close it indicated the following reason:

  • "The question is caused by a problem that is no longer reproduced or typed . Although similar questions may be relevant on this site, solving this question is unlikely to help future visitors. You can usually avoid similar questions by writing and researching a minimum program to reproduce the problem before publishing the question. " - Nofate
If the question can be reformulated according to the rules set out in the certificate , edit it .

  • Here is your reputation. You can embed links. - Igor
  • Where are the pictures in relation to the site root, in relation to the css file? - Igor
  • Understood. Confused in the directories ... I just dumb in front of my eyes) - Escaper

0