Sie sind nicht angemeldet.

[Templatefehler] Templatefehler

1

Mittwoch, 11. August 2010, 15:44

Templatefehler

Hey Leute,

also, ich hab das Problem bei meinem neu erstellten Template, dass es auf einer Code - Seite (die ich teils wegen JS benötige) total zerschossen ist. Naja, etwas übertrieben. Auf einer normalen Editor - Seite ist alles normal, aber sobald ich eine Code - Seite anlege, und diese sogar ohne Inhalt aufrufe, verschiebt sich mein Footer, und legt sich über den Content. Leider kann ich euch momentan keinen Link geben.

MfG blu

Werbung

JOE

Fortgeschrittener Benutzer

  • »JOE« ist männlich

Beiträge: 359

Paypal:

  • Nachricht senden

2

Mittwoch, 11. August 2010, 16:08

Tja ohne Link geht garnichts, wie sollen wir wissen wie der HTML und CSS Aufbau ist und wo die Fehler sind?

:kugel:



Signatur

Mancher lehnt eine gute Idee bloß deshalb ab, weil sie nicht von ihm ist!

Favorite Links
...............................................
SELFHTML
CSS4YOU
CSSMANIA
SELFPHP

Werbung

3

Mittwoch, 11. August 2010, 16:39

Gut, uploaden mag ich momentan nicht, also:

Inhalt der index.html

Quellcode

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
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="de" lang="de">
<head>
<?php page_header();?>
<link rel="stylesheet" href="http://localhost/homepage/includes/misc/nivo-slider.css" type="text/css" media="screen" />
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js" type="text/javascript"></script>
<script src="http://localhost/homepage/includes/misc/jquery.nivo.slider.pack.js" type="text/javascript"></script>
</head>

<body id="top">
</body>

<div id="layer2">

	<div id="info">
		<div id="header">
						<div id="logo">
						   <?php page_logo(); ?>
        				</div>
        				<div id="menu">
        					<?php page_dropdown("0"); ?>
        				</div>

     	</div>
	</div>

   	<div id="layer">
            <div id="contenttop"></div>
       		<div id="content">
            		<div id="text">
           		<?php page_content(); ?>
            		</div>
        	</div>
        

        	<div id="footer">

			<div style="position: absolute; width: 80px; height: 20px; display: block; background: #6b6b6b; font-size: 9px; margin-left: 730px; padding-top: 0px; margin-top: 0px; padding-left: 10px;"><a href="#top">NACH OBEN</a></div>
			<div style="color: #666666; font-size: 9px; margin-left: 10px; margin-top: 30px; float: left;"><?php page_footer(); ?></div>

				</div>
        	</div>

	</div>

</div>
</html>


Die main.css

Quellcode

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
/* - HTML + BODY STYLE - */


* {

	margin: 0px;
	padding: 0px;

}
 
html {

	width: 100%;
	height: 100%;
	text-align: center;

}

body {

	width: 100%;
	height: 100%;
	font-size: 11px;
	line-height: 18px;
	color: #333; 
	font-family: "Verdana", "Tahoma" , "Arial" , "MS Sans Serif";
	margin: 0px auto;
	text-align: center;
	background: url('../images/body.jpg') repeat;

}


/* - TABELLEN EINGENSCHAFTEN - */


td {

	font-size: 11px;
	line-height: 18px;
	font-family: "Verdana", "Tahoma" , "Arial" , "MS Sans Serif";

}


/* - MISC STYLE - */


ul {

	margin: 0px;
	padding: 0px;

}

li {

	list-style: none;

}

form {

	margin: 0px;
	padding: 0px;

}

img {

	border: none;

}


/* - FLOAT CLEANER - */


#cleaner {

	clear: both;
	height: 0px;
	font-size: 0px;
	display: block;
	width: 100%;

}


/* - STANDARD LINK FORMATIERUNG - */


a {

	color: #333;
	text-decoration: none;

}

a:hover {

	color: #333;
	text-decoration: underline;

}

/* - INFO ZEILE - */

#info {
	
	width: 860px;
	height: 190px;
	margin: auto;
	z-index: 100;
}

/* - LAYER + CONTAINER - */


#layer {

	width: 860px;
	position: relative;
	margin: 0px auto;
	text-align: left;

}

#layer2 {

	width: 100%;
	height: 648px;
	position: relative;
	margin: auto;
}

/* - HEADER - */

#header {
	
	width: 860px;
	height: 190px;
	margin: auto;
	background: url('../images/bglogo.png') no-repeat;

}



/* - INPUT FELDER VORBEREITET FÜR SUCHE - */


#header form input.formular {
	
	width: 140px;
	height: 18px;
	padding: 4px 0px 0px 5px;
	margin: 2px 0px 2px 0px;
	background: #fff;
	border: 1px solid #dfdfdf;
	font-size: 11px;
	color: #dfdfdf;
	font-family: "Verdana";
	position: absolute;
	right: 35px;
	top: 30px;	
	
}

#header form input.button {
	
	width: 10px;
	height: 20px;
	padding: 0px;
	margin: 0px;
	border: none;
	font-size: 0px;
	background: url('../images/suche_button.gif') no-repeat;
	cursor: pointer;
	font-family: "Verdana";
	position: absolute;
	right: 20px;
	top: 34px;	
	
}


/* - MENU LAYER - */
#logo {
	
	width: 400px;
	height: 190px;
	float: left;
	position: relative;
	margin-left: 0px;
	margin-top: 0px;
	z-index: 1;
}


#menu {

	width: 460px;
	height: 36px;
	top: 135px;
	left: 570px;
	position: relative;
	margin-left: 0px;
	margin-top: 0px;
	text-align: left;
	z-index: 2;
}

#menu ul {
	
	padding: 0px;
	margin: 0px auto;	
	position: absolute;
	top: 5px;
	z-index: 10;
	
}

#menu ul li {
	padding: 0px;
	margin-left: 10px;
	float: left;
	list-style: none;
	position: relative;
	z-index: 1;	
}


/* - MENU LINKS - */


#menu ul li a {
	
	height: 10px;
	display: block;
	color: #fff;
	text-decoration: none;
	line-height: 9px;
	padding: 7px 7px;
	font-size: 12px;
	text-transform: uppercase;
	
}

#menu ul li a:hover {
	
	height: 10px;
	display: block;
	color: #fff;
	text-decoration: none;
	line-height: 9px;
	padding: 7px 7px;
	margin: 0px;
	font-size: 12px;
	border-bottom: 3px solid #7b1717;
	text-transform: uppercase;
	
}

#menu ul li a.aktiv, #menu ul li a:hover.aktiv {
	
	height: 10px;
	display: block;
	color: #fff;
	text-decoration: none;
	line-height: 9px;
	padding: 7px 7px;
	margin: 0px;
	font-size: 12px;
	border-bottom: 3px solid #7b1717;
	text-transform: uppercase;

}


/* - DROP DOWN MENÜ - */


#menu table {

	position: absolute;
	z-index: 10;
	border: none;
	
}

#menu ul li ul {
	
	visibility: hidden;
	position: absolute;
	top: 25px;
	display: block;
	text-align: left;
	border: 1px solid #e1ded7;
	border-top: 1px solid #fff;
	border-bottom: none;
	margin: 0px;
	padding: 0px;
	background: #fff;

}

#menu ul li ul li {
	
	border: none;
	border-bottom: 1px solid #e1ded7;
	margin: 0px;
	padding: 0px;
	background: #fff;
	
}

#menu ul li:hover ul, #menu ul a:hover ul {
	
	visibility: visible;
	
}

#menu ul li ul li a {
	
	width: 160px;
	height: 24px;
	display: block;
	padding: 0px 12px 2px 12px;
	text-decoration: none;
	line-height: 24px;
	font-size: 11px;
	color: #333;
	background: #fff;
	margin: 0px;
	border: none;
	
}

#menu ul li ul li a:hover {
	
	width: 160px;
	height: 24px;
	display: block;
	padding: 0px 12px 2px 12px;
	text-decoration: none;
	line-height: 24px;
	font-size: 11px;
	color: #000;
	background: #c4d9f3;
	margin:0px;
	border: none;
}

#menu ul li ul li a.aktiv {
	
	width: 160px;
	height: 24px;
	display: block;
	padding: 0px 12px 2px 12px;
	text-decoration: none;
	line-height: 24px;
	font-size: 11px;
	color: #000;
	background: #c4d9f3;
	margin: 0px;
	border: none;

}

#menu ul li ul li a.aktiv:hover	{
	
	width: 160px;
	height: 24px;
	display: block;
	padding: 0px 12px 2px 12px;
	text-decoration: none;
	line-height: 24px;
	font-size: 11px;
	color: #000;
	background: #c4d9f3;
	margin:0px;
	border: none;
	
}

/* - CONTENT LAYER - */

#contenttop {

	width: 858px;
	height: 12px;
	position: relative;
	margin: 0px auto;
	border: 1px solid #fff;
	-moz-border-radius-topleft: 10px;
	-moz-border-radius-topright: 10px;
	-khtml-border-radius-topleft: 10px;
	-khtml-border-radius-topright: 10px;
	background: #fff;


}

#content {

	width: 860px;
	padding: 20px 0px 30px 0px;
	background: #fff;
	position: relative;
	margin: 0px auto;
	text-align: left;
	overflow: hidden;

}


/* - TEXT - */


#content #text {
	
	width: 800px;
	padding: 0px 20px 0px 30px;
	line-height: 22px;
	
}


/* - TEXT : TAG STYLES - */


#content #text h1 { 

	font-size: 16px;
	font-weight: bold;
	margin: 0px 0px 20px 0px;
	color: #7b1717;
	font-family: "Arial";
	text-transform: uppercase;
	letter-spacing: 0px;

}

#content #text h2 { 

	font-size: 11px;
	font-weight: bold;
	margin: 0px 0px 20px 0px;
	color: #7b1717;
	font-family: "Verdana";
	text-transform: none;
	letter-spacing: 0px;

}

#content #text h3 { 

	font-size: 11px;
	font-weight: bold;
	margin: 0px 0px 15px 0px;
	color: #333;
	font-family: "Verdana";
	letter-spacing: 0px;

}

#content #text h4 { 

	font-size: 11px;
	font-weight: bold;
	margin: 0px 0px 15px 0px;
	color: #7b1717;
	font-family: "Verdana";
	letter-spacing: 0px;

}

#content #text h5 { 

	font-size: 11px;
	font-weight: bold;
	margin: 0px 0px 0px 0px;
	color: #333;
	font-family: "Verdana";
	letter-spacing: 0px;

}

#content #text h6 { 

	font-size: 11px;
	font-weight: normal;
	margin: 0px 0px 0px 0px;
	color: #AFAFAF;
	font-family: "Verdana";
	letter-spacing: 0px;

}

#content #text p {

	margin: 0px 0px 15px 0px;

}

#content #text table tr td {

	line-height: 22px;

}

#content #text hr {
         
	border-top: 1px solid #dfdfdf;
	border-right: 1px solid #fff;
	border-left: 1px solid #fff;
	border-bottom: 1px solid #fff;
	margin: 0px 0px 15px 0px;
	height: 2px;

}

#content #text a {

	color: #333;
	text-decoration: none;

}

#content #text a:hover {

	color: #333;
	text-decoration: underline;

}

#content #text ul {

	margin: 0px 0px 0px 15px;

}

#content #text ul li {

	list-style: square;
	line-height: 22px;

}

#content #text ul li ul li {

	list-style: square;
	line-height: 22px;
	margin: 0px 0px 0px 5px;

}

/* - FOOTER - */

#footer {

	background: #1b1b1b;
	border-top: 4px solid #6b6b6b;
	-moz-border-radius-bottomleft: 10px;
	-moz-border-radius-bottomright: 10px;
	-khtml-border-radius-bottomleft: 10px;
	-khtml-border-radius-bottomright: 10px;
	font-size: 9px;
	width: 860px;
	height: 60px;
	position: relative;
	margin: -30px auto 0 auto;
	color: #a6a6a6;1b1b1b;


}


#footer p {
	color: #afafaf;
	line-height: 25px;
}

#footer ul {
	width: 860px;
	padding: 0px;
	margin: 0px;
}

#footer a.cms2day_link, #footer a.cms2day_link:hover {
	text-decoration: none;
	font-weight: bold;
	color: #afafaf;
}


#footer a {
	color: #a6a6a6;
	text-decoration: none;
}

#footer a:hover {

	color: #fff;
	text-decoration: underline;
}


Die ie6.css

Quellcode

1
2
3
4
5
6
7
/* - IE6 HACKS - */

#content #text {

	height: 319px;

}


Denke das reicht.. global.css hat den Inhalt von jedem Standart cms2day - Template.

MfG blu

Werbung