Форум программистов, компьютерный форум, киберфорум
HTML, CSS
Войти
Регистрация
Восстановить пароль
Блоги Сообщество Поиск Заказать работу  
 
Рейтинг 4.67/3: Рейтинг темы: голосов - 3, средняя оценка - 4.67
0 / 0 / 0
Регистрация: 11.03.2020
Сообщений: 58

Проблема с выравниванием изображений во всю длину

08.02.2021, 01:40. Показов 670. Ответов 2

Студворк — интернет-сервис помощи студентам
Здравствуйте, прошу помощи в нахождении ошибки, то есть как сделать в полную длину изображения и при этом оставить между ними разрыв?

Сам код:
HTML5
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
<!DOCTYPE html>
<html lang="ru">
<head>
<title>Landing page</title>
<link rel="stylesheet" href="style.css">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css">
<meta charset="UTF-8">
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.0/jquery.min.js"></script>
</head>
    <body>
    <div class=main-box>
        <header>
            <div id=header-shadow>
                <div  class=wrapper>
                    <div id=header-left>
                        <h1>Старый город</h1>
                        <h2>В старых городах каждый кусок камня дышит жизнью.</h2>
                        <p>Это очень правильно - приезжать в чужой город под утро.
                        На поезде, самолете - все равно. День начинается с чистого листа...</p>
                        <a href="#download" class="button-download">Загрузить приложение</a>
                    </div>
                    <div id=header-right>
                        <img src="images/phone.png" alt="" style="margin-left:20%;">
                    </div>
                    <div style="clear:both;"></div>
                </div>
                </div>
        </header>
        <div id=navbar-top>
            <div class=wrapper>
                <a class="logo" href="#">Старый город</a>
                <menu>
                    <li class=active><a href="#top">Главная</a></li>
                    <li><a href="#features-list">Описание</a></li>
                    <li><a href="#photo">Фото</a></li>
                    <li><a href="#team">Команда</a></li>
                    <li><a href="#pricing">Цены</a></li>
                    <li><a href="#contact">Контакты</a></li>
                </menu>
            </div>
        </div>
        <section id="features">
            <div class="wrapper">
                <div class="header">
                    <h1>«Мир начинался здесь»</h1>
                    <p>Все, что вам нужно - это солнечные очки. Ну а об остальном мы позаботимся!</p>
                    <div class="underline">
                        <i class="fa fa-briefcase"></i>
                    </div>
                </div>
                <div id="features-image">
                    <img src="images/phone.png"/>
                </div>
                <div id="features-list">
                    <div class="item">
                        <div class="icon">
                            <i class="fa fa-desktop"></i>
                        </div>
                    <div class="text">
                        <h3>Онлайн бронирование</h3>
                        <p>Вы можете забронировать наши номера в режиме онлайн и получить гарантированную бронь</p>
                    </div>
                    </div>
                    <div class="item">
                        <div class="icon">
                            <i class="fa fa-send"></i>
                        </div>
                    <div class="text">
                        <h3>Авиокампании-партнеры</h3>
                        <p>Сотрудничаем с другими авиокомпании самого высокого уровня</p>
                    </div>
                    </div>
                        <div class="item">
                        <div class="icon">
                            <i class="fa fa-gears"></i>
                        </div>
                    <div class="text">
                        <h3>Индивидуальный подход</h3>
                        <p>Учитываем все ваши пожелания, чтобы предложить лучшую путёвку</p>
                    </div>
                    </div>
                    <div class="item">
                        <div class="icon">
                            <i class="fa fa-search"></i>
                        </div>
                    <div class="text">
                        <h3>Поиск тура</h3>
                        <p>Наши менеджеры обязательно подберут для вас тур</p>
                    </div>
                    </div>
                        <div class="item">
                        <div class="icon">
                            <i class="fa fa-file"></i>
                        </div>
                    <div class="text">
                        <h3>Страховка</h3>
                        <p>Страхование жизни и здоровья выезжающих за рубеж</p>
                    </div>
                    </div>
                    <div class="item">
                        <div class="icon">
                            <i class="fa fa-mobile-phone"></i>
                        </div>
                    <div class="text">
                        <h3>Позвоните нам</h3>
                        <p>Позвоните нам и мы вам ответим на все ваши вопросы</p>
                    </div>
                </div>
            </div>
            <div id="toTop">Back to Top</div>
        </div>
            <div class="clear"></div>
        </section>
        <section id="team">
            <div class="wrapper">
                <blockquote>
                    <img src="images/01.jpg">
                    <font color="0099ff"> <h3> Наша команда </h3> </font>
                        <p>
                            <strong>Самое  важное </strong>  в работе турагенства - правильный подбор кадров. 
                            <br> Все наши менеджеры имеют большой стаж
                            работы в туризме 
                        </p>
                        <p>
                            А также проходят <i> обучение </i> на семинарах, имеют дипломы и сертификаты, посещают выставки, ездят в рекламные туры от туроператоров,
                            изучают особенности российских и иностранных курортов, их отельную базу, чтобы предоставить клиенту наилучшие условия для отдыха. </p>
                        <p>
                            Каждый день, приходя на работу, <strong>наши менеджеры мониторят ситуацию на туристическом рынке, чтобы при первом же обращении предложить 
                            Вам 
                            <font color="0099ff"> лучший  тур.</font></strong>
                        </p> 
                </blockquote>
            </div>
        </section>
        <section id="pricing">
            <div id="wrapper">
                <h2 align="center">Лучшие предложения</h2>
                <div class="product-wrap">
                    <div class="product-item">
                        <img src="images/Hotel L'Orologio.jpg">
                        <div class="product-buttons">
                            <a href="#" class="button">В корзину</a>
                        </div>
                    </div>
                    <div class="product-title">
                        <a href="#">Hotel L'Orologio</a>
                        <span class="product-price">от 18 921₽</span>
                    </div>
                </div>
                <div class="product-wrap">
                    <div class="product-item">
                        <img src="images/Alp Pasa Hotel.jpg">
                        <div class="product-buttons">
                            <a href="#" class="button">В корзину</a>
                        </div>
                    </div>
                    <div class="product-title">
                    <a href="#">Alp Pasa Hotel</a>
                    <span class="product-price">от 20 521₽</span>
                    </div>
                </div>
                <div class="product-wrap">
                    <div class="product-item">
                        <img src="images/Sakura.jpg">
                        <div class="product-buttons">
                            <a href="#" class="button">В корзину</a>
                        </div>
                    </div>
                    <div class="product-title">
                    <a href="#">Sakura</a>
                    <span class="product-price">от 19 921₽</span>
                    </div>
                </div>
            </div>
            <div class="clear"></div>
        </section>
        <div id="photo">
            <div class="slider">
            <div class="slide-list">
            <div class="slide-wrap">
            
            <div class="slide-item">
            <img src="images/1.jpeg" alt="" />
            <span class="slide-title">Париж</span>
            </div>
            
            <div class="slide-item">
            <img src="images/2.jpeg" alt="" />
            <span class="slide-title">Люксембург</span>
            </div>
            
            <div class="slide-item">
            <img src="images/3.jpeg" alt="" />
            <span class="slide-title">Венеция</span>
            </div>
            
            <div class="slide-item">
            <img src="images/4.jpeg" alt="" />
            <span class="slide-title">Москва</span>
            </div>
            </div>
            <div class="clear"></div>
            </div>
            <div name="prev" class="navy prev-slide"></div>
            <div name="next" class="navy next-slide"></div>
            <div class="auto play"></div>
            </div>
            </div>
    </body>
</html>
JavaScript
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
$(document).ready(function()
{
    $("navbar-top").on("click","a", function(event) {
        even.preventDefault();
        var id = $(this).attr('href'),
        top = $(id).offset().top;
        $('body, html').animate({scrollTop: top}, 1500);
    });
})  ;
 
 
$(function() {
    $(window).scroll(function() {
        if($(this).scrollTop() !=0) {
            $('#toTop').fadeIn();
        } else {
            $('#toTop').fadeOut();
    }
    });
    $('#toTop').click(function() {
        $('body,html').animate({sctrollTop:0},800);
});
});
 
jQuery(document).ready(function() {
    function htmSlider() {
        var slideWrap=jQuery('.slide-wrap');
        var nextLink=jQuery('.next-slide');
        var prevLink=jQuery('.prev-slide');
        var playLink = jQuery('.auto');
        var is_animate = false;
        var slideWidth=jQuery('.slide-item').outerWidth();
        var newLeftPos = slideWrap.position().left - slideWidth;
}};
 
nextLink.click(function(){
    if(!slideWrap.is(':animated')) {
    slideWrap.animate({left:newLeftPos}, 500, function() {
        slideWrap
        .find('.slide-item:first')
        .appendTo (slideWrap)
        .parent()
        .css({'left':0});
    });
    }
});
 
prevLink.click(function(){
    if(!slideWrap.is(':animated')) {
        slideWrap
        .css({'left':newLeftPos})
        .find('.slide-item:last')
        .prependTo(slideWrap)
        .parent()
        .animate({left:0}, 500);
    }
});
 
function autoplay() {
if(!is_animate) {
is_animate = true;
slideWrap.animate({left:newLeftPos}, 500, function() {
slideWrap
.find('.slide-item:first')
.appendTo(slideWrap)
.parent()
.css({'left':0});
is_animate=false;
});
}
}
 
    playLink.click(function() {
        if(playLink.hasClass('play')){
            playLink.removeClass('play').addClass('pause');
            jQuery('.navy').addClass('disable');
            timer=setInterval(autoplay, 1000);
        } else {
            playLink.removeClass('pause').addClass('play');
            jQuery('.navy').removeClass('disable');
            clearInterval(timer);
        }
    });
    }
    htmSlider();
    });
CSS
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
@import url('https://fonts.googleapis.com/css?family=Roboto:100,300,400,700');
@import url('https://fonts.googleapis.com/css?family=Amatic+SC:700');
 
 
body {
    background-color:#34495e;
    color:#c8c8c8;
    font-family: 'Roboto', sans-serif;
    font-size:16px;
    font-weight:300;
    line-height:28px;
    margin:0;
    padding:0;
}
 
header {
    background:url(images/bg.jpg) 50%0 no-repeat fixed;
    background-size:cover;
}
 
.wrapper {
    max-width:1170px;
    margin:0 auto;
}
 
#header-left {
    float:left;
    width:60%;
}
 
#header-right {
    float:left;
    width:40%;
}
 
#header-shadow {
    background:rgba(0, 0, 0, 0.5);
}
 
h1 {
    margin-bottom:30px;
    font-size:60px;
    font-weight:100;
}
 
#header-left h1 {
    font-size:72px;
    margin-top:50px;
    line-height:1.1;
}
 
#header-left h1 {
    font-size:32px;
    font-weight:300;
    margin-bottom:30px;
    line-height:1.1;    
}
 
header-left p{
    font-size:18px;
    margin-top:70px;
    letter-spacing:1px;
}
 
#header-left h1 strong {
    font-weight:400;
}
 
header .wrapper {
    padding:100px 15px 50px 50px;
}
 
#header-left h1, #header-left h2, #header-left p {
    margin-right:40px;
}
 
#header-left img {
    max-width:252px;
}
 
.button-download {
    display:block-inline;
    color:#fff;
    border:1px solid #fff;
    font-size:28px;
    font-weight:400;
    margin-bottom:50px;
    padding-right:20px;
    padding: 10px 16px;
    text-decoration: none;
}
 
#navbar-top {
    min-height:70px;
    background-color:#181b3d;
    box-shadow: 0 0px 10px rgba(0,0,0,0.2);
}
 
#navbar-top .logo {
    color:#fff;
    font-size:40px;
    line-height:40px;
    font-weight:700;
    padding: 15px 15px;
    display: block;
    float: left;
    text-decoration: none;
}
 
#navbar-top menu {
    list-style:none;
    float:right;
    margin:0;
    padding:0;
}
 
#navbar-top menu li {
    float:left;
    display:block;
    padding-left:15px;
    padding-right:15px;
}
 
#navbar-top menu li a {
    color:#fff;
    font-weight:400;
    text-decoration:none;
    line-height:70px;
    display:block;
}
 
#navbar-top menu li a:hover, #navbar-top menu li.active a {
    color:#0099ff;
}
 
h1 {
    line-height:1.1;
}
 
div.header {
    width:80%;
    margin:0 auto;
    text-align:center;
}
 
#features {
    background:#fff;
    padding-top:50px;
}
 
#features h1 {
    color:#111;
}
 
#features p{
    font-weight:500;
    font-size:35;
    letter-spacing: 1px;
    margin: 0 0 50px;
    color: #222;
}
 
.underline i.fa{
    font-size: 20px;
    color: #0099ff;
}
 
.underline {
    position:relative;
    font-size:20px;
    max-width:350px;
    margin:auto;
    margin-bottom:80px;
}
 
.underline:before, .underline:after {
    background-color:#777;
    position:absolute;
    content:"";
    width:150px;
    height:1px;
    top:50%;
}
 
.underline:before {
    left:0;
}
 
.underline:after {
    right:0;
}
 
#features-image {
    float:left;
    width:20%;
}
  
#features-image img {
    width:250px;
}
 
#features-list {
    float:left;
    width:80%;
    margin-bottom:50px;
}
 
#features-list .item {
    width:50%;
    float:left;
}
 
#features-list .item .text h3 {
    color:#2e2e2e;
    margin-top:10px;
    margin-bottom:20px;
    font-weight:400;
    font-size:24px;
}
 
#features-list .item .text p {
    letter-spacing: 0.5px;
    margin:0 0 10px;
    margin-bottom:50px;
    font-size:16px;
}
 
#features-list .item .icon {
    width:50px;
    height:50px;
    float:left;
    color:#0099ff;
    font-size:30px;
    border: 1px solid #0099ff;
    line-height:100px;
    border-radius:100%;
}
 
#features-list .item .text {
    margin-left:80px;
    padding:10;
}
 
 
.clear {
    clear:both;
}
 
#features-list, #features-list .item {
    padding-left:10px;
    padding-right:10px;
    box-sizing:border-box;
    -webkit-box-sizing:border-box;
    -moz-box-sizing:border-box;
}
 
#team {
    padding:40px;
}
 
blockquote img {
    width:40%
    float:left;
}
 
blockquote {
    margin:0;
    background:#fff;
    padding:40px;
    color:#3f484d;
    position:relative;
    font-family: 'Roboto';
    text-align:center;
}
 
blockquote:before, blockquote:after {
    font-size:45px;
    color:#3cd1d9;
    position:absolute;
    height:2px;
    left:40px;
    right:40px;
    line-height:.5;
    background: linear-gradient(to right, #3ca1d9 45%, transparent 45%, transparent),
    linear-gradient(to right, transparent, transparent 55%, #3ca1d9 55%);
    font-family:serif;
}
 
blockquote:before {
    content:"\201C";
    top:30px;
}
 
blockquote:after {
    content:"\201D";
    bottom:30px;
}
 
blockquote p {
    font-size:15px;
}
 
blockquote footer {
    margin-bottom:1em;
}
 
blockquote cite {
    font-style: normal;
}
 
#pricing #wrapper {
    margin: 0 0 0 10%;
}
 
.product-wrap {
    width:300px;
    margin:20;
    background:white;
    padding:0 0 20px;
    text-align:center;
    font-size:14px;
    font-family:Lora;
    text-transform:uppercase;
    float:left;
}
 
.product-wrap img {
    width:100%;
    display:inline-block;
}
 
.product-buttons {
    position:absolute;
    left:0;
    top:0;
    width:100%;
    height:100%;
    background: rgba (0, 0, 0, .8);
    opacity:0;
    transition:.3s ease-in-out;
}
 
.button {
    text-decoration:none;
    color:#c0a97a;
    font-size:12px;
    width:140px;
    height:40px;
    line-height:40px;
    position:absolute;
    top:50%;
    left:50%;
    border:2px solid #c0a97a;
    transform: translate(-50%, -50%) scale(0);
    transition:.3s ease-in-out;
}
 
.button:before {
    content:"\f07a";
    font-family:fontAwesome;
    margin-right:10px;
}
 
 
.product-item:hover .product-buttons {opacity:1;}
.product-item:hover .button {transform:translate(-50%, -50%) scale(1);}
.button:hover {background:black;}
 
.product-title {color:#5e5e5e;}
.product-title a{
    text-decoration:none;
    color:#2e2e2e;
    font-weight:600;
    margin: 15px 0 5px;
    padding-bottom:7px;
    display:block;
    position:relative;
    transition:.3s ease-in-out;
}
 
.product-title a:after {
    content:"";
    position:absolute;
    width:40px;
    height:2px;
    background:#2e2e2e;
    left:50%;
    margin-left:-20px;
    bottom:0;
    transition:.3s ease-in-out;
}
 
.product-title:hover a:after {background:#c0a97a;}
 
.product-item {
    position:relative;
    overflow:hidden;
}
 
 
#toTop{
    outline:none;
    width:140px;
    height:45px;
    position:fixed;
    bottom:10px;
    right:50px;
    line-height:45px;
    border-radius:45px;
    margin:10px 20px;
    font-family:'Montserrat', sans-serif;
    font-size:11px;
    text-transform:uppercase;
    text-align:center;
    letter-spacing:3px;
    font-weight:600;
    color:#0099ff;
    background:white;
    box-shadow:0 8px 15px rgba(0,0,0,.1);
    transition:.3s;
}
 
#toTop:hover{
    background:#0099ff;
    box-shadow:0 15px 20px rgba(46,229,157,.4);
    color:white;
    transform:translateY(-7px);
}
 
.clear {
    margin-top:-1px;
    height:1px;
    clear:both;
    zoom:1;
}
 
.slider {
    width:90%;
    margin:50px auto;
    padding:0 30px;
    position: relative;
}
 
.slider::-moz-selection {background:transparent; color:#fff; text-shadow:none;}
.slider::selection {background:transparent; color:#fff; text-shadow:none;}
 
.slide-list {
    position:relative;
    margin:0;
    padding:0;
    overflow:hidden;
}
 
.slide-wrap {
    position:relative;
    left:0px;
    top:0;
    width:1000000000000px;
}
 
.slide-item {
    width:500px;
    padding:10px;
    float:left;
}
 
.slide-item img {
    width:500px;
}
 
.slide-title {
    font: bold 16px monospace;
    display:block;
    text-align:center;
}
 
.slide-item {
    width:500px;
}
 
.navy {
    position:absolute;
    top:0;
    z-index:2;
    height:100%;
    width:30px;
    cursor:pointer;
}
 
.prev-slide {
    left:0;
    background:#34495e url(images/left-arrow.png) 11px 40% no-repeat;
}
 
.next-slide {
    right:0;
    background:#34495e url(images/right-arrow.png) 13px 40% no-repeat;
}
 
.auto {
    width:7px;
    height:11px;
    cursor:pointer;
    margin:10px auto;
}
 
.play {
    background: url(images/play.png) center no-repeat;
}
 
.pause {
    background: url(images/pause.png) center no-repeat;
}
Заранее благодарю за любую помощь.
0
Programming
Эксперт
39485 / 9562 / 3019
Регистрация: 12.04.2006
Сообщений: 41,671
Блог
08.02.2021, 01:40
Ответы с готовыми решениями:

Проблема с выравниванием строки
Задача такова в одном файле лежит строка по типу : Привет я робот Нужно выравнять ее по ширине ( сейчас 14, а нужно 30) это если что...

Проблема с выравниванием в форматном выведении
Console.WriteLine(&quot;Формат роботи: M: &lt;Введене повiдомлення&gt;&quot;); Console.WriteLine($&quot;{&quot;C: &lt;Зашифроване повiдомлення&gt;&quot;,(&quot;Формат...

Проблема с выравниванием нумерации в содержании
Здравствуйте! Как можно нумерацию разделов &quot;ВВЕДЕНИЕ&quot; и &quot;Анализ предметной области&quot; выравнить так, как последний...

2
0 / 0 / 0
Регистрация: 28.08.2020
Сообщений: 1
08.02.2021, 07:14
У тебя тут есть, насколько я понимаю, 2 решения. Первая:

CSS
1
2
3
4
5
#pricing #wrapper {
    display:flex;
    flex-direction:row;
    justify-content:space-between;
}
и второе решение:
CSS
1
2
3
4
5
#pricing #wrapper {
    display:grid;
    grid-template:auto/repeat(3,300px);
    grid-column-gap:20%/*тут уж сам подберёшь*/
}
Я не уверен что сработает, но ты можешь посмотреть на эти стили как на пищу для размышления
0
 Аватар для NTHing
1818 / 962 / 388
Регистрация: 26.11.2014
Сообщений: 1,963
Записей в блоге: 1
08.02.2021, 10:04
Для начала переместите h2 в коде на одну строчку выше.
HTML5
1
2
3
4
5
...
<section id="pricing">
    <h2 align="center">Лучшие предложения</h2>
    <div id="wrapper">
...
затем
CSS
1
2
3
4
#wrapper {
 display: flex;
 justify-content: space-evenly;
}
и здесь уберите margin слева
CSS
1
2
3
#pricing #wrapper {
    margin: 0 0 0 10%; 
}
0
Надоела реклама? Зарегистрируйтесь и она исчезнет полностью.
inter-admin
Эксперт
29715 / 6470 / 2152
Регистрация: 06.03.2009
Сообщений: 28,500
Блог
08.02.2021, 10:04
Помогаю со студенческими работами здесь

Проблема с выравниванием элементов навигации слайдера WP
На главной странице сайта есть слайдер с горизонтальной навигацией. Попросили убрать из него пару элементов, но после того как я удаляю эти...

Проблема с вертикальным выравниванием в блоках фиксированного размера
Приветствую! Есть несколько div'ов со свойством 'overflow: hidden; ' (скрывает текст, выступающий за пределы блока). Высота и ширина...

Заполнение ряда на всю длину
Можно ли как то автоматически группировать картинки что бы не было пустых краев как на картинке?

Отображение блока во всю длину
Подскажите пожалуйста, как сделать, чтобы блок div отображался во всю длину, то есть от края до края, без промежутков?

Кнопку на всю длину экрана
Приветствую, имеется кнопка, необходимо сделать ее на весь экран (желательно, чтобы она оставалась такой при любом разрешении экрана). ...


Искать еще темы с ответами

Или воспользуйтесь поиском по форуму:
3
Ответ Создать тему
Новые блоги и статьи
SDL3 для Web (WebAssembly): Реализация движения на Box2D v3 - трение и коллизии с повёрнутыми стенами
8Observer8 20.02.2026
Содержание блога Box2D позволяет легко создать главного героя, который не проходит сквозь стены и перемещается с заданным трением о препятствия, которые можно располагать под углом, как верхнее. . .
Конвертировать закладки radiotray-ng в m3u-плейлист
damix 19.02.2026
Это можно сделать скриптом для PowerShell. Использование . \СonvertRadiotrayToM3U. ps1 <path_to_bookmarks. json> Рядом с файлом bookmarks. json появится файл bookmarks. m3u с результатом. # Check if. . .
Семь CDC на одном интерфейсе: 5 U[S]ARTов, 1 CAN и 1 SSI
Eddy_Em 18.02.2026
Постепенно допиливаю свою "многоинтерфейсную плату". Выглядит вот так: https:/ / www. cyberforum. ru/ blog_attachment. php?attachmentid=11617&stc=1&d=1771445347 Основана на STM32F303RBT6. На борту пять. . .
Камера Toupcam IUA500KMA
Eddy_Em 12.02.2026
Т. к. у всяких "хикроботов" слишком уж мелкий пиксель, для подсмотра в ESPriF они вообще плохо годятся: уже 14 величину можно рассмотреть еле-еле лишь на экспозициях под 3 секунды (а то и больше),. . .
И ясному Солнцу
zbw 12.02.2026
И ясному Солнцу, и светлой Луне. В мире покоя нет и люди не могут жить в тишине. А жить им немного лет.
«Знание-Сила»
zbw 12.02.2026
«Знание-Сила» «Время-Деньги» «Деньги -Пуля»
SDL3 для Web (WebAssembly): Подключение Box2D v3, физика и отрисовка коллайдеров
8Observer8 12.02.2026
Содержание блога Box2D - это библиотека для 2D физики для анимаций и игр. С её помощью можно определять были ли коллизии между конкретными объектами и вызывать обработчики событий столкновения. . . .
SDL3 для Web (WebAssembly): Загрузка PNG с прозрачным фоном с помощью SDL_LoadPNG (без SDL3_image)
8Observer8 11.02.2026
Содержание блога Библиотека SDL3 содержит встроенные инструменты для базовой работы с изображениями - без использования библиотеки SDL3_image. Пошагово создадим проект для загрузки изображения. . .
КиберФорум - форум программистов, компьютерный форум, программирование
Powered by vBulletin
Copyright ©2000 - 2026, CyberForum.ru