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

Не пойму откуда отступы в FF

21.08.2014, 11:37. Показов 1402. Ответов 7
Метки нет (Все метки)

Студворк — интернет-сервис помощи студентам
Как всегда в дебильном в FF появляются отступы.В другие браузерах такого нет,в чём причина?Я уже всё излазил не пойму.
Нормально отображается в Хроме , даже в IE,Опере



Но в дебильном FF



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
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Главная Страница</title>
<link href="css/style.css" type="text/css" rel="stylesheet">
 
<!--[if lte IE 7]>
<link href="css/e7.css" type="text/css" rel="stylesheet">
<![endif]-->
</head>
<body>
 
<div id="wrapper">
    <!-- Начало -->
    <div id="topline"></div>
    <div id="header">
        <div id="logo"><a href="index.html"></a></div>
        <div id="faq"><a href="faq.html"></a></div>
            <ul id="nav">
                <li><a href="index.html" class="active">HOME</a></li>
                <li><a href="about.html">ABOUT</a></li>
                <li><a href="services.html">SERVICES</a></li>
                <li><a href="partners.html">PARTNERS</a></li>
                <li><a href="solution.html">SOLUTION</a></li>
             </ul>
    </div>
    <!-- Конец -->
    
    <!-- Начало -->
    <div id="people">
        <div id="peopleimg"></div>
        <div id="slogan">
            <h1>Fusce a sapien ac justo </h1>
            <p>Phasellus at elit velit, ac</p>
        </div>
        <div id="forLine"></div>
    </div>
    <!-- Конец -->
    
    <!-- Начало -->
    <div id="colors">
        <div id="blue">
            <h2>Dedicated 24/7 Support</h2>
            <p>Pellentesque tellus tortor, lobortis<br> eget venenatis non,
             aliquet a massa.<br>
             Mauris aliquam ultrices lectus, quis </p>
             <a>Read More</a>
        </div>
        <div id="yellow">
            <h2>Quality Assured Services</h2>
            <p>Mauris euismod enim aliquet orci<br> cursus aliquet.
             Nam lectus magna,<br> 
             varius nec aliquet in, pharetra eu felis. </p>
              <a>Read More</a>
              <div id="romb1"></div>
        </div>
        <div id="green">
             <h2>Our Focus</h2>
            <p>Etiam ut lugila orci.Praesent male-<br>suada leo eu magna ultricies male-<br>
            suada.Cras et velit a mi bibendum</p>
             <a>Read More</a>
              <div id="romb2"></div>
        </div>
        <div class="clear"></div>
    </div>
    
    <div id="blackAndwhite">
        <div id="bcontent">
            <h2>Welcome to our site!</h2>
            <p class="strong">Sed a sollicitudin risus. Proin neque velit, rutrum et semper et, dignissim 
            feu-feugiat lacus. Donec ornare porta dictum. Quisque ornare, libero ac vive
            </p>
            <p>Magna blandit magna, quis sollicitudin sapien tortor et ante. Nam ante ipsum, cursus ullamcorper volutpat ornare, volutpat ac arcu. Phasellus suscipit, leo sit amet scelerisque porta, neque enim malesuada neque, non bibendum magna mauris ullamcorper mauris. Curabitur enim felis, molestie fermentum ornare id, pellen-
            pellentesque et massa. Nullam vestibulum mi non urna semper
             vestibulum.Vestibulum
            </p>
            <a href="readmore.html">Read More</a>
          </div>
         <div id="bform">
            <h2>Request a Quote</h2>
            <form name="form1" action="action.php">
                <input type="text" name="fName" value="First name">
                <input type="text" name="sName" value="Last Name">
                <input type="text" name="email" value="Email Address">
                <input class="button" type="image" src="https://www.cyberforum.ru/images/email.png" >
            </form>
         
         </div>
         <div class="clear"></div>
         <div id="bleft"></div>
         <div id="bright"></div>
         <div id="bbottom"></div>
    </div>
   <!-- Конец -->
   
   <!-- Начало -->
    <div id="dark">
        <div id="planning">
            <h3>planning</h3>
            <div id="imgdark1"></div>
            <p>Integer luctus risus at lectus vestibulum interdum vitae ac lectus. Sed in felis neque. Sed facilisis metus non ligula commodo facilisis ut non tortor. Morbi turpis nunc, posuere vitae convallis ornare, eleifend pretium dolor. Nam fringilla orci at justo viverra fermentum. Nam fringilla aliquam nibh sed semper. Proin justo lectus, semper vitae commodo quis, vestibulum eget sem. Sed in felis libero, eget feugiat arcu. Praesent id augue pellentesque lorem consectetur dignissim ac in elit. Aenean commodo rutrum mauris et viverra. Nullam massa risus, aliquet ac sodales non, fermentum et dui. Proin nulla dolor, accumsan elementum vestibulum vitae, pellentesque vitae velit.</p>
             <a href="readmore.html">Read More</a>
        </div>
        <div id="team">
            <h3>our team</h3>
            <div id="imgdark2"></div>
            <p>Integer luctus risus at lectus vestibulum interdum vitae ac lectus. Sed in felis neque. Sed facilisis metus non ligula commodo facilisis ut non tortor. Morbi turpis nunc, posuere vitae convallis ornare, eleifend pretium dolor. Nam fringilla orci at justo viverra fermentum. Nam fringilla aliquam nibh sed semper. Proin justo lectus, semper vitae commodo quis, vestibulum eget sem. Sed in felis libero, eget feugiat arcu. Praesent id augue pellentesque lorem consectetur dignissim ac in elit. Aenean commodo rutrum mauris et viverra. Nullam massa risus, aliquet ac sodales non, fermentum et dui. Proin nulla dolor, accumsan elementum vestibulum vitae, pellentesque vitae velit.</p>
             <a href="readmore.html">Read More</a>
        </div>
        <div id="blog">
             <h3>Baxter Block <span>latest posts</span></h3>
             <div id="post1">
                <div id="blockimg1"></div>
                <h4>Sed a sollicitudin risus</h4>
                <p>Ullamcorper, elit quis adipiscing egestas, massa leo tincidunt enim, in vehicula nisl lacus nec tortor. </p>
                <a>read more</a>
             </div>
             <div id="post2">
                <div id="blockimg2"></div>
                <h4>Sed a sollicitudin risus</h4>
                <p>Ullamcorper, elit quis adipiscing egestas, massa leo tincidunt enim, in vehicula nisl lacus nec tortor. </p>
                <a href="readmore.html">read more</a>
             </div>
             <div id="post3">
                <div id="blockimg3"></div>
                <h4>Sed a sollicitudin risus</h4>
                <p>Ullamcorper, elit quis adipiscing egestas, massa leo tincidunt enim, in vehicula nisl lacus nec tortor. </p>
                <a>read more</a>
             </div>
        </div>
        <div class="clear"></div>
    </div>
    <!-- Конец -->
    <!-- Начало -->
    <div id="gray">
        <div id="about">
        <h2>About Baxter</h2>
        <p>Donec ut tempor massa. Donec faucibus purus in ligula dictum quis consequat elit posuere. In consequat feugiat aliquam. Praesent tempor risus eget ante adipiscing non mollis enim commodo. Vivamus malesuada purus eget nisl hendrerit porttitor. Vestibulum a nibh elit. Phasellus justo nulla, auctor non tempus ut, dapibus sit amet sapien. Fusce turpis libero, rutrum nec fermentum quis, consectetur vel </p>
        <a href="read.html">Quisque vestibulum porttitor lorem</a>
        </div>
        <div id="partners">
        <h2>Our Partners</h2>
        <ul class="partner" id="p1">
            <li>Donec ut tempor massa. Donec faucibus puru</li>
            <li>s in ligula dictum quis consequat elit posuere. In </li>
            <li>consequat feugiat aliquam. Praesent tempor </li>
            <li>risus eget ante adipiscing non mollis enim </li>
            <li>commodo. Vivamus malesuada purus eget nisl </li>
        </ul>
        <ul class="partner" id="p2">
            <li>Donec ut tempor massa. Donec faucibus puru</li>
            <li>s in ligula dictum quis consequat elit posuere. In </li>
            <li>consequat feugiat aliquam. Praesent tempor </li>
            <li>risus eget ante adipiscing non mollis enim </li>
            <li>commodo. Vivamus malesuada purus eget nisl </li>
        </ul>
        </div>
        <div class="clear"></div>
    </div>
    
</body>
</html>
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
@import url(reset.css);
#wrapper{
    width: 1024px;
    height: 1800px;
    margin: 0 auto;
    outline: 1px solid #cccccc;
}
#topline{
    height: 18px;
    background-image: url(../images/topline.png);
    background-repeat: repeat-x;
    background-color: #cccccc;
}
/*Начало блока header*/
#header{
    height: 157px;
    outline: 0px solid #cc0000;
    position: relative;
}
#logo{
    height: 92px;
    width: 257px;
    outline: 0px solid #cc0000;
    background-image: url(../images/logo.png);
    background-repeat: no-repeat;
    position: absolute;
    left: 54px;
    top: 29px;
}
#logo a{
    display: block;
    height: 92px;
    cursor: pointer;
}
#faq{
    height: 164px;
    width: 82px;
    outline: 0px solid #cc0000;
    background-image: url(../images/faq.png);
    background-repeat: no-repeat;
    position: absolute;
    right: 43px;
    top: -18px;
}
#faq a{
    display: block;
    height: 164px;
    cursor: pointer;
}
#nav{
    width: 520px;
    height: 30px;
    outline: 0px solid #cc0000;
    position: absolute;
    top: 56px;
    left: 377px;
}
#nav li{
    float: left;
    outline: 0px solid #cc0000;
    margin-right:27px ;
}
#nav li a {
    text-decoration: none;
    font: 16px Arial,sans-serif;
    color: #3F3F3F;
}
#nav li a.active,#nav li a:hover {
    color: #2c789c;
}
/*Конец блока header*/
    
/*Начало блока peolpe*/
#people{
    height: 404px;
    outline: 0px solid #cc0000;
    background-image: url(../images/peolpeBg.jpg);
    background-repeat:no-repeat;
    background-position: 74px 53px;
    position: relative;
}
#peopleimg{
    height: 391px;
    width: 398px;
    outline: 0px solid #cc0000;
    position: absolute;
    right: 55px;
    top: -5px;
    background-image: url(../images/people.jpg);
    background-repeat: repeat;
    z-index: 5;
}
#slogan{
    width: 377px;
    height: 80px;
    outline: 0px solid #cc0000;
    position: absolute;
    top: 207px;
    right: 632px;  
    text-align: right;
    padding-top: 5px;
}
#slogan h1{
    font: bold 23px Arial,sans-serif;
    color: #1D1D1B;
    text-transform: uppercase;
}
#slogan p{
    font: 16px Arial,sans-serif;
    color: #25739E;
}
#forLine{
    height: 96px;
    width: 1024px;
    position: absolute;
    bottom: 0;
    left: 0;
    outline: 0px solid #cc0000;
    background-image: url(../images/forLineBg.png);
    background-repeat: repeat-y;
    z-index: 3;  
}
/*Конец блока people*/
 
/*Начало блока color*/
#colors{
    outline: 0px solid #cc0000;
    background-image: url(../images/colorsBg.png);
    background-repeat: repeat-y;
    padding: 0 49px 0 42px;
}
#blue{
    width: 292px;
    float: left;
    background-color: #25739E;
    padding-left: 14px;
    background-image: url(../images/e1.png);
    background-repeat: no-repeat;
    background-position: 250px 10px;
 
}
#yellow{
    width: 302px;
    float: left;
    background-color: #e5b00d;
    padding-left: 19px;
    background-image: url(../images/e2.png);
    background-repeat: no-repeat;
    background-position: 267px 10px;
}
#green{
    width: 282px;
    float: left;
    background-color: #97ba15;
    padding-left: 24px;
    background-image: url(../images/e3.png);
    background-repeat: no-repeat;
    background-position: 251px 10px;
}
#blue,#yellow,#green{
    color: #ffffff;
    padding-top: 13px;
    position: relative;
}
#colors h2{
    font:19px Arial,sans-serif;
    padding-bottom: 10px;
}
#colors p{
    font:16px Arial,sans-serif;
    padding-bottom: 10px;
}
#colors a{
    text-decoration: none;
    color: #515151;
    font:16px Arial,sans-serif;
    display: block;
    width: 99px;
    height: 26px;
    background-image: url(../images/reedmore.png);
    background-repeat: no-repeat;
    cursor: pointer;
    padding: 4px 10px ; 
    margin-bottom: 4px;   
}
.clear{
    clear: both;
}
#romb1{
    width: 24px;
    height: 49px;
    position: absolute;
    background-image: url(../images/e4.png);
    background-repeat: no-repeat;
    left: 0;
    top: 49px;
}
#romb2{
    width: 24px;
    height: 49px;
    position: absolute;
    background-image: url(../images/e5.png);
    background-repeat: no-repeat;
    left: 0;
    top: 49px;
}
#green a,#green p{
    margin-left: 6px;
}
#yellow a,#yellow p{
    margin-left: 9px;
}
/*Конец блока colors*/
 
/*Начало блока blackAndwhite*/
#blackAndwhite{
    outline: 0px solid #cc0000;
    background-image: url(../images/colorsBg.png);
    background-repeat: repeat-y;  
    position: relative;
    padding: 17px 55px 30px 55px;
}
#bleft,#bright{
    position: absolute;
    width: 44px;
    height: 100px;
}
#bleft{
    background-image: url(../images/bleft.png);
    background-repeat: no-repeat;
    bottom: 0;
    left: 0;
}
#bright{
    background-image: url(../images/bright.png);
    background-repeat: no-repeat;
    bottom: 0;
    right: 0;
    z-index: 4;
}
#bbottom{
    background-image: url(../images/bbottom.png);
    background-repeat:repeat-x;
    bottom: 0;
    right: 36px;
    width: 956px;
    height: 1px;
    position: absolute;
}
#bcontent{
    height: 225px;
    outline: 0px solid #cc0000;
    width: 620px;
    float: left;
}
#bform{
    height: 225px;
    outline: 0px solid #cc0000;
    width: 264px;
    float: left;
    margin-left: 20px;
    position: relative;
    z-index: 5;
}
#bcontent h2,#bform h2 {
    font: 24px Arial,sans-serif;
    color: #000000;
    margin-bottom: 0px;
}
#bcontent h2{
    height: 34px;
    overflow: hidden;
}
#bcontent p.strong{
    color: #1d1e1b;
    font:bold 16px Arial,sans-serif;
    margin-bottom: 0px;
    height: 56px;
}
#bcontent p{
    color: #7b7d78;
    font:16px Arial,sans-serif;
    height: 109px;
    overflow: hidden;
}
#bcontent a{
    text-decoration: none;
    color: #b6b7b6;
    font:16px Arial,sans-serif;
    display: block;
    width: 99px;
    height: 18px;
    background-image: url(../images/readmoreblack.png);
    background-repeat: no-repeat;
    cursor: pointer;
    padding: 4px 10px ;   
}
#bform input{
    width: 246px;
    height: 31px;
    border:1px solid #dedede;
    margin-bottom: 11px;
    color: #bababa;
    font: 16px Arial,sans-serif;
    padding-left: 15px;
}
#bform input.button{
    width: 99px;
    height: 26px;
    border:none;
    padding: 34px 0 0 0;
    margin: 0;
}
/*Конец блока  BlackAndWhite*/
 
/*Начало блока dark*/
#dark{
    padding: 13px 30px 14px 41px;
    outline:1px solid #cc0000;
    background-color:#1d1e1b;
}
#planning,#team,#blog{
    outline:0px solid #cc0000;
    height: 403px;
    float: left;
}
#planning,#team{
    width: 289px;
}
#blog{
    width: 297px;
}
#team,#blog{
    margin-left: 39px;
}
#imgdark1{
    height: 115px;
    width: 289px;
    background-image: url(../images/dark1.jpg);
}
#imgdark2{
    height: 115px;
    width: 289px;
    background-image: url(../images/dark2.jpg);
}
#dark h3{
    height: 27px;
    outline:0px solid #cc0000;
    font: 18px Arial,sans-serif;
    color: #ffffff;
    text-transform: uppercase;
    overflow: hidden;
}
#planning p,#team p{
    height: 226px;
    outline:0px solid #cc0000;
    font: 12px Arial,sans-serif;
    color: #64998f;
    padding-top: 9px;
    overflow: hidden;
}
#planning a,#team a{
    text-decoration: none;
    color: #ffffff;
    font:16px Arial,sans-serif;
    display: block;
    width: 99px;
    height: 18px;
    background-image: url(../images/readmoreblue.png);
    background-repeat: no-repeat;
    cursor: pointer;
    padding: 4px 10px ;   
}
#post1,#post2{
    height: 125px;
    outline:0px solid #cc0000;
}
#post3{
    height: 126px;
    outline:0px solid #cc0000;
}
#blockimg1{
    width: 111px;
    height: 81px;
    float: left;
    background-image: url(../images/dark3.jpg);
    background-repeat: no-repeat;
    margin-right: 10px;
}
#blog h4{
    font: 13px Arial,sans-serif;
    color: #ffffff;
}
#blog p{
    font:bold 12px  Arial,sans-serif;
    color:#7D8176;
}
#blog a{
    font: 12px Arial,sans-serif;
    color:#085680;
    text-decoration:underline ;
}
#blockimg2{
    width: 111px;
    height: 81px;
    float: left;
    background-image: url(../images/dark4.jpg);
    background-repeat: no-repeat;
    margin-right: 10px;
}
#blockimg3{
    width: 111px;
    height: 81px;
    float: left;
    background-image: url(../images/dark5.jpg);
    background-repeat: no-repeat;
    margin-right: 10px;
}
#blog h3 span{
    color: #095782;
    text-transform: lowercase;
    padding-left: 13px;    
}
 
/*Конец блока dark*/
 
/*Начало блока gray*/
#gray{
    background-color: #1A1D19;
    outline:1px solid #cc0000;
    padding: 15px 30px 35px 40px;
}
#about{
    width: 300px;
    outline:1px solid #cc0000;
    float: left;   
}
#partners{
    width: 628px;
    height: 168px;
    outline:1px solid #cc0000;
    float: left;
    margin-left: 26px;
    padding-left: 0;
}
#gray h2{
    font: 18px Arial,sans-serif;
    color: #ffffff;
    text-transform: uppercase;
    margin-bottom: 3px;
}
#gray p{
    font: 12px Arial,sans-serif;
    color: #808378;
    margin-bottom: 6px;
}
#gray a{
    font: 16px Arial,sans-serif;
    color: #0A5883 ;
    text-decoration: none;
}
.partner{
    float: left;
    outline:1px solid #cc0000;
    width: 275px;
}
.partner li{
    color: #808378;
    font: 12px Arial,sans-serif;
    width: 275px;
}
 
/*Конец блока gray*/
1
Лучшие ответы (1)
IT_Exp
Эксперт
34794 / 4073 / 2104
Регистрация: 17.06.2006
Сообщений: 32,602
Блог
21.08.2014, 11:37
Ответы с готовыми решениями:

Верстка div - откуда берутся отступы?
Наложил сверху блок div красного цвета, почему присутствуют отступы с права, лева и и сверху. &lt;html&gt; &lt;head&gt; ...

Откуда берутся отступы между блоками div
&lt;!DOCTYPE html&gt; &lt;html lang=&quot;ru&quot;&gt; &lt;head&gt; &lt;meta charset=&quot;utf-8&quot;&gt; &lt;title&gt;Первый сайт&lt;/title&gt; ...

Откуда появляются маленькие отступы влево или вправо?
есть несколько страниц пхп, вроде нормально сверстанных. проблема в том, что откуда то появляются маленькие отступы вправо/влево...

7
Все элементарное - сложно
133 / 118 / 50
Регистрация: 14.04.2014
Сообщений: 509
21.08.2014, 11:46
Скорее всего это специфика отображения тега ul. Попробуйте задать margin: 0;
1
3 / 3 / 0
Регистрация: 11.04.2014
Сообщений: 53
21.08.2014, 11:53  [ТС]
Пробовал,не помогло.
0
Все элементарное - сложно
133 / 118 / 50
Регистрация: 14.04.2014
Сообщений: 509
21.08.2014, 12:06
Лучший ответ Сообщение было отмечено GaGaReG как решение

Решение

а border вместо outline пробовали?
2
3 / 3 / 0
Регистрация: 11.04.2014
Сообщений: 53
21.08.2014, 12:12  [ТС]
Спасибо большое,помогло.Я в шоке.А в чем может быть причина?Почему с outline такая фигня,а с border всё нормально.
1
Все элементарное - сложно
133 / 118 / 50
Регистрация: 14.04.2014
Сообщений: 509
21.08.2014, 13:00
Видимо баг в FF при совместной работе float и otline

Добавлено через 16 секунд
Но, я не уверен=)
1
Почетный модератор
12274 / 5340 / 268
Регистрация: 05.04.2011
Сообщений: 14,086
Записей в блоге: 2
25.08.2014, 02:10
Нет там никакого бага.GaGaReG, почитайте что такое сброс стилей
0
Все элементарное - сложно
133 / 118 / 50
Регистрация: 14.04.2014
Сообщений: 509
03.12.2014, 09:37
Taatshi, если дело в разном отображении браузерами данных элементов(собственно для чего и нужен css reset), то почему при замене outline на border все заработало? Разъясните, пожалуйста. Заранее спасибо
0
Надоела реклама? Зарегистрируйтесь и она исчезнет полностью.
BasicMan
Эксперт
29316 / 5623 / 2384
Регистрация: 17.02.2009
Сообщений: 30,364
Блог
03.12.2014, 09:37
Помогаю со студенческими работами здесь

Поведение setw(). Откуда берутся начальные отступы, начиная со 2 строки?
Добрый день! Такой код: #include &lt;iostream&gt; #include &lt;iomanip&gt; using namespace std; int main() { for (int i = 11; i...

Не пойму откуда приходят куки
Делаю авторизацию для wf.mail.ru Но.. возникла проблема. С wf.mail.ru почему-то не парсятся куки, видимо там что-то по-другому, а без...

Шифрование. Не пойму откуда брать файлы
#include &quot;stdafx.h&quot; #include &quot;math.h&quot; #include &quot;conio.h&quot; #include &quot;stdio.h&quot; int main() { char key = &quot;qwerty&quot;; FILE...

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

Отступы!
Всем привет, недавно создал свой блог и впервые полностью с нуля свой дизайн и сверстал. Все настроил, поставил, выводится более менее...


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

Или воспользуйтесь поиском по форуму:
8
Ответ Создать тему
Новые блоги и статьи
Первый деплой
lagorue 16.01.2026
Не спеша развернул своё 1ое приложение в kubernetes. А дальше мне интересно создать 1фронтэнд приложения и 2 бэкэнд приложения развернуть 2 деплоя в кубере получится 2 сервиса и что-бы они. . .
Расчёт переходных процессов в цепи постоянного тока
igorrr37 16.01.2026
/ * Дана цепь постоянного тока с R, L, C, k(ключ), U, E, J. Программа составляет систему уравнений по 1 и 2 законам Кирхгофа, решает её и находит токи на L и напряжения на C в установ. режимах до и. . .
Восстановить юзерскрипты Greasemonkey из бэкапа браузера
damix 15.01.2026
Если восстановить из бэкапа профиль Firefox после переустановки винды, то список юзерскриптов в Greasemonkey будет пустым. Но восстановить их можно так. Для этого понадобится консольная утилита. . .
Изучаю kubernetes
lagorue 13.01.2026
А пригодятся-ли мне знания kubernetes в России?
Сукцессия микоризы: основная теория в виде двух уравнений.
anaschu 11.01.2026
https:/ / rutube. ru/ video/ 7a537f578d808e67a3c6fd818a44a5c4/
WordPad для Windows 11
Jel 10.01.2026
WordPad для Windows 11 — это приложение, которое восстанавливает классический текстовый редактор WordPad в операционной системе Windows 11. После того как Microsoft исключила WordPad из. . .
Classic Notepad for Windows 11
Jel 10.01.2026
Old Classic Notepad for Windows 11 Приложение для Windows 11, позволяющее пользователям вернуть классическую версию текстового редактора «Блокнот» из Windows 10. Программа предоставляет более. . .
Почему дизайн решает?
Neotwalker 09.01.2026
В современном мире, где конкуренция за внимание потребителя достигла пика, дизайн становится мощным инструментом для успеха бренда. Это не просто красивый внешний вид продукта или сайта — это. . .
КиберФорум - форум программистов, компьютерный форум, программирование
Powered by vBulletin
Copyright ©2000 - 2026, CyberForum.ru