Форум программистов, компьютерный форум, киберфорум
HTML, CSS
Войти
Регистрация
Восстановить пароль
Блоги Сообщество Поиск Заказать работу  
 
Рейтинг 4.73/15: Рейтинг темы: голосов - 15, средняя оценка - 4.73
4 / 4 / 2
Регистрация: 10.08.2015
Сообщений: 162

Откуда с правой стороны взялся margin?

23.08.2015, 22:09. Показов 3139. Ответов 9
Метки нет (Все метки)

Студворк — интернет-сервис помощи студентам
Появился справа margin в тегах #lists, #table_div хотя я b[ не задавал и при уменьшении страници эти теги и уезжают вниз. Как такое решить и главное откуда это взялось?
Собственно код:
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
211
212
213
214
215
216
217
218
<!DOCTYPE html>
<html>
    <head>
        <title>index_2</title>
        <link rel = "stylesheet" type = "text/css" href = "style.css">
        <meta charset = "utf-8">
    </head>
    <body id = "body">
        <div id = "header">
            <div id = "logo">
                <a href = "#"><h1><b><span class = "h_color">c</span>herry</b></h1></a>
                <span><b>Lorem ipsum dolor sit amet, consectetur adipisicing elit</b></span>
            </div>
            <div id = "serch">
                <input id = "serch_item" type = "text" name = "serch" placeholder = "Serch...">
                <a href = "#"><img src = "images/serch.png" id = "serch_img" alt = "serch" title = "serch"/></a>
            </div>
        </div>
        <div id = "content">
            <div id = "img_text">
                <h2><b><span class = "h_color">E</span>aten berry</b></h2>
                <div id = "text_2"><b>and go for a walk</b></div>
                <div id = "text_3"><b>Today good weather...</b></div>
                <div id = "text_4"> 
                    Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod<br/> 
                    tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,<br/>  
                    quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo<br/>  
                    consequat.
                </div>
            </div>
            <div id = "menu">
                <ul id = "menu_ul">
                    <li><b><a href = "#" class = "menu_ul_a">Home</a></b></li>
                    <li><b><a href = "#" class = "menu_ul_a">Sliders</a></b></li>
                    <li><b><a href = "#" class = "menu_ul_a">Portfolio</a></b></li>
                    <li><b><a href = "#" class = "menu_ul_a">Styles</a></b></li>
                    <li><b><a href = "#" class = "menu_ul_a">Blog</a></b></li>
                    <li><b><a href = "#" class = "menu_ul_a">Cherry</a></b></li>
                    <li><b><a href = "#" class = "menu_ul_a">Contact</a></b></li>
                </ul>
            </div>
            <div id = "href_3">
                <a href = "#">Home</a><span class = "slash">/</span>
                <a href = "#">Another page</a><span class = "slash">/</span>
                <a href = "#">This page</a>
            </div>
            <div id = "left_sidebar">
                <div id = "contact">
                    <p id = "inpuut_cont"><b>Contact Us</b></p>
                    <input type = "text" class = "input" placeholder = "Yor Name">
                    <input type = "text" class = "input" placeholder = "Daytime Number">
                    <input type = "text" class = "input" placeholder = "Email Address">
                    <input type = "text" class = "input" placeholder = "City">
                    <form action="" method="post">
                        <select class = "select_cont">
                            <option class = "select">Problem With</option>
                            <option class = "select">Item</option>
                            <option class = "select">Item</option>
                        </select>
                        <select class = "select_cont">
                            <option class = "select">Brand</option>
                            <option class = "select">Item</option>
                            <option class = "select">Item</option>
                        </select>
                    </form>
                    <input type = "submit" value = "Lorem ipsum dolor" id = "submit">
                </div>
                <div id = "sidebar">
                    <p><b>Headline</b></p>
                    <span>
                        Lorem ipsum dolor sit amet, 
                        consectetur adipisicing elit, sed do 
                        eiusmod tempor incididunt ut labore et 
                        dolore magna aliqua. Ut enim ad 
                        minim veniam, quis nostrud 
                        exercitation ullamco laboris nisi ut 
                        aliquip ex ea commodo
                    </span><br/><br/>
                    <span><a href = "#" class = "red_underline">More about</a></span>           
                </div>
            </div>  
            <div id = "right_sidebar">
                <div id = "wot_we_do">
                    <p class = "color_p"><b><span style = "color: #ae4b5d">W</span>hat We Do…</b></p>
                    <div id = "rs_text">
                        Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore
                        magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo
                        consequat. Duis aute irure dolor in <span class = "red_underline">reprehenderit in voluptate velit esse</span> cillum dolore eu fugiat nulla pariatur.
                        Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
                    </div>
                </div>
                <div class = "foto">
                    Admin panel
                    <img class = "rc_foto" src = "images/foto_1_03.jpg" title = "foto" alt = "images/foto_1_03"/>
                </div>
                <div class = "foto">
                    Shortcodes
                    <img class = "rc_foto" src = "images/foto_2_03.jpg" title = "foto" alt = "images/foto_2_03"/>
                </div>
                <div class = "foto">
                    Videos
                    <img class = "rc_foto" src = "images/foto_3_03.jpg" title = "foto" alt = "images/foto_3_03"/>
                </div>
                <div id = "lists">
                    <p class = "color_p"><b><span style = "color: #ae4b5d">L</span>ists</b></p>
                    <div class = "fl_left">
                        <p class = "color_title"><b>List style type circle  </b><span class = "teg"><ul></span></p>
                        <ul class = "ul_color">
                            <li>Lorem ipsum dolor sit amet</li>
                            <li>Consectetur adipiscing elit</li>
                            <li>Facilisis in pretium nisl aliquet</li>
                            <li>Nulla volutpat aliquam velit
                                <ul class = "inner_ul">
                                    <li>Phasellus iaculis neque</li>
                                    <li>Purus sodales ultricies</li>
                                    <li>Vestibulum laoreet porttitor </li>
                                </ul>   
                            </li>
                            <li>Faucibus porta lacus fringilla vel</li> 
                            <li>Aenean sit amet erat nunc</li>
                        </ul>
                    </div>
                    <div class = "fl_left">
                        <p class = "color_title"><b>Unstyled  </b><span class = "teg"><ul classs=”unstyled”></span></p>
                        <ul class = "ul_color">
                            <li>Lorem ipsum dolor sit amet</li>
                            <li>Consectetur adipiscing elit</li>
                            <li>Facilisis in pretium nisl aliquet</li>
                            <li>Nulla volutpat aliquam velit</li>
                                <ul class = "inner_ul">
                                    <li>Phasellus iaculis neque</li>
                                    <li>Purus sodales ultricies</li>
                                    <li>Vestibulum laoreet porttitor</li>
                                </ul>
                            <li>Faucibus porta lacus fringilla vel</li>
                            <li>Aenean sit amet erat nunc</li>
                        
                        </ul>
                    </div>
                    <div class = "fl_left">
                        <p class = "color_title"><b>Ordered  </b><span class = "teg"><ol></span></p>
                        <ol class = "ul_color">
                            <li>Lorem ipsum dolor sit amet</li>
                            <li>Consectetur adipiscing elit</li>
                            <li>Facilisis in pretium nisl aliquet</li>
                            <li>Nulla volutpat aliquam velit</li>
                            <li>Faucibus porta lacus fringilla vel</li>
                            <li>Aenean sit amet erat nunc</li>
                        </ol>
                    </div>  
                </div>
                <div id = "table_div">
                    <p class = "color_p"><b><span style = "color: #ae4b5d">T</span>able</b></p>
                    <table id = "table">
                        <tr>
                            <td class = "first" id = "lt"><b></b></td>
                            <td class = "first"><b>Toranton rate</b></td>
                            <td class = "first"><b>Puranocak var berond</b></td>
                            <td class = "first"><b>Intime modular to cavan</b></td>
                            <td class = "first" id = "rt"><b>Language</b></td>
                        </tr>
                        <tr>
                            <td class = "center">1</td>
                            <td>Lorem ipsum</td>
                            <td>Consectetur adipiscing elit</td>
                            <td>Consectetur adipiscing</td>
                            <td><a href = "#" class = "a_color">Lorem ipsum</a></td>
                        </tr>
                        <tr>
                            <td class = "center">2</td>
                            <td>Modul caram</td>
                            <td>Remation vore undocost</td>
                            <td>Remation vore undocost</td>
                            <td><a href = "#" class = "a_color">Modul caram</a></td>
                        </tr>
                        <tr>
                            <td class = "center">3</td>
                            <td>Victorian mor</td>
                            <td>Untable via costario more</td>
                            <td>Untable via costario more</td>
                            <td><a href = "#" class = "a_color">Victorian mor</a></td>
                        </tr>
                        <tr>
                            <td class = "center">4</td>
                            <td>Jacon van dor</td>
                            <td>Executive live anothre vy</td>
                            <td>Executive live anothre</td>
                            <td><a href = "#" class = "a_color">Jacon van dor</a></td>
                        </tr>
                        <tr>
                            <td class = "center">5</td>
                            <td>Inpuction mian</td>
                            <td>Nastiro macon puratece</td>
                            <td>Nastiro macon puratece</td>
                            <td><a href = "#" class = "a_color">Inpuction mian</a></td>
                        </tr>
                        <tr>
                            <td class = "center">6</td>
                            <td>Povatior naron</td>
                            <td>Gover nate foracent pore</td>
                            <td>Gover nate foracent</td>
                            <td><a href = "#" class = "a_color">Povatior naron</a></td>
                        </tr>
                        <tr>
                            <td class = "center" id = "lb">7</td>
                            <td>Inbug for cars</td>
                            <td>Overview cal the montre</td>
                            <td>Overview cal the montre</td>
                            <td id = "rb"><a href = "#" class = "a_color">Inbug for cars</a></td>
                        </tr>
                    </table>
                </div>
            </div>
        </div>
        <div id = "footer">
        </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
//div{
    outline: 1px solid black;   
}
a{
    text-decoration: none;
    
}
#body{
    margin: 0 auto;
    width: 1300px;
    height: 1620px;
    outline: 1px solid black;
    position: relative;
}
#header{
    height: 72px;
    width: 1300px;
    float: left;
    background: url('images/background.png') repeat-x;
}
#logo{
    height: 72px;
    width: 333px;
    margin-left: 160px;
    float: left;
}
.h_color{
    color: #ae4b5d;
}
 
#logo h1{
    margin: 0;
    text-transform: uppercase;
    font-size: 23px;
    color: #a5adb8; 
    padding-top: 20px;
    padding-left: 5px;
}
#logo >span{
    color: #a5adb8;
    font-size: 10px;
    padding-bottom: 15px;
    padding-left: 5px;
}
#serch{
    float: right;
    width: 270px;
    height: 72px;
    margin-right: 204px;
}
#serch_item{
    margin-left: 8px;
    margin-top: 19px;
    width: 200px;
    height: 30px;
    background: #24272d;
    border: 1px solid #ae4b5d;
    border-radius: 3px;
    color: #5b636e;
    padding-left: 5px;
    box-shadow: inset 0 7px 10px black;
}
#serch_item:focus{
    outline: none;
}
#serch_img{
    margin-top: 18px;
    margin-left: 5px;
    margin-right: 5px;
    float: right;
}
#content{
    position: absolute;
    margin-top: 72px;
    width: 980px;
    height: 1311px;
    background: gray;
    margin-left: 160px;
}
#img_text{
    width: 980px;
    height: 239px;
    background: url('images/cherry_03.jpg');
    
}
h2{
    font-size: 23px;
    color: #a5adb8; 
    padding-left: 38px;
    padding-top: 43px;
    margin: 0;
}
#text_2{
    color: #282d33;
    font-size: 17px;
    padding-left: 38px;
    padding-top: 2px;
}
#text_3{
    padding-left: 38px;
    color: #a5adb8;
    font-size: 17px;
    padding-top: 18px;
}
#text_4{
    color: #d9dcdf;
    padding-left: 38px;
    font-size: 13px;
    padding-top: 9px;
}
#menu{
    width: 980px;
    background: url('images/menu_fon_03.jpg');
}
#menu_ul{
    list-style: none;
    text-align: right;
    margin: 0;
}
#menu_ul li {
    display: inline-block; 
    height: 35px;
    line-height: 35px;  
    margin-left: 50px;
}
#menu_ul li:last-child{
    margin-right: 20px;
}
#menu_ul li a{
    color: #ffffff; 
}
.menu_ul_a{
    padding: 8px 0;
}
#menu_ul .menu_ul_a:hover{
    color: #2a2f36;
}
#href_3{
    height: 25px;
    background: url('images/fon_03.jpg');
}
#href_3 a{
    text-decoration: underline;
    color: red;
    font-size: 11px;
}
#href_3 a:first-child{
    margin-left: 25px;
}
#href_3 a:focus{
    text-decoration: none;
    color: #6b6f74;
}   
.slash{
    color: #6b6f74;
    margin-left: 2px;
}
#left_sidebar{
    float: left;
    width: 210px;
    height: 1008px;
    margin-left: 19px;
    
}
#contact{
    width: 208px;
    height: 410px;
    border: 1px solid #d8dbde;
    margin-top: 19px;
    background: #f3f3f3;
}
#inpuut_cont{
    margin: 0;
    color: #282d33;
    padding-left: 15px;
    padding-top: 19px;
    font-size: 20px;
    padding-bottom: 15px;
}
.input{
    width: 175px;
    height: 31px;
    border: 1px solid #fffcfc;
    margin-left: 12px;
    margin-right: 13px;
    margin-top: 13px;
    background: #e3e4e5;
    border-radius: 5px;
    color: #757575;
    padding-left: 9px;
    font-size: 13px;
    box-shadow: inset 0 2px 2px #cfcfd0;
}
.input:focus{
    outline: none;
}
.select_cont{
    height: 31px;
    width: 185px;
    border: 1px solid #a2a2a2;
    background: #e3e4e5;
    border-radius: 5px;
    margin: 13px 13px 0 13px;
    color: #989da1;
    padding-left: 9px;
}   
.select_cont:focus{
    outline: none;
}
.select{
    color: #989da1;
    padding-left: 9px;
}
#submit{
    width: 167px;
    height: 36px;
    background: url('images/submit_03.jpg');
    border: 5px solid #ffffff;
    margin-top: 16px;
    margin-left: 13px;
    color: #ffffff;
    text-shadow: 0 2px black;
    box-shadow: 0 8px 10px gray;
}
#submit:focus{
    outline: none;
}
#submit:active{
    outline: none;
    box-shadow: 0 4px 10px gray;
    margin-top: 17px;
}
#sidebar p{
    color: #282d33;
    font-size: 20px;
}
#sidebar span{
    color: #5c646e;
}   
.red_underline{
    color: #95161f;
    text-decoration: underline;
}
#right_sidebar{
    float: right;
    width: 745px;
    height: 1008px;
}
//#wot_we_do{
    width: 688px;
    height: 148px;
    margin-left: 27px;
    margin-top: 10px;
}
#wot_we_do p{
    text-align: left;
    color: #a5adb8; 
}
#rs_text{
    text-align: left;
    color: #5c646e;
    height: 90px;
    padding-right: 10px;
    padding-top: 10px;
    font-size: 14px;
    padding-left: 27px;
}
.foto{
    padding-top: 10px;
    height: 184px;
    width: 207px;
    color: #282d33;
    margin-left: 27px;
    float: left;
}
.rc_foto{
    margin-top: 10px;
    border: 1px solid white;
    box-shadow: 0 5px 10px gray;
}
#lists{
    width: 700px;
    height: 280px;
    margin-top: 200px;
    margin-left: 27px;
}
.fl_left{
    float: left;
    margin-right: 10px;
    margin-top: 5px;
}
.color_p{
    color: #a5adb8;
    padding-top: 5px;
    font-size: 20px;
    margin: 0;
    padding-top: 15px;
    padding-left: 27px;
}
.color_title{
    color: #5c646e;
}
.teg{
    background: #dedede;
    border-radius: 3px;
}
.ul_color{
    color: #5c646e;
    padding-left: 25px;
    font-size: 14px;
}
.inner_ul{
    list-style: disc;
    font-size: 14px;
}
#table_div{
    margin-left: 27px;
    width: 710px;
    height: 370px;
}
#table{
    border-collapse: collapse;
    width: 700px;
    margin-top: 15px;
}
.first{
    color: #ffffff;
    background: #9c4757;
    font-size: 15px;
    text-align: center; 
}
#lt{
    border-radius: 5px 0 0 0;
}
#rt{
    border-radius: 0 5px 0 0;
}
#lb{
    border-radius: 0 0 0 5px;
}
#rb{
    border-radius: 0 0 5px 0 ;
}
td{
    border-right: 1px solid #ffffff;
    border-bottom: 1px solid #ffffff;
    padding-left: 12px;
    color: #9da4af;
    padding: 10px;
    background: #282d33;
    font-size: 13px;
}
.center{
    text-align: center;
}
.a_color{
    color: #d08b98;
    text-decoration: underline; 
}
#footer{
    height: 237px;
    width: 1300px;
    position: absolute;
    margin-top: 1383px;
    background: url('images/footer_color_02.jpg');
}
0
Programming
Эксперт
39485 / 9562 / 3019
Регистрация: 12.04.2006
Сообщений: 41,671
Блог
23.08.2015, 22:09
Ответы с готовыми решениями:

Откуда взялся пароль?
Здравствуйте, тут такая проблема. Вобщем, у меня на ноутбуке откуда-то взялся пароль. Поставить никто не мог. И вот что странно, у меня...

Откуда взялся прокси?
Я как-то оказался за прокси, не знаю как, и не знаю как определить откуда он взялся, пров подсунул или у меня что, подскажите в общем как...

Откуда взялся ноль?
В самоучителе задан такой синтаксис: if a = 28 then WriteLn(f) else k:= 44; на этого синтаксиса составил программу. uses...

9
SF
Boo
142 / 117 / 55
Регистрация: 02.12.2013
Сообщений: 396
23.08.2015, 22:27
a4t_ech, У вас лишние теги

<ul>
HTML5
1
<p class = "color_title"><b>List style type circleВ*В*</b><span class = "teg"><ul></span></p>
<ul classs=”unstyled”>
HTML5
1
<p class = "color_title"><b>UnstyledВ*В*</b><span class = "teg"><ul classs=”unstyled”></span></p>
<ol>
HTML5
1
<p class = "color_title"><b>OrderedВ*В*</b><span class = "teg"><ol></span></p>
0
4 / 4 / 2
Регистрация: 10.08.2015
Сообщений: 162
23.08.2015, 23:33  [ТС]
Сорри, не понял ответ! Это заголовки списков, почему лишние?
0
707 / 309 / 191
Регистрация: 05.03.2015
Сообщений: 822
23.08.2015, 23:51
Цитата Сообщение от a4t_ech Посмотреть сообщение
Сорри, не понял ответ! Это заголовки списков, почему лишние?
он имел ввиду, что здесь у вас перекрытие тегов (ul, ol). Они открываются внутри абзаца, но нигде не закрываются. Впрочем это не решит вашей проблемы, которая заключается в неправильно заданной ширине проблемных блоков, вот они и вылезают за границы. Для ускорения процесса выложите архив
0
SF
Boo
142 / 117 / 55
Регистрация: 02.12.2013
Сообщений: 396
24.08.2015, 08:32
a4t_ech, Теперь надеюсь понятно будет, я за комментировал <!-- теги --> лишние теги.

HTML

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
211
212
213
214
215
216
217
218
<!DOCTYPE html>
<html>
    <head>
        <title>index_2</title>
        <link rel = "stylesheet" type = "text/css" href = "style.css">
        <meta charset = "utf-8">
    </head>
    <body id = "body">
        <div id = "header">
            <div id = "logo">
                <a href = "#"><h1><b><span class = "h_color">c</span>herry</b></h1></a>
                <span><b>Lorem ipsum dolor sit amet, consectetur adipisicing elit</b></span>
            </div>
            <div id = "serch">
                <input id = "serch_item" type = "text" name = "serch" placeholder = "Serch...">
                <a href = "#"><img src = "https://www.cyberforum.ru/images/serch.png" id = "serch_img" alt = "serch" title = "serch"/></a>
            </div>
        </div>
        <div id = "content">
            <div id = "img_text">
                <h2><b><span class = "h_color">E</span>aten berry</b></h2>
                <div id = "text_2"><b>and go for a walk</b></div>
                <div id = "text_3"><b>Today good weather...</b></div>
                <div id = "text_4"> 
                    Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod<br/> 
                    tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,<br/>  
                    quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo<br/>  
                    consequat.
                </div>
            </div>
            <div id = "menu">
                <ul id = "menu_ul">
                    <li><b><a href = "#" class = "menu_ul_a">Home</a></b></li>
                    <li><b><a href = "#" class = "menu_ul_a">Sliders</a></b></li>
                    <li><b><a href = "#" class = "menu_ul_a">Portfolio</a></b></li>
                    <li><b><a href = "#" class = "menu_ul_a">Styles</a></b></li>
                    <li><b><a href = "#" class = "menu_ul_a">Blog</a></b></li>
                    <li><b><a href = "#" class = "menu_ul_a">Cherry</a></b></li>
                    <li><b><a href = "#" class = "menu_ul_a">Contact</a></b></li>
                </ul>
            </div>
            <div id = "href_3">
                <a href = "#">Home</a><span class = "slash">/</span>
                <a href = "#">Another page</a><span class = "slash">/</span>
                <a href = "#">This page</a>
            </div>
            <div id = "left_sidebar">
                <div id = "contact">
                    <p id = "inpuut_cont"><b>Contact Us</b></p>
                    <input type = "text" class = "input" placeholder = "Yor Name">
                    <input type = "text" class = "input" placeholder = "Daytime Number">
                    <input type = "text" class = "input" placeholder = "Email Address">
                    <input type = "text" class = "input" placeholder = "City">
                    <form action="" method="post">
                        <select class = "select_cont">
                            <option class = "select">Problem With</option>
                            <option class = "select">Item</option>
                            <option class = "select">Item</option>
                        </select>
                        <select class = "select_cont">
                            <option class = "select">Brand</option>
                            <option class = "select">Item</option>
                            <option class = "select">Item</option>
                        </select>
                    </form>
                    <input type = "submit" value = "Lorem ipsum dolor" id = "submit">
                </div>
                <div id = "sidebar">
                    <p><b>Headline</b></p>
                    <span>
                        Lorem ipsum dolor sit amet, 
                        consectetur adipisicing elit, sed do 
                        eiusmod tempor incididunt ut labore et 
                        dolore magna aliqua. Ut enim ad 
                        minim veniam, quis nostrud 
                        exercitation ullamco laboris nisi ut 
                        aliquip ex ea commodo
                    </span><br/><br/>
                    <span><a href = "#" class = "red_underline">More about</a></span>           
                </div>
            </div>  
            <div id = "right_sidebar">
                <div id = "wot_we_do">
                    <p class = "color_p"><b><span style = "color: #ae4b5d">W</span>hat We Do…</b></p>
                    <div id = "rs_text">
                        Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore
                        magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo
                        consequat. Duis aute irure dolor in <span class = "red_underline">reprehenderit in voluptate velit esse</span> cillum dolore eu fugiat nulla pariatur.
                        Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
                    </div>
                </div>
                <div class = "foto">
                    Admin panel
                    <img class = "rc_foto" src = "https://www.cyberforum.ru/images/foto_1_03.jpg" title = "foto" alt = "https://www.cyberforum.ru/images/foto_1_03"/>
                </div>
                <div class = "foto">
                    Shortcodes
                    <img class = "rc_foto" src = "https://www.cyberforum.ru/images/foto_2_03.jpg" title = "foto" alt = "https://www.cyberforum.ru/images/foto_2_03"/>
                </div>
                <div class = "foto">
                    Videos
                    <img class = "rc_foto" src = "https://www.cyberforum.ru/images/foto_3_03.jpg" title = "foto" alt = "https://www.cyberforum.ru/images/foto_3_03"/>
                </div>
                <div id = "lists">
                    <p class = "color_p"><b><span style = "color: #ae4b5d">L</span>ists</b></p>
                    <div class = "fl_left">
                        <p class = "color_title"><b>List style type circleВ*В*</b><span class = "teg"><!-- <ul> --></span></p>
                        <ul class = "ul_color">
                            <li>Lorem ipsum dolor sit amet</li>
                            <li>Consectetur adipiscing elit</li>
                            <li>Facilisis in pretium nisl aliquet</li>
                            <li>Nulla volutpat aliquam velit
                                <ul class = "inner_ul">
                                    <li>Phasellus iaculis neque</li>
                                    <li>Purus sodales ultricies</li>
                                    <li>Vestibulum laoreet porttitor </li>
                                </ul>   
                            </li>
                            <li>Faucibus porta lacus fringilla vel</li> 
                            <li>Aenean sit amet erat nunc</li>
                        </ul>
                    </div>
                    <div class = "fl_left">
                        <p class = "color_title"><b>UnstyledВ*В*</b><span class = "teg"><!-- <ul classs=”unstyled”> --></span></p>
                        <ul class = "ul_color">
                            <li>Lorem ipsum dolor sit amet</li>
                            <li>Consectetur adipiscing elit</li>
                            <li>Facilisis in pretium nisl aliquet</li>
                            <li>Nulla volutpat aliquam velit</li>
                                <ul class = "inner_ul">
                                    <li>Phasellus iaculis neque</li>
                                    <li>Purus sodales ultricies</li>
                                    <li>Vestibulum laoreet porttitor</li>
                                </ul>
                            <li>Faucibus porta lacus fringilla vel</li>
                            <li>Aenean sit amet erat nunc</li>
                        
                        </ul>
                    </div>
                    <div class = "fl_left">
                        <p class = "color_title"><b>OrderedВ*В*</b><span class = "teg"><!-- <ol> --></span></p>
                        <ol class = "ul_color">
                            <li>Lorem ipsum dolor sit amet</li>
                            <li>Consectetur adipiscing elit</li>
                            <li>Facilisis in pretium nisl aliquet</li>
                            <li>Nulla volutpat aliquam velit</li>
                            <li>Faucibus porta lacus fringilla vel</li>
                            <li>Aenean sit amet erat nunc</li>
                        </ol>
                    </div>  
                </div>
                <div id = "table_div">
                    <p class = "color_p"><b><span style = "color: #ae4b5d">T</span>able</b></p>
                    <table id = "table">
                        <tr>
                            <td class = "first" id = "lt"><b></b></td>
                            <td class = "first"><b>Toranton rate</b></td>
                            <td class = "first"><b>Puranocak var berond</b></td>
                            <td class = "first"><b>Intime modular to cavan</b></td>
                            <td class = "first" id = "rt"><b>Language</b></td>
                        </tr>
                        <tr>
                            <td class = "center">1</td>
                            <td>Lorem ipsum</td>
                            <td>Consectetur adipiscing elit</td>
                            <td>Consectetur adipiscing</td>
                            <td><a href = "#" class = "a_color">Lorem ipsum</a></td>
                        </tr>
                        <tr>
                            <td class = "center">2</td>
                            <td>Modul caram</td>
                            <td>Remation vore undocost</td>
                            <td>Remation vore undocost</td>
                            <td><a href = "#" class = "a_color">Modul caram</a></td>
                        </tr>
                        <tr>
                            <td class = "center">3</td>
                            <td>Victorian mor</td>
                            <td>Untable via costario more</td>
                            <td>Untable via costario more</td>
                            <td><a href = "#" class = "a_color">Victorian mor</a></td>
                        </tr>
                        <tr>
                            <td class = "center">4</td>
                            <td>Jacon van dor</td>
                            <td>Executive live anothre vy</td>
                            <td>Executive live anothre</td>
                            <td><a href = "#" class = "a_color">Jacon van dor</a></td>
                        </tr>
                        <tr>
                            <td class = "center">5</td>
                            <td>Inpuction mian</td>
                            <td>Nastiro macon puratece</td>
                            <td>Nastiro macon puratece</td>
                            <td><a href = "#" class = "a_color">Inpuction mian</a></td>
                        </tr>
                        <tr>
                            <td class = "center">6</td>
                            <td>Povatior naron</td>
                            <td>Gover nate foracent pore</td>
                            <td>Gover nate foracent</td>
                            <td><a href = "#" class = "a_color">Povatior naron</a></td>
                        </tr>
                        <tr>
                            <td class = "center" id = "lb">7</td>
                            <td>Inbug for cars</td>
                            <td>Overview cal the montre</td>
                            <td>Overview cal the montre</td>
                            <td id = "rb"><a href = "#" class = "a_color">Inbug for cars</a></td>
                        </tr>
                    </table>
                </div>
            </div>
        </div>
        <div id = "footer">
        </div>
    </body>
</html>


Результат.

0
4 / 4 / 2
Регистрация: 10.08.2015
Сообщений: 162
24.08.2015, 10:02  [ТС]
Закомментировал как у Вас в примере, но при изменении масштаба таблица всеравно уезжает вниз. Может эти заголовки вынести в отдельный див?
0
SF
Boo
142 / 117 / 55
Регистрация: 02.12.2013
Сообщений: 396
24.08.2015, 10:25
a4t_ech, что бы все вместилось в один ряд вам надо хотя бы нужно указать минимальный размер ширины 755px а у вас 700px там 3 div'ам тесно становится ...

CSS
1
2
3
4
5
6
#lists{
    width: 700px;
    height: 280px;
    margin-top: 200px;
    margin-left: 27px;
}
0
4 / 4 / 2
Регистрация: 10.08.2015
Сообщений: 162
24.08.2015, 10:48  [ТС]
отправил арфих с файлами
Вложения
Тип файла: rar index_2.rar (3.6 Кб, 7 просмотров)
0
4 / 4 / 2
Регистрация: 10.08.2015
Сообщений: 162
24.08.2015, 11:18  [ТС]
вроде все исправил! пожалуйста оцените результат
Вложения
Тип файла: rar new_index_2.rar (3.6 Кб, 7 просмотров)
0
0 / 0 / 0
Регистрация: 26.10.2020
Сообщений: 1
27.10.2020, 16:50
a4t_ech , а как решили проблему?
0
Надоела реклама? Зарегистрируйтесь и она исчезнет полностью.
inter-admin
Эксперт
29715 / 6470 / 2152
Регистрация: 06.03.2009
Сообщений: 28,500
Блог
27.10.2020, 16:50
Помогаю со студенческими работами здесь

Откуда взялся ServiceLocator?!
Здравствуйте! Есть мой ноут и служебный. На обоих установлена Visual Studio Community 15 (32 бит). На моём Windows 10 (32 бит), на...

Откуда взялся этот отступ
Только начал сайт верстать и тут такая проблема, как убрать отступ?

Откуда взялся элемент в массиве?
var person = { func: function(name, age, ip) { this.name = name; this.age = age; this.ip = ip; return this } }; ...

Build Error 1. откуда взялся?
в универе простые задачки решали письменно, решила попробовать прогу создать по одной из простеньких что было. вроде все правильно,но...

откуда взялся тиц 140
У основного домена есть поддомены с нормальным тИЦ Сам домен не раскручивался, не продвигался.. имеет один бэк.. и тИЦ 140.. С...


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

Или воспользуйтесь поиском по форуму:
10
Ответ Создать тему
Новые блоги и статьи
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