Код: Выделить всё
<link href="/css/style.css" rel="stylesheet">
Можно ли так ? Спасибо. Я, конечно, посмотрю почему изменился путь к style.css. И вставлю в корень проекта файл .htaccess.
Вы всегда, Dominus, отлично помогаете. Спасибо огромное.
Код: Выделить всё
<link href="/css/style.css" rel="stylesheet">
Код: Выделить всё
<?php
//...
$this->registerCss("
footer {
background: #7e7e7e;
color: #dbdbdb;
}
.footer {
margin: auto;
padding: 10 0;
height: 90px;
}
.footer a {
color: #dbdbdb;
}
.footer-href {
float: left;
margin-left: 20px;
padding-right: 15px;
}
.footer-href a {
display: block;
text-decoration: none;
font-size: 28px;
margin-bottom: 5px;
}
.footer-social {
float: left;
margin-left: 20px;
padding-right: 15px;
}
.footer-social a {
display: block;
text-decoration: none;
font-size: 8px;
margin-bottom: 5px;
}
");
?>
Можно, но лучше через AppAsset. Перенаправляйте сервер на папку web или же вставляйте .htaccessСергей2003 писал(а): ↑2018.11.18, 00:41 Вставил в headи все заработало.Код: Выделить всё
<link href="/css/style.css" rel="stylesheet">
Можно ли так ? Спасибо. Я, конечно, посмотрю почему изменился путь к style.css. И вставлю в корень проекта файл .htaccess.
Спасибо))Вы всегда, Dominus, отлично помогаете. Спасибо огромное.