|
 |
Hintergrund ist mehrmals da!? |
BabyHanah

Hi.
 

Dabei seit: 23.10.2009
Beiträge: 878
Name: Lea :)
 |
|
Hintergrund ist mehrmals da!? |
 |
Hallo wie man hier sehen kann wiederholt sich der Hintergrund,aber ich habe im Code angegeben das der sich nicht wiederholen soll.
Was ist falsch?
Code:
code: |
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:
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Deckstation Nevada</title>
<style type="text/css">
<!--
body { scrollbar-highlight-color:#ffffff;
scrollbar-arrow-color:#ffffff;
scrollbar-3dlight-color:#e9bf95; scrollbar-base-color:#e9bf95;
scrollbar-darkshadow-color:#e9bf95;
scrollbar-face-color:#e9bf95;
scrollbar-shadow-color:#e9bf95;
background-image:url("http://dsnevada.bplaced.de/aufbaudesinevada.png");
background-position: top left; ( oben links, top right = oben rechts )
background-repeat: no-repeat; ( keine Wiederholung, repeat = Wiederholung )
background-color:#ffffff; }
-->
</style>
</head>
<body>
<div
style="position: absolute; width: 1px; left: 74px; top: 245px; height: 1px;">
<iframe name="main"
src="http://dsnevada.bplaced.de/wilkommen.html" style=""
;="" align="top right" frameborder="0"
height="450" scrolling="auto" width="500"> </iframe></div>
<div style="left: 650px; top: 284px; position: absolute;">
<iframe name="menu" src="http://dsnevada.bplaced.de/menu.html"
style="" ;="" align="top right" frameborder="0"
height="220" scrolling="auto" width="163"> </iframe></div>
<div style="left: 650px; top: 540px; position: absolute;">
<iframe name="untermenu"
src="http://dsnevada.bplaced.de/untermenu.html" style=""
;="" align="top right" frameborder="0"
height="210" scrolling="auto" width="162"> </iframe></div>
</body>
</html>
|
|
Hoffe ihr könnt mir helfen
__________________ # Love of my Live, my Soulmate.
|
|
27.07.2010 13:35 |
|
|
BabyHanah

Hi.
 

Dabei seit: 23.10.2009
Beiträge: 878
Name: Lea :)
Themenstarter
 |
|
Ich hab beides probiert und es funktioniert nicht
__________________ # Love of my Live, my Soulmate.
|
|
27.07.2010 13:44 |
|
|
Ceres

noch »34« Tage bis zum Sommeranfang
 

Dabei seit: 09.02.2005
Beiträge: 5.690
Herkunft: Bielefeld Name: Ally
 |
|
RE: Hintergrund ist mehrmals da!? |
 |
Ou man oO Leute, führt doch wenigstens nen ordentlichen code...da blickt doch kein Arsch durch.
code: |
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 HTML 4.01 Transitional//EN">
<html>
<head>
<title>Deckstation Nevada</title>
<style type="text/css">
<!--
body {
scrollbar-highlight-color:#ffffff;
scrollbar-arrow-color:#ffffff;
scrollbar-3dlight-color:#e9bf95; scrollbar-base-color:#e9bf95;
scrollbar-darkshadow-color:#e9bf95;
scrollbar-face-color:#e9bf95;
scrollbar-shadow-color:#e9bf95;
background-image: url("http://dsnevada.bplaced.de/aufbaudesinevada.png");
background-position: top left; ( oben links, top right = oben rechts )
background-repeat: no-repeat; ( keine Wiederholung, repeat = Wiederholung )
background-attachment: fixed;
background-color:#ffffff;
}
-->
</style>
</head>
<body>
<div style="position: absolute; width: 1px; left: 74px; top: 245px; height: 1px;">
<iframe name="main" src="http://dsnevada.bplaced.de/wilkommen.html" align="top right" frameborder="0" height="450" scrolling="auto" width="500">
</iframe>
</div>
<div style="left: 650px; top: 284px; position: absolute;">
<iframe name="menu" src="http://dsnevada.bplaced.de/menu.html" align="top right" frameborder="0" height="220" scrolling="auto" width="163">
</iframe>
</div>
<div style="left: 650px; top: 540px; position: absolute;">
<iframe name="untermenu" src="http://dsnevada.bplaced.de/untermenu.html" align="top right" frameborder="0" height="210" scrolling="auto" width="162">
</iframe>
</div>
</body>
</html>
|
|
ich habe ein paar überflüssige Zeichen entfernt und außerdem fehlte das background-attachment: fixed;. No oder none ist bei background fixieren kein gültiger css code.
__________________
|
|
27.07.2010 14:10 |
|
|
Oli
Server-Administrator
    
Dabei seit: 13.06.2010
Beiträge: 1.540
 |
|
Hi,
Zitat: |
Original von BabyHanah
Funktioniert immer noch nciht Oo |
ich bin mir ziemlich sicher, dass du hier die "Bemerkungen" entfernen solltest..
code: |
1:
2:
|
background-position: top left; ( oben links, top right = oben rechts )
background-repeat: no-repeat; ( keine Wiederholung, repeat = Wiederholung ) |
|
Für den Browser sieht das jetzt nämlich (vermutlich) ungefähr so aus (der Browser richtet sich nach dem ; als Anweisungsende):
code: |
1:
2:
3:
4:
5:
|
...
background-position: top left;
( oben links, top right = oben rechts )background-repeat: no-repeat;
( keine Wiederholung, repeat = Wiederholung )
... |
|
Und das sind dann unbekannte Zuweisungen und werden vom Browser ignoriert, denn ( oben links, top right = oben rechts )background-repeat kennt der Browser nicht...
LG,
Oli
|
|
27.07.2010 15:14 |
|
|
Oli
Server-Administrator
    
Dabei seit: 13.06.2010
Beiträge: 1.540
 |
|
Zitat: |
Original von BabyHanah
Also muss ich die Bemerkungen wegmachen,oder? |
Oder als gültigen CSS-Kommentar schreiben - Beispiel:
code: |
1:
2:
3:
4:
5:
6:
|
body {
background-color:red; /* Das ist ein Kommentar */
/* Der Kommentar kann auch über mehrere Zeilen gehen.
Was dazwischen steht wird nicht als CSS ausgewertet. */
} |
|
|
|
27.07.2010 15:19 |
|
|
|
|
 |
Impressum
|