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

вместо работы стилей или скриптов выводится на странице код

16.09.2012, 13:33. Показов 3821. Ответов 17
Метки нет (Все метки)

Студворк — интернет-сервис помощи студентам
Всем добрый день, тут такая проблемка возникла, если я вписываю скрипт или стили в самой html то у меня вместо того чтобы оно работало, просто выводит всё написанное на страницу в чём проблема может быть понять не могу, помогите пожалуйста
0
cpp_developer
Эксперт
20123 / 5690 / 1417
Регистрация: 09.04.2010
Сообщений: 22,546
Блог
16.09.2012, 13:33
Ответы с готовыми решениями:

Вместо результата работы скрипта выводится его php-код
Может у кого-нибудь есть возможность исправить мои ошибки, буду очень благодарна.

Переписать код в Delphi-йского на C++ Builder (выполнение скриптов на HTML странице)
Всем привет. Нагуглился код на Delphi, который выполняет скрипты на HTML странице: function ExecuteScript(doc: IHTMLDocument2; script:...

Вместо таблицы выводится код
Я создал таблицу в phpMyAdmin. Там есть три поля: -название -год -статус В html документе есть у меня такой код: ...

17
 Аватар для Vovan-VE
13210 / 6599 / 1041
Регистрация: 10.01.2008
Сообщений: 15,069
16.09.2012, 13:38
Код в студию.
Какие расширения имеют имене файлов?
0
 Аватар для StopSmell
293 / 169 / 29
Регистрация: 16.09.2012
Сообщений: 370
16.09.2012, 13:38
скрипты написаны между тегами head /head
Вбейте код в валидатор, он вам подскажет какие ошибки были допущены, возможно какие-нибудь теги не закрыты.
0
tribal dance
 Аватар для EPMAK
168 / 156 / 36
Регистрация: 03.09.2009
Сообщений: 820
Записей в блоге: 17
16.09.2012, 13:39
Цитата Сообщение от dimonesk Посмотреть сообщение
Всем добрый день, тут такая проблемка возникла, если я вписываю скрипт или стили в самой html то у меня вместо того чтобы оно работало, просто выводит всё написанное на страницу в чём проблема может быть понять не могу, помогите пожалуйста
может так
CSS
1
2
3
4
<style>
style{display:none!important}
script{display:none!important}
</style>
вставить данный код в html, в частность между <head></head>
0
3 / 3 / 1
Регистрация: 25.01.2010
Сообщений: 73
16.09.2012, 13:59  [ТС]
HTML5
1
2
3
4
5
6
7
<head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <link rel="stylesheet" type="text/css" href="1.css">
        <link rel="stylesheet" type="text/javascript" href="script.js">
        <link rel="stylesheet" type="text/javascript" href="jquery.js">
        
    </head>
именна сама страничка html и остальные те которые прописаны в head

Добавлено через 10 минут
да не только скрипты он ругается даже на <title> в ксс вроде всё закрыто но при удалении подключения ксс у меня всё начинат работать
0
tribal dance
 Аватар для EPMAK
168 / 156 / 36
Регистрация: 03.09.2009
Сообщений: 820
Записей в блоге: 17
16.09.2012, 14:00
Цитата Сообщение от dimonesk Посмотреть сообщение
<link rel="stylesheet" type="text/javascript" href="script.js">
пишите так
JavaScript
1
<script src="script.js"></script>
0
 Аватар для StopSmell
293 / 169 / 29
Регистрация: 16.09.2012
Сообщений: 370
16.09.2012, 14:02
Все таки проверьте код в валидаторе http://validator.w3.org/ на наличие ошибок
0
3 / 3 / 1
Регистрация: 25.01.2010
Сообщений: 73
16.09.2012, 14:15  [ТС]
Цитата Сообщение от StopSmell Посмотреть сообщение
Все таки проверьте код в валидаторе http://validator.w3.org/ на наличие ошибок
из всего существенное только то что пишет end tag for "HEAD" which is not finished но у меня этот тег закрыт а на него всё равно ругается
0
 Аватар для StopSmell
293 / 169 / 29
Регистрация: 16.09.2012
Сообщений: 370
16.09.2012, 14:19
Выше читайте вам написал человек, javascriptы не правильно подключены
0
3 / 3 / 1
Регистрация: 25.01.2010
Сообщений: 73
16.09.2012, 14:23  [ТС]
Цитата Сообщение от StopSmell Посмотреть сообщение
Выше читайте вам написал человек, javascriptы не правильно подключены
написал так как подсказали, всё равно такая же байда, я же говорю помогает если я удалю полностью подключение ксс, в ксс вроде как всё правильно

Добавлено через 2 минуты
даже если удалить подключение ксс, и написать всё в теге <style> тоже самое, а вот если вообще ксс убрать и написать скрипт то он работает
0
 Аватар для StopSmell
293 / 169 / 29
Регистрация: 16.09.2012
Сообщений: 370
16.09.2012, 14:27
Не верю что проблема в сss. Напишите полностью html структуру документа (можно без контента) и css
0
3 / 3 / 1
Регистрация: 25.01.2010
Сообщений: 73
16.09.2012, 14:29  [ТС]
Цитата Сообщение от StopSmell Посмотреть сообщение
Не верю что проблема в сss. Напишите полностью html структуру документа (можно без контента) и css
HTML5
1
2
3
4
5
6
7
8
9
10
11
12
13
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <link rel="stylesheet" type="text/css" href="1.css">
        <script src="script.js"></script>
        <script src="jquery.js"></script>
        
    </head>
    <body>
        
        
    </body>
</html>
0
 Аватар для StopSmell
293 / 169 / 29
Регистрация: 16.09.2012
Сообщений: 370
16.09.2012, 14:35
Пропишите doctype и type javascript'ам
HTML5
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<!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">
        <link rel="stylesheet" type="text/css" href="1.css">
        <script type="text/javascript" src="script.js"></script>
        <script type="text/javascript" src="jquery.js"></script>
        
    </head>
    <body>
        
        
    </body>
</html>
И еще css выложите
0
3 / 3 / 1
Регистрация: 25.01.2010
Сообщений: 73
16.09.2012, 14:43  [ТС]
Цитата Сообщение от StopSmell Посмотреть сообщение
Пропишите doctype и type javascript'ам
<!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">
<link rel="stylesheet" type="text/css" href="1.css">
<script type="text/javascript" src="script.js"></script>
<script type="text/javascript" src="jquery.js"></script>

</head>
<body>


</body>
</html>

И еще 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
*{
 padding:0;
 margin:0;
 display:block; 
}
 
 
 
#divtop{
    width:900px;
    margin:0 auto;  
    height:auto;
}
 
a{
    text-decoration:none;
    color:#b49d03;
}
 
 
#carusel{
    visibility:hidden;
    z-index:1;
    float: left;
    margin-left: 260px;
    top: 169px;
    width: 819px;
    height: 409px;
    position:absolute;
    background-image: url(images/carusel/caruselfon.png)
}
 
#fonshapka{
    
    position: absolute;
        
}
 
#fonmiddle{
    padding-top:130px;
    width:1300px;
    margin:0 auto;  
    height:auto;
}
 
#fontdownmiddle{
    height:auto;
    position:absolute;
}
 
 
 
#text{
    top: -315px;
    left: 505px;
    margin: 0 auto;
    position: absolute;
    width: auto;
}
 
#action{
    
    top: 135px;
    padding-left:207px;
    margin:0 auto;
    position:absolute;
}
 
#new{
    padding-left:170px;
margin: 0 auto;
top: 131px;
position: absolute;
}
 
#gameraffle{
    float:right;
    top: -635px;
    left: 427px;
    margin: 0 auto;
    position: absolute;
    width: 500px;
}
 
#podrobnee{
    border-radius:5px;
    -moz-border-radius:5px;
    -webkit-border-radius:5px;
    -o-border-radius:5px;
    top: -158px;
    left: 444px;
    margin: 0 auto;
    position: absolute;
    width: auto;
    cursor: pointer;
}
 
 
#textdogs{
    font-family: 'Comic Sans MS', cursive;
    top:45px;
    left:400px;
    width:auto;
    height:auto;
    text-align:center;
    position:absolute;
}
 
 
#footer{
    top:780px;
    position:absolute;
}
 
#news{
    padding-left:150px;
    top:565px;
    position:absolute;
}
 
#raz {
        top:45px;
        position:absolute;
}
 
#two {
    left:310px;
    top:40px;
    position:absolute;
    }
    
#three {
    left:370px;
    top:38px;
    position:absolute;
}
 
#button {
    position:absolute;
    left:400px;
    top:93px;
}
 
li {
    padding-right:5px;
    display:inline-block;
}
 
 
pre{overflow: scroll; width: 500px;}
 
.slider /* MODIFIER */
{
    position: absolute;
    display: inline-block;
    z-index:0;    
} 
.slider .slider__img
{
    margin: 0px;
}
.slider .slider__radio
{
    display: none;
}
.slider .slider__number
{
    bottom: 10px;
    display: inline-block;
    z-index: 2;
    width: 21px;
    height: 20px;
    transition: all 0.1s linear;
    -moz-transition: all 0.1s linear;
    -webkit-transition: all 0.1s linear;
    -o-transition: all 0.1s linear;
    border: 1px solid #ccc;
    border-color: #e6e6e6 #e6e6e6 #bfbfbf;
    text-align: center;
    cursor: pointer;
    font: 14px/20px arial, tahoma, verdana;
    
}
.slider .slider__number-list
{
    position: relative;
    bottom: 315px;
    right: -223px;
    
}
.slider .slider__item
{
    opacity: 1.0;
    position: relative;
    transition: opacity 0.0s linear 0.2s;
    -moz-transition: opacity 0.0s linear 0.2s;
    -webkit-transition: opacity 0.0s linear 0.2s;
    -o-transition: opacity 0.0s linear 0.2s;
}
.slider .slider__item:not(.ie)
{
    opacity: 0.0;
}
 
 
.image-tape:hover .image-tape__item,
.image-tape:hover .image-tape__number-after
{
    -moz-animation-play-state: paused;
/*  -webkit-animation-play-state: paused; */
    -o-animation-play-state: paused;
    animation-play-state: paused;
}
 
.slider .slider__item ~ .slider__item
{
    position: absolute;
    top: 0px;
    left: 0px;
    opacity: 0.0;
}
.slider .slider__radio:nth-of-type(1):checked ~ .slider__number-list .slider__number:nth-of-type(1),
.slider .slider__radio:nth-of-type(2):checked ~ .slider__number-list .slider__number:nth-of-type(2),
.slider .slider__radio:nth-of-type(3):checked ~ .slider__number-list .slider__number:nth-of-type(3),
.slider .slider__radio:nth-of-type(4):checked ~ .slider__number-list .slider__number:nth-of-type(4),
.slider .slider__radio:nth-of-type(5):checked ~ .slider__number-list .slider__number:nth-of-type(5)
{
    color: #fff;
}
.slider .slider__radio:nth-of-type(1):checked ~ .slider__item:nth-of-type(1),
.slider .slider__radio:nth-of-type(2):checked ~ .slider__item:nth-of-type(2),
.slider .slider__radio:nth-of-type(3):checked ~ .slider__item:nth-of-type(3),
.slider .slider__radio:nth-of-type(4):checked ~ .slider__item:nth-of-type(4),
.slider .slider__radio:nth-of-type(5):checked ~ .slider__item:nth-of-type(5)
{
    opacity: 1.0;
    transition: opacity 0.2s linear;
    -moz-transition: opacity 0.2s linear;
    -webkit-transition: opacity 0.2s linear;
    -o-transition: opacity 0.2s linear;
    z-index: 6;
}
 
/* autorotation of slides */
@keyframes slider__item-autoplay_count_2 {0%{opacity:0;}20%{opacity:1;}50%{opacity:1;}70%{opacity:0;}100%{opacity:0;}}
@keyframes slider__item-autoplay_count_3 {0%{opacity:0;}10%{opacity:1;}33% {opacity:1;}43% {opacity:0;}100%{opacity:0;}}
@keyframes slider__item-autoplay_count_4 {0%{opacity:0;}8% {opacity:1;}25% {opacity:1;}33% {opacity:0;}100%{opacity:0;}}
@keyframes slider__item-autoplay_count_5 {0%{opacity:0;}7% {opacity:1;}20%{opacity:1;}27% {opacity:0;}100%{opacity:0;}}
 
@-moz-keyframes slider__item-autoplay_count_2 {0%{opacity:0;}20%{opacity:1;}50%{opacity:1;}70%{opacity:0;}100%{opacity:0;}}
@-moz-keyframes slider__item-autoplay_count_3 {0%{opacity:0;}10%{opacity:1;}33% {opacity:1;}43% {opacity:0;}100%{opacity:0;}}
@-moz-keyframes slider__item-autoplay_count_4 {0%{opacity:0;}8% {opacity:1;}25% {opacity:1;}33% {opacity:0;}100%{opacity:0;}}
@-moz-keyframes slider__item-autoplay_count_5 {0%{opacity:0;}7% {opacity:1;}20%{opacity:1;}27% {opacity:0;}100%{opacity:0;}}
 
@-webkit-keyframes slider__item-autoplay_count_2 {0%{opacity:0;}20%{opacity:1;}50%{opacity:1;}70%{opacity:0;}100%{opacity:0;}}
@-webkit-keyframes slider__item-autoplay_count_3 {0%{opacity:0;}10%{opacity:1;}33% {opacity:1;}43% {opacity:0;}100%{opacity:0;}}
@-webkit-keyframes slider__item-autoplay_count_4 {0%{opacity:0;}8% {opacity:1;}25% {opacity:1;}33% {opacity:0;}100%{opacity:0;}}
@-webkit-keyframes slider__item-autoplay_count_5 {0%{opacity:0;}7% {opacity:1;}20%{opacity:1;}27% {opacity:0;}100%{opacity:0;}}
 
@-o-keyframes slider__item-autoplay_count_2 {0%{opacity:0;}20%{opacity:1;}50%{opacity:1;}70%{opacity:0;}100%{opacity:0;}}
@-o-keyframes slider__item-autoplay_count_3 {0%{opacity:0;}10%{opacity:1;}33% {opacity:1;}43% {opacity:0;}100%{opacity:0;}}
@-o-keyframes slider__item-autoplay_count_4 {0%{opacity:0;}8% {opacity:1;}25% {opacity:1;}33% {opacity:0;}100%{opacity:0;}}
@-o-keyframes slider__item-autoplay_count_5 {0%{opacity:0;}7% {opacity:1;}20%{opacity:1;}27% {opacity:0;}100%{opacity:0;}}
 
.slider .slider__number-after
{
    position: absolute;
    display: block;
    top: 1px;
    width: 26px;
    height: 20px;
    position: absolute;
    border-radius: 4px;
    margin: 0px;
    opacity: 0.0;
    color: #fff;
}
 
.slider.slider_count_2 .slider__item, .slider.slider_count_2 .slider__number-after
{
    animation: slider__item-autoplay_count_2 10s infinite;
    -moz-animation: slider__item-autoplay_count_2 10s infinite;
    -webkit-animation: slider__item-autoplay_count_2 10s infinite;
    -o-animation: slider__item-autoplay_count_2 10s infinite;
}
.slider.slider_count_3 .slider__item, .slider.slider_count_3 .slider__number-after
{
    animation: slider__item-autoplay_count_3 15s infinite;
    -moz-animation: slider__item-autoplay_count_3 15s infinite;
    -webkit-animation: slider__item-autoplay_count_3 15s infinite;
    -o-animation: slider__item-autoplay_count_3 15s infinite;
}
.slider.slider_count_4 .slider__item, .slider.slider_count_4 .slider__number-after
{
    animation: slider__item-autoplay_count_4 20s infinite;
    -moz-animation: slider__item-autoplay_count_4 20s infinite;
    -webkit-animation: slider__item-autoplay_count_4 20s infinite;
    -o-animation: slider__item-autoplay_count_4 20s infinite;
}
.slider.slider_count_5 .slider__item, .slider.slider_count_5 .slider__number-after
{
    animation: slider__item-autoplay_count_5 25s infinite;
    -moz-animation: slider__item-autoplay_count_5 25s infinite;
    -webkit-animation: slider__item-autoplay_count_5 25s infinite;
    -o-animation: slider__item-autoplay_count_5 25s infinite;
}
.slider .slider__item:nth-of-type(2), .slider .slider__number:nth-of-type(2) > .slider__number-after{animation-delay:5s;-moz-animation-delay:5s;-webkit-animation-delay:5s;-o-animation-delay:5s;}
.slider .slider__item:nth-of-type(3), .slider .slider__number:nth-of-type(3) > .slider__number-after{animation-delay:10s;-moz-animation-delay:10s;-webkit-animation-delay:10s;-o-animation-delay:10s;}
.slider .slider__item:nth-of-type(4), .slider .slider__number:nth-of-type(4) > .slider__number-after{animation-delay:15s;-moz-animation-delay:15s;-webkit-animation-delay:15s;-o-animation-delay:15s;}
.slider .slider__item:nth-of-type(5), .slider .slider__number:nth-of-type(5) > .slider__number-after{animation-delay:20s;-moz-animation-delay:20s;-webkit-animation-delay:20s;-o-animation-delay:20s;}
 
.slider .slider__radio:checked ~ .slider__item
{
    animation: none;
    -moz-animation: none;
    -webkit-animation: none;
    -o-animation: none;
}
.slider .slider__radio:checked ~ .slider__number-list .slider__number-after
{
    opacity: 0.0;
    animation: none;
    -moz-animation: none;
    -webkit-animation: none;
    -o-animation: none;
}
    
.slider .slider__number
{
    height: 21px;
    border: 0px;
    border-radius: 0px;
    background: transparent url(images/button1.png) no-repeat;
    box-shadow: none;
    font: 14px/29px arial, tahoma, verdana;
}
.slider .slider__number:hover
{
    background: transparent url(images/button2.png) no-repeat;
}
.slider .slider__radio:nth-of-type(1):checked ~ .slider__number-list .slider__number:nth-of-type(1),
.slider .slider__radio:nth-of-type(2):checked ~ .slider__number-list .slider__number:nth-of-type(2),
.slider .slider__radio:nth-of-type(3):checked ~ .slider__number-list .slider__number:nth-of-type(3),
.slider .slider__radio:nth-of-type(4):checked ~ .slider__number-list .slider__number:nth-of-type(4),
.slider .slider__radio:nth-of-type(5):checked ~ .slider__number-list .slider__number:nth-of-type(5)
{
    background: transparent url(images/button2.png);
}
.slider .slider__number_state_checked,
.slider .slider__number_state_checked:hover,
.slider .slider__number-after
{
    top: 0px;
    height: 27px;
    border-radius: 0px;
    background: transparent url(/images/button2.png);
    font: 14px/29px arial, tahoma, verdana !important; /* конфликт стилей amiro.ru */
}
 
 
/* ie8 */
.slider .slider__item{visibility: hidden\9;}
.slider .slider__item_state_checked{visibility: visible\9;}
 
/* ie7 */
*+html .slider .slider__item{visibility: hidden;}
*+html .slider .slider__item_state_checked{visibility: visible;}
 
/* ie6 */
* html .slider {height: 210px;}
* html .slider .slider__item {position: absolute;}
* html .slider .slider__item{visibility: hidden;}
* html .slider .slider__item_state_checked{visibility: visible;}
 
/* ie */
.slider .slider__number-after
{
    display: none \9; /* ie8 *//* for ie9 there is an opacity 0.0 */
    *display: none; /* ie7 */
    _display: none; /* ie6 */
}
.slider .slider__item_state_checked
{
    z-index: 5;
}
.slider .slider__number_state_checked
{
    color: #fff;
}
0
 Аватар для StopSmell
293 / 169 / 29
Регистрация: 16.09.2012
Сообщений: 370
16.09.2012, 14:45
Вот так еще попробуйте
HTML5
1
2
3
4
5
6
7
8
9
10
11
12
13
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
    <head>
    <title>Название</title>
    <meta http-equiv="content-type" content="text/html; charset=utf-8">
    <link rel="stylesheet" type="text/css" href="1.css">
    <script type="text/javascript" src="script.js"></script>
    <script type="text/javascript" src="jquery.js"></script>    
    </head>
    <body>
        
    </body>
</html>
0
3 / 3 / 1
Регистрация: 25.01.2010
Сообщений: 73
16.09.2012, 14:52  [ТС]
Цитата Сообщение от StopSmell Посмотреть сообщение
Вот так еще попробуйте
HTML5
1
2
3
4
5
6
7
8
9
10
11
12
13
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
    <head>
    <title>Название</title>
    <meta http-equiv="content-type" content="text/html; charset=utf-8">
    <link rel="stylesheet" type="text/css" href="1.css">
    <script type="text/javascript" src="script.js"></script>
    <script type="text/javascript" src="jquery.js"></script>    
    </head>
    <body>
        
    </body>
</html>
всё равно, счас вкладка называется <title>Название</title> и первая строчка на странице тоже название тип, бред какойто сколько раз делал никогда небыло такого
0
 Аватар для StopSmell
293 / 169 / 29
Регистрация: 16.09.2012
Сообщений: 370
16.09.2012, 15:00
А ну все понятно.
Пятая строка css. Вы зачем все элементы на странице назначили блочными. Удалите эту строку, так не делается никогда. Вот у вас и style и script все стали блоками.
0
3 / 3 / 1
Регистрация: 25.01.2010
Сообщений: 73
16.09.2012, 15:12  [ТС]
Цитата Сообщение от StopSmell Посмотреть сообщение
А ну все понятно.
Пятая строка css. Вы зачем все элементы на странице назначили блочными. Удалите эту строку, так не делается никогда. Вот у вас и style и script все стали блоками.
во я ступил)списибо большое за помощь)
0
Надоела реклама? Зарегистрируйтесь и она исчезнет полностью.
raxper
Эксперт
30234 / 6612 / 1498
Регистрация: 28.12.2010
Сообщений: 21,154
Блог
16.09.2012, 15:12
Помогаю со студенческими работами здесь

Вместо исполнения PHP-код выводится на экран в браузере
Добрый вечер, уважаемые пользователи форума. У меня браузер не поддерживает код PHP. У меня установлены Sublime Text 3 и OpenServer. Вот...

Считывание из файла: в результате вместо единицы выводится ее ASCII код
Считываю из файла, но в результате вместо 1 вижу ее ASCII код. В файле вектора из -1, 0, 1. Помогите, пожалуйста, сижу уже 2 день над...

PHP код, вместо того, чтобы обработаться - выводится в браузер.
Доброго времени суток! У меня возникла проблема на начальном этапе работы с php. Почему когда я открываю файл index.php в котором...

На странице отображатся HTML код вместо страницы . в IE9 и FireFox
Привет всем, обновли браузер и после входа в админку которую я разработал на php отображается HTML код вместо самой страницы! Как быть?

Подключение стилей и скриптов
Всем привет. Столкнулся с тем что нужно подключить css стиль в начале использовал как везде по стандарту типа &lt;link...


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

Или воспользуйтесь поиском по форуму:
18
Ответ Создать тему
Новые блоги и статьи
http://iceja.net/ сервер решения полиномов
iceja 18.01.2026
Выкатила http:/ / iceja. net/ сервер решения полиномов (находит действительные корни полиномов методом Штурма). На сайте документация по API, но скажу прямо VPS слабенький и 200 000 полиномов. . .
Расчёт переходных процессов в цепи постоянного тока
igorrr37 16.01.2026
/ * Дана цепь постоянного тока с R, L, C, k(ключ), U, E, J. Программа составляет систему уравнений по 1 и 2 законам Кирхгофа, решает её и находит: токи, напряжения и их 1 и 2 производные при t = 0;. . .
Восстановить юзерскрипты Greasemonkey из бэкапа браузера
damix 15.01.2026
Если восстановить из бэкапа профиль Firefox после переустановки винды, то список юзерскриптов в Greasemonkey будет пустым. Но восстановить их можно так. Для этого понадобится консольная утилита. . .
Сукцессия микоризы: основная теория в виде двух уравнений.
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
В современном мире, где конкуренция за внимание потребителя достигла пика, дизайн становится мощным инструментом для успеха бренда. Это не просто красивый внешний вид продукта или сайта — это. . .
Модель микоризы: классовый агентный подход 3
anaschu 06.01.2026
aa0a7f55b50dd51c5ec569d2d10c54f6/ O1rJuneU_ls https:/ / vkvideo. ru/ video-115721503_456239114
КиберФорум - форум программистов, компьютерный форум, программирование
Powered by vBulletin
Copyright ©2000 - 2026, CyberForum.ru