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

Изменить горизонтальное меню - сделать автозакрытие выпадающего меню после отвода курсора

31.03.2014, 15:27. Показов 2741. Ответов 5
Метки нет (Все метки)

Студворк — интернет-сервис помощи студентам
Вообщем что имеем: http://test.aowserv.ru
имеется горизонтальное меню, при наведении на кнопку Пример появляется выпадающее меню. вообщем то суть проблемы:
при наведении на кнопку пример появляется выпадающее меню, но после отвода курсора от данной кнопки, или от самого выпадающего меню (соответственно) меню не скрывается - для этого приходится постоянно кликать по другим частям сайта. суть в том что когда таких "кнопок" с выпадающими меню много, а особенно если сами менюшки содержат много ссылок, это очень сильно мешает пользователю.

Помогите сделать автозакрытие выпадающего меню после отвода курсора от "кнопки" и от самого меню. заранее благодарен.

код:

CSS
1
2
3
4
5
6
7
8
9
10
11
12
13
#catmenu ul,
#catmenu ul li {background-image:url('../images/menu-sep.png');}
#catmenu ul li a,
#catmenu .u-menu a,
#catmenu .u-menu .u-menuvitem,
#catmenu .u-menu .u-menuitemhl a,
#search .schQuery input,.sidebox ul li a:hover,.sidebox .catsTable td a:hover,.sidebox .catsTable td a.catNameActive,.calTable .calMdayA,.calTable .calMdayIsA,.eDetails,.eDetails1,.eDetails2,.eDetails a,.eDetails1 a,.eDetails2 a,.eDetails a:hover,.eDetails1 a:hover,.eDetails2 a:hover,.pagesBlockuz1 b,.pagesBlockuz2 b,#pagesBlock1 b,#pagesBlock2 b,.pagesBlockuz1 a:hover,.pagesBlockuz2 a:hover,#pagesBlock1 a:hover,
#pagesBlock2 a:hover,.img-code,.uttsw ul a.selected,.uttsw ul a:hover, .uttsw ul a.selected:hover,.sidebox .uttsw ul li a:hover,.gTableTop a,a.catLink,a.catLink:hover,.gTableSubTop,.postTdTop,.gTableSubTop a,.postTdTop a,.postBottom a,.gTableSubTop a:hover,.postTdTop a:hover,.postBottom a:hover,.switchActive {color:#e6b1b1;}
#catmenu ul li a.uMenuItemA,#catmenu ul li a span.m-hov {background-image:url('../images/menu-hov.png');}
#catmenu .xw-mc {background-image:url('../images/submr.png');border-color:#bb4d4d;}
#catmenu .u-menu .u-menuitemhl {background-image:url('../images/submr-hov.png');color:#e6b1b1;}
#catmenu .u-menu .u-menuvitem {border-color:#bb4d4d;}
#catmenu .u-menuarrow {background-image:url('../images/arrow.gif');}
данный зверь не мой.. но очень не хотелось бы менять его на другое (вертикальное меню использует этот же стиль css)
0
Programming
Эксперт
39485 / 9562 / 3019
Регистрация: 12.04.2006
Сообщений: 41,671
Блог
31.03.2014, 15:27
Ответы с готовыми решениями:

Изменить вертикальное меню на горизонтальное
Program nm; Uses CRT; Var spisok: array of string; kod, kod1: char; n, i, p: byte; Procedure findd (n:byte); {âûâîä èíôîðìàöèè...

Как изменить цвет выпадающего меню
Столкнулся с такой вот проблемой.У меня на сайте движек Osclass в самом шаблоне много зеленого цвета.А вот когда создал дополнительные поля...

Изменить вид выпадающего меню QComboBox
Можно это штуку как-нибудь самому перерисовать?

5
Человек
 Аватар для dolte
331 / 205 / 63
Регистрация: 04.02.2013
Сообщений: 1,223
31.03.2014, 16:46
Всё меню пожалуйста, и используйте теги форматирования кода.
0
0 / 0 / 0
Регистрация: 31.03.2014
Сообщений: 4
31.03.2014, 17:08  [ТС]
я считал что весь код скинул, возможно что-то упустил - вам виднее даю весь css (не смог определить что ещё необходимо)

Кликните здесь для просмотра всего текста

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
body {margin:0;padding:0;background-color:transparent;font-family:Tahoma,Verdana,Century gothic,Arial,sans-serif;color:#a199b8;font-size:13px;}
.page-body {background:#567591 url('/images/overlay.jpg') center 0 no-repeat fixed;}
a {color:#d45959;text-decoration:none;}
a:hover {color:#e26262;text-decoration:underline;}
a,input,textarea {outline:none;}
img {border:none;margin:0;padding:0;}
legend {color:#a199b8!important;}
fieldset {background:url('/images/submg-hov.png');border:none;border-radius:9px;-moz-border-radius:9px;-webkit-border-radius:9px;}
h1,h2, h3, h4, h5, h6 {color:#a199b8;font-weight:bold;margin:0;padding:0;}
h1 {font-size:26px;} 
h2 {font-size:21px;}
h3 {font-size:19px;}
h4 {font-size:17px;}
h5 {font-size:15px;}
h6 {font-size:13px;}
ul {list-style:square;}
.clr {clear:both;}
hr {border:none;border-bottom:1px solid #3a3453;border-top:1px solid #282037;}
.hr {background:url('/images/hr.png') 0 0 repeat-x;display:block;height:2px;margin:5px 0;}
.wrapper {width:998px;padding:0;margin:0 auto;}
#header {}
#header .htop {padding:5px 20px 0 20px;background:url('/images/header.png') 0 bottom no-repeat;}
#header .hnames {float:left;width:720px;padding:9px 0 24px 0;}
#header h1,#header h2 {padding:0;margin:0;font-weight:normal;line-height:90%;}
#header h1 {font-size:46px;width:720px;height:42px;overflow:hidden;}
#header h1 a {color:#d2d2d2;text-decoration:none;padding:0;margin:0;}
#header h2 {font-size:13px;}
#header .htop-cont {background:url('/images/hr.png') 0 0 repeat-x;padding:8px 10px 0 10px;}
#header .usr-block {float:right;width:200px;padding:0 0 7px 0;}
#header .loginDiv span,#header .passwordDiv span,#header .rememberDiv,#header .logLnkSep {display:none;}
#header .loginDiv,#header .passwordDiv {width:120px;height:24px;background:url('/images/login-form.png') 0 0 no-repeat;padding:0 0 0 80px;overflow:hidden;}
#header .passwordDiv {background-position:0 -24px;margin:5px 0;}
#header .loginDiv input,#header .passwordDiv input {width:108px;height:24px;line-height:24px;padding:0;margin:0;background:none;border:none;color:#a199b8;}
#header .buttonDiv {float:right;width:46px;}
#header .buttonDiv input {padding:0;margin:0;width:46px;height:20px;overflow:hidden;text-indent:-10000px;border:none;background:url('/images/login-form.png') -200px 0 no-repeat;cursor:pointer;}
#header .buttonDiv input.hover {background-position:-200px -20px;}
#header .loginLinks {float:left;font-size:9px;width:154px;height:17px;overflow:hidden;padding:4px 0 0 0;white-space:nowrap;}
#header .logLnkRem,#header .logLnkReg {background:url('/images/login-form.png') -246px 0 no-repeat;padding:0 8px;color:#6b667e;}
#header .logLnkReg {background-position:-246px -15px;padding:0 0 0 9px;}
#header .usr-ava {width:56px;height:57px;float:left;background:url('/images/noavatar.png') 0 0 no-repeat;padding:2px 0 0 3px;}
#header .usr-ava img {width:53px;height:53px;}
#header .usr-info {width:136px;float:right;text-align:center;font-size:11px;}
#header .lgo-lnk {display:block;padding:5px 40px 0 0;}
#header .lgo-lnk a {padding:0 10px 0 0;background:url('/images/niceforms/btn.png') right -20px no-repeat;display:block;float:right;color:#a199b8;text-decoration:none;}
#header .lgo-lnk span {background:url('/images/niceforms/btn.png') 0 0 no-repeat;padding:0 0 0 10px;display:block;height:20px;line-height:20px;}
#header .lgo-lnk a:hover {background-position:right -60px;}
#header .lgo-lnk a:hover span {background-position:0 -40px;}
#header .hmenu {height:70px;background:url('/images/header.png') -998px 0 no-repeat;padding:0 20px;}
#catmenu {height:50px;float:left;width:720px;padding:0 0 0 10px;}
#catmenu ul {padding:0 0 0 1px;margin:0;list-style:none;height:50px;background:url('/images/menu-sep.png') 0 0 no-repeat;}
#catmenu ul li {float:left;padding:0 1px 0 0;margin:0;background:url('/images/menu-sep.png') right 0 no-repeat;}
#catmenu ul li a {position:relative;color:#e6b1b1;display:block;text-decoration:none;height:50px;line-height:50px;padding:0 10px;text-transform:uppercase;}
#catmenu ul li a.uMenuItemA {background:url('/images/menu-hov.png') 0 bottom repeat-x;}
#catmenu ul li a span {display:block;white-space:nowrap;height:50px;padding:0;z-index:15;position:relative;}
#catmenu ul li a span.m-hov {padding:0;background:url('/images/menu-hov.png') 0 bottom repeat-x;height:50px;width:100%;z-index:5;position:absolute;top:0;left:0;}
#catmenu .x-unselectable{margin:0;}
#catmenu .uMenuArrow {display:none;}
#catmenu .u-menubody {background:none;border:none;}
#catmenu .xw-tl,#catmenu .xw-bl,#catmenu .u-menuvsep {display:none;}
#catmenu .xw-ml,#catmenu .xw-mr {margin:0;padding:0;background:none;}
#catmenu .xw-mc {background:url('/images/submr.png');margin:0;border:1px solid #bb4d4d;border-bottom:none;}
#catmenu .u-menu a {text-decoration:none;color:#e6b1b1;cursor:pointer;}
#catmenu .u-menu .u-menuvitem {background:none;color:#e6b1b1;font-weight:normal;float:none;margin:0;border-bottom:1px solid #bb4d4d;line-height:30px;position:relative;padding: 0 16px;font-size:11px;}
#catmenu .u-menu .u-menuitemhl {background:url('/images/submr-hov.png');color:#e6b1b1;padding:0 16px;line-height:30px;}
#catmenu .u-menu .u-menuitemhl a {background:none;color:#e6b1b1;}
#catmenu .u-menuarrow {background:url('/images/arrow.gif') no-repeat 5px 6px;height:16px;width:16px;position:absolute;right:0;top:6px}
#search {width:200px;height:40px;overflow:hidden;padding:10px 10px 0 0;float:right;}
#search .search-box {padding:0 10px;width:180px;height:30px;background:url('/images/search.png') 0 0 no-repeat;}
#search form {margin:0;padding:0;}
#search .schQuery input {width:150px;margin:0;padding:0;border:none;height:30px;line-height:30px;font-size:12px;color:#e6b1b1;float:left;border:none;background:none;}
#search .schBtn input{float:right;margin:0;padding:0;height:30px;width:30px;overflow:hidden;text-indent:-10000px;background:none;border:none;cursor:pointer;}
#header .hbot {background:url('/images/header.png') -1996px bottom no-repeat;padding:0 30px 22px 30px;}
#header .hdate {float:left;}
#switcher {padding:0;margin:0;list-style:none;float:right;}
#switcher li {float:left; padding:0 0 0 5px;}
#switcher li a {display:block;width:12px;height:12px;margin:2px 0 0 0;text-indent:-10000px;background:url('/images/sidetitle.png');}
#switcher li a.screen2 {background:url('/images/violet/sidetitle.png');}
#switcher li a.screen3 {background:url('/images/blue/sidetitle.png');}
#switcher li a.screen4 {background:url('/images/gray/sidetitle.png');}
#switcher li a.screen5 {background:url('/images/brown/sidetitle.png');}
#switcher li a.on {width:16px;height:16px;margin:0;}
div.ut-spon a {display:none;}
#casing {}
#sidebar {width:244px;float:left;background:url('/images/sidebar.png') 0 0 no-repeat;padding:29px 0 0 0;}
#sidebar .sidebox {background:url('/images/sidebar.png') -248px 0 repeat-y;padding:0 15px 0 19px;}
#sidebar .side-bot {background:url('/images/sidebar.png') -496px bottom no-repeat;padding:0 0 29px 0;}
#sidebar .sidetitle {padding:10px 0 0 0;margin:0;width:210px;height:38px;overflow:hidden;background:url('/images/sidetitle.png') 0 0 no-repeat;font-size:14px;font-weight:normal;color:#e6b1b1;text-transform:uppercase;text-align:center;}
.sidebox .inner {padding:0 9px 9px 9px;}
.sidebox li {margin:0;list-style:none;background:url('/images/hr.png') 0 bottom repeat-x;padding:4px 10px 8px 0;}
.sidebox ul {padding:0;margin:-9px;width:210px;list-style:none;}
.sidebox ul li {padding:7px 10px;margin:0;background:url('/images/list-bg.png') 0 0 repeat-y;border-bottom:1px solid #403756;border-top:1px solid #2a243d;}
.sidebox ul li.hover {background-position:-210px 0;}
.sidebox ul li a,.sidebox .catsTable td a {background:url('/images/bullets.png') 0 center no-repeat;padding:0 0 0 22px;text-decoration:none;color:#a199b8;}
.sidebox ul li a:hover,.sidebox .catsTable td a:hover,.sidebox .catsTable td a.catNameActive {background-position:-212px center;color:#e6b1b1;}
.sidebox .catsTable td {background:url('/images/hr.png') 0 bottom repeat-x;padding:4px 10px 8px 0;}
.sidebox .catNumData {font-size:11px;}
#sidebar .x-unselectable{margin:0;}
#sidebar .uMenuArrow {display:none;}
#sidebar .u-menubody {background:none;border:none;}
#sidebar .xw-tl,#sidebar .xw-bl,#sidebar .u-menuvsep {display:none;}
#sidebar .xw-ml,#sidebar .xw-mr {margin:0;padding:0;background:none;}
#sidebar .xw-mc {background:url('/images/submg.png');margin:0;border:1px solid #554d69;border-bottom:none;}
#sidebar .u-menu a {text-decoration:none;color:#a199b8;cursor:pointer;}
#sidebar .u-menu .u-menuvitem {background:none;color:#a199b8;font-weight:normal;float:none;margin:0;border-bottom:1px solid #554d69;line-height:30px;position:relative;padding: 0 16px;font-size:11px;}
#sidebar .u-menu .u-menuitemhl {background:url('/images/submg-hov.png');color:#a199b8;padding:0 16px;line-height:30px;}
#sidebar .u-menu .u-menuitemhl a {background:none;color:#a199b8;}
#sidebar .u-menuarrow {background:url('/images/arrow-g.gif') no-repeat 5px 6px;height:16px;width:16px;position:absolute;right:0;top:6px}
.utsite {display:none;}
.sidebox .calTable{width:100%;}
.calTable td {text-align:center;background:url('/images/list-bg.png') 0 0 repeat-y;padding:5px;border-radius:3px;-moz-border-radius:3px;-webkit-border-radius:3px;}
.calTable .calWday {color:#a199b8;}
.calTable .calWdaySe,.calTable .calWdaySu {color:#e6b1b1;font-weight:bold;background:url('/images/sidetitle.png') 0 -2px no-repeat;}
.calTable .calMday {color:#a199b8;}
.calTable .calMdayA,.calTable .calMdayIsA {background-position:-210px 0;font-weight:bold;color:#e6b1b1;}
.calTable .calMdayIs {font-weight:bold;}
.calTable .calMdayIs a {}
.calTable .calMdayIs a:hover {}
.calTable .calMdayA a,.calTable .calMdayIsA a {}
#baseLogForm {display:block!important;}
#uidLogButton {display:none!important;}
#content {width:754px;float:left;padding:29px 0 0 0;background:url('/images/content.png') -4px 0 no-repeat;}
#content .cnt-bot {padding:0 0 29px 0;background:url('/images/content.png') -1520px bottom no-repeat;}
#content .cnt-mid {padding:0 28px 0 24px;background:url('/images/content.png') -762px 0 repeat-y;}
.cnt-mid p,.cnt-mid ul,.cnt-mid ol{margin-top:0;margin-bottom:0;}
 
#frm-box {padding:29px 0 0 0;background:url('/images/forum.png') 0 0 no-repeat;}
#frm-box .frm-top {padding:0 0 29px 0;background:url('/images/forum.png') -1996px bottom no-repeat;}
#frm-box .frm-bot {padding:0 28px;background:url('/images/forum.png') -998px 0 repeat-y;}
 
.eBlock {margin: 0 0 5px 0;padding:0;}
.eTitle {font-size:16px;color:#d45959;text-transform:uppercase;font-weight:normal;margin:0;padding:0 0 10px 0;background:url('/images/hr.png') 0 bottom repeat-x;}
.eDetails,.eDetails1,.eDetails2{background:url('/images/submr.png');color:#e6b1b1;padding:5px 10px;font-size:11px;border-radius:9px;-moz-border-radius:9px;-webkit-border-radius:9px;}
.eDetails a,.eDetails1 a,.eDetails2 a {color:#e6b1b1;text-decoration:underline;}
.eDetails a:hover,.eDetails1 a:hover,.eDetails2 a:hover {color:#e6b1b1;text-decoration:none;}
.eMessage,.eText {line-height:24px;padding:10px 0;margin:0;}
.eMessage p,.eText p{margin:0 0 5px 0;padding:0 0 5px 0;}
 
.pagesBlockuz1 b,.pagesBlockuz2 b,#pagesBlock1 b,#pagesBlock2 b {padding: 2px 6px 2px 6px;font-weight:normal;background:url('/images/list-bg.png') -210px 0 repeat-y;color:#e6b1b1;border-radius:3px;-moz-border-radius:3px;-webkit-border-radius:3px;}
.pagesBlockuz1 a,.pagesBlockuz2 a,#pagesBlock1 a,#pagesBlock2 a {padding: 2px 6px 2px 6px;text-decoration:none;color:#a199b8;background:url('/images/list-bg.png') 0 0 repeat-y;border-radius:3px;-moz-border-radius:3px;-webkit-border-radius:3px;}
.pagesBlockuz1 a:hover,.pagesBlockuz2 a:hover,#pagesBlock1 a:hover,#pagesBlock2 a:hover {background-position:-210px 0;color:#e6b1b1;}
 
#footer{padding:10px 20px 20px 20px;background:url('/images/footer.png') 0 0 no-repeat;font-size:10px;color:#27252d;}
#footer a{color:#27252d;}
.fleft{float:left;text-align:left;padding:0;line-height:16px;width:60%;}
.fright{float:right;text-align:left;padding:0;width:139px;}
.fright a {display:block;width:139px;height:32px;background:url('/images/ut-logo.png') 0 0 no-repeat;overflow:hidden;text-indent:-10000px;}
 
body .cBlock1,body .cBlock2 {margin:0 0 2px 0;padding:5px!important;background:url('/images/submg-hov.png');border:1px solid #554d69;border-radius:9px;-moz-border-radius:9px;-webkit-border-radius:9px;}
body.page-body .cBlock1,body.page-body .cBlock2 {margin:0 0 4px 0;padding:10px;background:url('/images/submg-hov.png');border:1px solid #554d69;border-radius:9px;-moz-border-radius:9px;-webkit-border-radius:9px;}
body .cBlock1 a,body .cBlock2 a {color:#c7c4d0;}
body .cBlock1 a:hover,body .cBlock2 a:hover {color:#c7c4d0;}
body.page-body .cBlock1 a,body.page-body .cBlock2 a {color:#d45959;}
body.page-body .cBlock1 a:hover,body.page-body .cBlock2 a:hover {color:#e26262;}
.cTop {padding:0 0 5px 0;background:url('/images/hr.png') 0 bottom repeat-x;}
body .cMessage {font-size:11px;padding:0;font-size:11px;}
body.page-body .cMessage {line-height:20px;padding:5px 0 0 0;font-size:12px;}
.cAnswer {padding:5px 0 0 15px;font-style:italic;color:#7a748a;}
.commTd1 {padding:5px 2px;}
.commSbmFl {}
.securityCode {}
.eAttach {margin:16px 0 0 0;padding: 0 0 0 15px;background: url('/images/attach.gif') 0 0 no-repeat;}
.eRating {font-size:8pt;}
.manTdError,.commError {color:#ff0000;}
.commReg {padding: 10px 0; text-align:center;}
a.groupModer:link,a.groupModer:visited,a.groupModer:hover {color:blue;}
a.groupAdmin:link,a.groupAdmin:visited,a.groupAdmin:hover {color:red;}
a.groupVerify:link,a.groupVerify:visited,a.groupVerify:hover {color:green;}
.replaceTable {}
.legendTd {font-size:8pt;}
.outputPM {border:1px dashed #554d69;margin:4px 0 4px 30px;}
.inputPM {border:1px dashed #554d69;margin:4px 0;}
.uTable {padding:0;background:none;}
.uTable td {background:url('/images/submg-hov.png');border:none;padding:2px 10px;border-radius:9px;-moz-border-radius:9px;-webkit-border-radius:9px;}
.eAttach .entryAttachSize {padding-left:4px;}
.manTable {text-align:left;}
.manTable .manTd1 {font-size:12px;line-height:14px;width:200px;}
.manTd2 br,.gTableBody1 br {clear:both;}
 
.popuptitle {font-size:14px;background:url('/images/hr.png') 0 bottom repeat-x;color:#a199b8;padding:0 0 10px 0;text-align:center;}
.popupbody {padding:10px 0 0 0;font-size:12px;}
.popupbody * {font-size:12px!important;}
.popuptable {margin:10px auto;}
.popuptable table {text-align:left;}
.popupbody a {color:#c7c4d0;text-decoration:underline;}
.popupbody a:hover {color:#c7c4d0;text-decoration:none;}
.popuptable .pop-lt {width:25px;height:25px;background:url('/images/pop-corn.png') 0 0 no-repeat;}
.popuptable .pop-t {background:url('/images/pop-hor.png') 0 0 repeat-x;}
.popuptable .pop-rt {width:25px;background:url('/images/pop-corn.png') -25px 0 no-repeat;}
.popuptable .pop-lm {background:url('/images/pop-vert.png') 0 0 repeat-y;}
.popuptable .pop-m {background:url('/images/pop.png') repeat;}
.popuptable .pop-rm {background:url('/images/pop-vert.png') -25px 0 repeat-y;}
.popuptable .pop-lb {background:url('/images/pop-corn.png') 0 -25px no-repeat;}
.popuptable .pop-b {background:url('/images/pop-hor.png') 0 -25px repeat-x;}
.popuptable .pop-rb {background:url('/images/pop-corn.png') -25px -25px no-repeat;}
 
 
 
 
 
 
 
.gTable {background:none;color:#a199b8;}
.gTableTop {background:url('/images/sidetitle.png') 0 0 repeat-x;color:#e6b1b1;padding:9px;border-radius:9px;-moz-border-radius:9px;-webkit-border-radius:9px;text-transform:uppercase;}
.gTableTop a {color:#e6b1b1;}
.gTableSubTop,.postTdTop {padding:3px 10px;background:url('/images/submr.png') repeat;color:#e6b1b1;font-size:11px;border-radius:9px;-moz-border-radius:9px;-webkit-border-radius:9px;}
.gTableSubTop a,.postTdTop a,.postBottom a,.gTableSubTop a:hover,.postTdTop a:hover,.postBottom a:hover {color:#e6b1b1;}
.gTableBody,.gTableBody1,.gTableBottom,.gTableError,.forumNameTd,.forumLastPostTd,.threadNametd,.threadAuthTd,.threadLastPostTd,.threadsType,.postPoll,.newThreadBlock,.newPollBlock,.newThreadBlock,.newPollBlock,.gTableRight,.postBottom,.codeMessage,.quoteMessage{padding:3px 10px;background:url('/images/submg.png') repeat;border:none;border-radius:9px;-moz-border-radius:9px;-webkit-border-radius:9px;}
.forumIcoTd,.forumThreadTd,.forumPostTd,.gTableLeft,.threadIcoTd,.threadPostTd,.threadViewTd,.postTdInfo,.posttdMessage {padding:3px 10px;background:url('/images/submg-hov.png') repeat;border:none;border-radius:9px;-moz-border-radius:9px;-webkit-border-radius:9px;}
.gTableLeft {font-weight:bold;}
.gTableError {color:#FF0000;}
.forumLastPostTd,.forumArchive {font-size:8pt;}
a.catLink {text-decoration:none;color:#e6b1b1;}
a.catLink:hover {color:#e6b1b1;text-decoration:underline;}
.lastPostGuest,.lastPostUser,.threadAuthor {font-weight:bold}
.archivedForum{font-size:8pt;color:#FF0000;font-weight:bold;}
.forum {font-weight:bold;font-size:9pt;}
.forumDescr {color:#867f99;font-size:8pt;}
div.forumModer {color:#a199b8;font-size:8pt;}
a.forumModer {color:#a199b8;}
.forumViewed {font-size:9px;}
.forumBarKw {font-weight:normal;}
a.forumBarA {text-decoration:none;color:#a199b8;}
a.forumBarA:hover {text-decoration:none;}
.fastLoginForm {font-size:8pt;}
.switch,.pagesInfo {padding: 2px 6px 2px 6px;text-decoration:none;color:#a199b8;background:url('/images/list-bg.png') 0 0 repeat-y;border-radius:3px;-moz-border-radius:3px;-webkit-border-radius:3px;}
.switchActive {padding: 2px 6px 2px 6px;font-weight:normal;background:url('/images/list-bg.png') -210px 0 repeat-y;color:#e6b1b1;border-radius:3px;-moz-border-radius:3px;-webkit-border-radius:3px;}
a.switchDigit,a.switchBack,a.switchNext {text-decoration:none;}
a.switchDigit:hover,a.switchBack:hover,a.switchNext:hover {text-decoration:underline;}
.threadLastPostTd {font-size:8pt;}
.threadDescr {color:#867f99;font-size:8pt;}
.threadNoticeLink {font-weight:bold;}
.threadsType {height:20px;font-weight:bold;font-size:8pt;}
.threadsDetails {height:20px;}
.forumOnlineBar {height:20px;}
a.threadPinnedLink {font-weight:bold;}
a.threadLink {color:#867f99;font-weight:bold;}
a.threadLink:hover {color:#867f99;}
.postpSwithces {font-size:8pt;}
.thDescr {font-weight:normal;}
.threadFrmBlock {font-size:8pt;text-align:right;}
.forumNamesBar {font-size:11px;padding:3px 0;}
.forumModerBlock {padding:3px 0;}
.postPoll {text-align:center;}
.postSeparator {height:1px;}
.postUser {font-weight:bold;}
.postRankName {margin-top:5px;}
.postRankIco {margin-bottom:5px;margin-bottom:5px;}
.reputation {margin-top:5px;}
.signatureHr {margin-top:20px;}
.postTdInfo {padding:10px;text-align:center;}
.posttdMessage {line-height:18px;padding:10px;}
.pollQuestion {text-align:center;font-weight:bold;} 
.pollButtons,.pollTotal {text-align:center;}
.pollSubmitBut,.pollreSultsBut {width:140px;font-size:8pt;}
.pollSubmit {font-weight:bold;}
.pollEnd {text-align:center;height:30px;}
.codeMessage,.quoteMessage {border:1px solid #282037!important;border-radius:5px;-moz-border-radius:5px;-webkit-border-radius:5px;font-size:10px;}
.signatureView {font-size:8pt;line-height:14px;} 
.edited {padding-top:30px;font-size:8pt;text-align:right;color:gray;}
.editedBy {font-weight:bold;font-size:8pt;}
.statusBlock {padding-top:3px;}
.statusOnline {color:#0000FF;}
.statusOffline {color:#FF0000;}
.newThreadItem {padding: 0 0 0 8px; background: url('/images/12.gif') no-repeat 0 4px;}
.newPollItem {padding: 0 0 0 8px; background: url('/images/12.gif') no-repeat 0 4px;}
.postNameFl,.postDescrFl {width:90%!important;}
.postPollFl,.postQuestionFl {width:90%!important;}
.postResultFl {width:50px}
.postAnswerFl {width:80%!important;}
.postTextFl {width:98%!important;height:150px}
.postUserFl {width:80%!important;}
.pollHelp {font-weight:normal;font-size:8pt;padding-top:3px;}
.smilesPart {padding-top:5px;text-align:center}
.userAvatar {padding:2px;background:url('/images/submg-hov.png') repeat;border:none;}
 
 
.checkbox {display:inline;font-size:12px;line-height:12px;cursor:pointer;}
.checkbox .mark {display:inline;width:12px;height:12px;padding:0 4px 0 0;}
.checkbox img {width:12px;height:12px;}
.checkbox img{background:url('/images/niceforms/checkbox.png') no-repeat;}
.checkbox img{background-position: 0 0;}
.checkbox-hover img{background-position:-12px 0;}
.checkbox-checked img{background-position:0 -12px;}
.checkbox-checked .checkbox-hover img {background-position:-12px -12px;}
.checkbox-disabled img{background-position:0 -24px;}
.checkbox-checked .checkbox-disabled img{background-position:0 -36px;}
.radio {display:inline;font-size:12px;line-height:12px;cursor:pointer;}
.radio .mark {display:inline;width:12px;height:12px;padding:0 4px 0 0;}
.radio img {width:12px;height:12px;}
.radio img{background:url('/images/niceforms/radio.png') no-repeat;}
.radio img{background-position: 0 0;}
.radio-hover img{background-position:-12px 0;}
.radio-checked img{background-position:0 -12px;}
.radio-checked .radio-hover img {background-position:-12px -12px;}
.radio-disabled img{background-position:0 -24px;}
.radio-checked .radio-disabled img{background-position:0 -36px;}
 
form.utTransformdone div.rowElem{clear:both;padding:4px 0;}
/* -------------
 * Buttons
 * ------------- */
button.uttb {margin:0 0 2px 0;padding:0;border:none;background-color:transparent;cursor:pointer;overflow:visible;white-space:nowrap;height:20px;}
button.uttb span.uttbl {background:url('/images/niceforms/btn.png') right -20px no-repeat;display:block;float:left;padding:0 10px 0 0;margin:0;height:20px;}
button.uttb_hover span.uttbl {background-position:right -60px;}
button.uttb span.uttbm {background:url('/images/niceforms/btn.png') 0 0 no-repeat;color:#a199b8;padding:0 0 0 10px;display:block;height:20px;}
button.uttb_hover span.uttbm {background-position:0 -40px;}
button.uttb span.uttbr {background:none;display:block;text-decoration:none;height:20px;font-weight:normal;font-size:11px;line-height:20px;padding:0;}
/* -------------
 * Inputs
 * ------------- */
.uttiw {background:url('/images/niceforms/input_text.png') right -24px no-repeat;height:24px;padding:0 10px 0 0;margin:0;float:left;}
.uttiw_focus .uttiw,.uttiw_hover .uttiw {background-position:right -72px;}
.uttii {padding:0;margin:0;background:url('/images/niceforms/input_text.png') 0 0 no-repeat;height:24px;padding:0 0 0 10px;}
.uttiw_focus .uttii,.uttiw_hover .uttii {background-position:0 -48px;}
.uttii input {font-size:12px!important;line-height:24px;vertical-align:middle;height:24px;color:#a199b8!important;border:none;padding:0;margin:0;background:none;border:none;}
/* -------------
 * Textarea
 * ------------- */
table.uttt td#uttt-mm textarea{font-size:12px;line-height:16px;}
#casing table.uttt textarea{margin:0;padding:0;border:0;background:none;color:#a199b8;}
table.uttt td#uttt-tl{background: url('/images/niceforms/textarea-corn.png') 0 0 no-repeat;}
table.uttt td#uttt-tm{background: url('/images/niceforms/textarea-hor.png') 0 0 repeat-x;}
table.uttt td#uttt-tr{background: url('/images/niceforms/textarea-corn.png') right 0 no-repeat;}
table.uttt td#uttt-ml{background: url('/images/niceforms/textarea-ver.png') 0 0 repeat-y;}
table.uttt td#uttt-mm{background: url('/images/niceforms/textarea.png');}
table.uttt td#uttt-mr{background: url('/images/niceforms/textarea-ver.png') right 0 repeat-y;}
table.uttt td#uttt-bl{background: url('/images/niceforms/textarea-corn.png') 0 bottom no-repeat;}
table.uttt td#uttt-bm{background: url('/images/niceforms/textarea-hor.png') 0 bottom repeat-x;}
table.uttt td#uttt-br{background: url('/images/niceforms/textarea-corn.png') right bottom no-repeat;}
/* -------------
 * Selects
 * ------------- */
.uttsw {position:relative;height:20px;float:left;margin:0;padding:0 1px 0 0;text-align:left!important;color:#a199b8;}
.uttsw span {font-size:11px;float:none;position:absolute;white-space:nowrap;height:20px;line-height:20px;overflow:hidden;cursor:pointer;background:url('/images/niceforms/select.png') 0 0 no-repeat;}
.uttsw a.uttso {display:block;position:absolute;right:1px;top:0;width:30px;height:20px;background:url('/images/niceforms/select.png') right -20px no-repeat;}
.uttsw a.uttso:hover {background-position:right -40px;}
.uttsw ul,.sidebox .uttsw ul {position:absolute;top:20px;left:0;list-style:none;background:url('/images/submg.png');border:1px solid #554d69;display:none;margin:0;padding:1px;height:150px;overflow:auto;z-index:10;border-radius:3px;-moz-border-radius:3px;-webkit-border-radius:3px;}
.uttsw ul a,.sidebox .uttsw ul li a {display:block;padding:2px 5px;text-decoration:none;color:#a199b8;font-size:11px;}
.uttsw ul a.selected {background:url('/images/submr.png');color:#e6b1b1;border-radius:3px;-moz-border-radius:3px;-webkit-border-radius:3px;}
.uttsw ul a:hover, .uttsw ul a.selected:hover,.sidebox .uttsw ul li a:hover {background:url('/images/submr.png');color:#e6b1b1;border-radius:3px;-moz-border-radius:3px;-webkit-border-radius:3px;}
.utth {display: none;}
.sidebox .uttsw ul {margin:0;width:auto;}
.sidebox .uttsw ul li {background:none;border:none;padding:0;margin:0;}
.sidebox .uttsw ul li a {background:none;}
.sel-mult {background:#2c2935;color:#a199b8;border:1px solid #554d69;border-radius:3px;-moz-border-radius:3px;-webkit-border-radius:3px;}
/* -------------
 * Choose File
 * ------------- */
.fileinput {position:relative;overflow:hidden; float:left;}
.fileinput .filebtn {background:url('/images/niceforms/choose-file.png') right -24px no-repeat;position:absolute;right:0;top:0;overflow:hidden;cursor:pointer;}
.fileinput .filehover {background-position:right -48px;}
.fileinput .chs-file {background:url('/images/niceforms/choose-file.png') 0 0 no-repeat;border:none;color:#a199b8;padding:0 0 0 10px;margin:0;}
/* -------------
 * Ucoz splinters
 * ------------- */
/* ------ combolists ------- */
#doSmbBt,.u-combobut {display:none;}
#casing .u-comboeditcell,#casing .u-combo {border:0!important;background:none!important;}
#casing .u-combolist {background:url('/images/submg.png');border:1px solid #554d69;color:#a199b8;border-radius:3px;-moz-border-radius:3px;-webkit-border-radius:3px;}
#casing .u-comboedit,#casing .u-comboeditimg {margin:0!important;padding:0!important;}
/* ------ registration ------- */
#uNetRegF table {text-align:left;}
#uNetRegF table table {clear:both;}
#uNetRegF table table td {padding:5px 0 0 0;}
#uNetRegF table .uttiw,#uNetRegF table .fileinput {margin:0 10px 0 0;}
#uNetRegF .blockdiv {clear:both;padding:5px 0 0 0;}
.manTable .manTd2 .uttii input {width:350px!important;}
.manTable .manTd2 .uttii input#fCode {width:60px!important;}
/* ------ text fields ------- */
input.commFl {width:450px!important;}
textarea.commFl {width:555px!important;}
textarea.manFl {width:674px!important;}
.img-code,.img-size {background:url('/images/submg.png');border:1px solid #554d69;color:#e6b1b1;font-size:11px;text-align:center;border-radius:3px;-moz-border-radius:3px;-webkit-border-radius:3px;}
.img-size {color:#a199b8;}
textarea.manFlBrief {width:350px!important;}
/* ------ other ------- */
.copy {clear:both;font-size:7pt;}
.noun {font-weight:bold;}
.div-inline {display:inline;background:none;padding:0;float:none;margin:0;border:none;}
.forumModerFuncs button {float:left;}
.answer {padding:4px 0 0 0;}
.fFastSearchTd {font-size:0;color:#000;}
.fFastSearchTd * {display:none;}
/* -------------
 * IE <8
 * ------------- */
body.no-bg {background-image:none;}
.old-browser {width:560px;padding:120px 0 0 0;margin:0 auto 0 auto;text-align:center;font-size:14px;color:#fff;}
.old-browser span {display:block;font-size:18px;padding:0 0 20px 0;font-weight:bold;}
.browsers {width:380px;margin:20px auto 0 auto;}
.browsers a {display:block;float:left;margin:0 10px;width:68px;height:80px;background:url('/images/browsers.jpg') 0 0 no-repeat;overflow:hidden;text-indent:-10000px;cursor:pointer;}
.browsers a.opera {background-position:-88px 0;width:76px;}
.browsers a.chrome {background-position:-188px 0;width:70px;}
.browsers a.safari {background-position:-292px 0;width:72px;}
0
Человек
 Аватар для dolte
331 / 205 / 63
Регистрация: 04.02.2013
Сообщений: 1,223
31.03.2014, 17:44
Я имел ввиду помимо css еще и html структуру.
Можно не всю
0
0 / 0 / 0
Регистрация: 31.03.2014
Сообщений: 4
31.03.2014, 17:51  [ТС]
HTML5
1
2
3
4
5
6
7
<div id="uMenuDiv2" class="uMenuH" style="position:relative;"><ul class="uMenuRoot">
<li><div class="umn-tl"><div class="umn-tr"><div class="umn-tc"></div></div></div><div class="umn-ml"><div class="umn-mr"><div class="umn-mc"><div class="uMenuItem"><a href="http://test.aowserv.ru"><span>Главная</span></a></div></div></div></div><div class="umn-bl"><div class="umn-br"><div class="umn-bc"><div class="umn-footer"></div></div></div></div></li>
<li><div class="umn-tl"><div class="umn-tr"><div class="umn-tc"></div></div></div><div class="umn-ml"><div class="umn-mr"><div class="umn-mc"><div class="uMenuItem"><a href="/forum"><span>Форум</span></a></div></div></div></div><div class="umn-bl"><div class="umn-br"><div class="umn-bc"><div class="umn-footer"></div></div></div></div></li>
<li style="position:relative;"><div class="umn-tl"><div class="umn-tr"><div class="umn-tc"></div></div></div><div class="umn-ml"><div class="umn-mr"><div class="umn-mc"><div class="uMenuItem"><div class="uMenuArrow"></div><a href="http://#"><span>Пример</span></a></div></div></div></div><div class="umn-bl"><div class="umn-br"><div class="umn-bc"><div class="umn-footer"></div></div></div></div><ul style="display:none;">
<li><div class="uMenuItem"><a href="//"><span>ссылка 1</span></a></div></li>
<li><div class="uMenuItem"><a href="//"><span>Ссылка 2</span></a></div></li></ul></li></ul></div><script type="text/javascript">$(function(){_uBuildMenu('#uMenuDiv2',1,document.location.href+'/','uMenuItemA','uMenuArrow',2500);})</script><!-- </bc> -->
<!-- </sblock_menu> --></div>
0
0 / 0 / 0
Регистрация: 31.03.2014
Сообщений: 4
02.04.2014, 08:02  [ТС]
товарищи мастера, окажите пожалуйста помощь
0
Надоела реклама? Зарегистрируйтесь и она исчезнет полностью.
inter-admin
Эксперт
29715 / 6470 / 2152
Регистрация: 06.03.2009
Сообщений: 28,500
Блог
02.04.2014, 08:02
Помогаю со студенческими работами здесь

сделать горизонтальное меню по центру
всем привет. у меня такая проблема. из за незнания CSS никак не могу сделать горизонтальное меню по центру. помогите пожалуйста. вот код с...

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

Как изменить положение выпадающего меню у ComboBox?
Господа, подскажите пожалуйста такую вещь: как изменить точку от которой отрисовывается выпадающий список элементов комбобокса? У меня...

Выпадающее горизонтальное меню, изменить размер ячеек подменю под текст
Как сделать чтобы ячейки выпадающего меню были другого размера? Скриншот прилагаю:

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


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

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