Answer the question
In order to leave comments, you need to log in
Why, when opening the html page, the pictures are merged into one row, although I wrote in css that they should be in 4 rows of 3 pieces in each, help?
<!DOCTYPE html>
<html>
<body>
<div class="header">
<p>Лувр</p>
</div>
<div class="content">
<div class="photorow">
<div class="photo">
<p><img src="https://delo.ua/files/news/images/3654/58/picture2_epidemija-koronav_365458_p0.jpg" alt="альтернативный текст" width="200" height="220" ></p>
<p>Лувр</p>
</div>
<div class="photo">
<p><img src="https://delo.ua/files/news/images/3654/58/picture2_epidemija-koronav_365458_p0.jpg" width="200" height="220" ></p>
<p>Лувр</p>
</div>
<div class="photo">
<p><img src="https://delo.ua/files/news/images/3654/58/picture2_epidemija-koronav_365458_p0.jpg" width="200" height="220" ></p>
<p>Лувр</p>
</div>
</div>
<div class="photorow">
<div class="photo">
<p><img src="https://delo.ua/files/news/images/3654/58/picture2_epidemija-koronav_365458_p0.jpg" width="200" height="220" ></p>
<p>Лувр</p>
</div>
<div class="photo">
<p><img src="https://delo.ua/files/news/images/3654/58/picture2_epidemija-koronav_365458_p0.jpg" width="200" height="220" ></p>
<p>Лувр</p>
</div>
<div class="photo">
<p><img src="https://delo.ua/files/news/images/3654/58/picture2_epidemija-koronav_365458_p0.jpg" width="200" height="220" ></p>
<p>Лувр</p>
</div>
</div>
<div class="photorow">
<div class="photo">
<p><img src="https://delo.ua/files/news/images/3654/58/picture2_epidemija-koronav_365458_p0.jpg" width="200" height="220" ></p>
<p>Лувр</p>
</div>
<div class="photo">
<p><img src="https://delo.ua/files/news/images/3654/58/picture2_epidemija-koronav_365458_p0.jpg" width="200" height="220" ></p>
<p>Лувр</p>
</div>
<div class="photo">
<p><img src="https://delo.ua/files/news/images/3654/58/picture2_epidemija-koronav_365458_p0.jpg" width="200" height="220" ></p>
<p>Лувр</p>
</div>
</div>
<div class="photorow">
<div class="photo">
<p><img src="https://delo.ua/files/news/images/3654/58/picture2_epidemija-koronav_365458_p0.jpg" width="200" height="220" ></p>
<p>Лувр</p>
</div>
<div class="photo">
<p><img src="https://delo.ua/files/news/images/3654/58/picture2_epidemija-koronav_365458_p0.jpg" width="200" height="220" ></p>
<p>Лувр</p>
</div>
<div class="photo">
<p><img src="https://delo.ua/files/news/images/3654/58/picture2_epidemija-koronav_365458_p0.jpg" width="200" height="220" ></p>
<p>Лувр</p>
</div>
</div>
</div>
</body>
</html>
*{
margin:0;
padding:0;
}
.header {
height:400px;
width:100%;
text-align:left;
background: url(https://www.thisiscolossal.com/wp-content/uploads/2019/06/tsubaki-12.jpg) centerno-repeat;
background-color: #000;
margin-bottom: 10px;
}
.header p{
color:#fff;
padding-left: 10px;
padding-top:150px;
font-family:Georgia, 'TimesNewRoman', Times, serif;
text-transform:uppercase;
font-weight: bold;
font-size: 72px;
letter-spacing:20px;
}
.content {
height: 800px;
text-transform:capitalize;
text-align:justify;
color:#000000;
font-family: Georgia, 'TimesNewRoman', Times, serif;
line-height: 1.5;
padding-bottom: 50 px;
}
.footer {
background-color: #47565A;
margin-top: -50px;
width: 100%;
height: 50px;
text-transform:uppercase;
font-family: Georgia, 'TimesNewRoman', Times, serif;
color:#ffffff;
font-size:14px;
padding-top:27px;
}
.footer p {
color:#ffffff;
text-align:center;
}
.footer p:hover {
color: #bbb;
}
.photorow{
margin-left: 170px;
}
.photo{
margin-right: 10px;
float:left;
width:200px;
padding-left:30px;
}
.box{
}
p{
text-align:center;
}
@media screen and (max-width: 480px) { /* разрешение смартфона */
h1 {
min-width: 320px;
font-size: 16px;
}
div.image_gallery {
width: 320px;
min-width: 320px;
}
img {
max-width: 98%;
height: auto;
padding: 1%; /* небольшие оступы для изображений */
}
}/* прошлый CSS */
h1 {}
div.image_gallery {}
img {}
@media screen and (max-width: 768px) { /* разрешение планшета */
h1 {
font-size: 20px;
}
div.image_gallery {
min-width: 320px;
}
img {
max-width: 48%; /* 2 изображения в ряд */
height: auto;
padding: 1%; /* небольшие оступы для изображений */
}}
Answer the question
In order to leave comments, you need to log in
Why
margin-left: 170px;
will not put the block in the center of the page. Usemargin: 0 auto.
If the bundle is Exim + Dovecot, then the following will help.
Here is such a router (placed higher than the others)
save_sent:
debug_print = "R:saving sent for [email protected]$domain"
domains = ! +local_domains
driver = accept
unseen
transport = dovecot_delivery_sent
dovecot_delivery_sent:
driver = pipe
command = /usr/lib/dovecot/dovecot-lda -d $sender_address -f $sender_address -m "Sent"
message_prefix =
message_suffix =
delivery_date_add
envelope_to_add
return_path_add
log_output
user = mail
group = mail
temp_errors = 64 : 69 : 70: 71 : 72 : 73 : 74 : 75 : 78
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question