Wieso wird es zweimal aufgerufen?Schmeiß mal das background-image: url(CubisHome.jpg); raus.HTML-Code:background:#000000 url('CubisHome.jpg') no-repeat center fixed center 50%; background-image: url(CubisHome.jpg);
mein Hintergrundbild wird im Firefox Browser ganz oft nebeneinander angezeigt.
Bei IE ist das nicht der Fall.
Gibt es eine Möglichkeit das es auch bei Firefox nur einmal angezeigt wird ?
Gruß
Erik
Quellcode:
PHP-Code:<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 transitional//EN">
<html>
<frame src="menu.php" name="menu" marginwidth="0" marginheight="0" noresize scrolling="no" frameborder="0" framespacing="0"></frame>
<head>
<title>Aktuelles</title>
<style type="text/css">
<!--
body {
background:#000000 url('CubisHome.jpg') no-repeat center fixed center 50%;
background-image: url(CubisHome.jpg);
}
body{
scrollbar-base-color:#333333;
scrollbar-3d-light-color:#222222;
scrollbar-arrow-color:#777777;
scrollbar-darkshadow-color:#000000;
scrollbar-face-color:#333333;
scrollbar-highlight-color:#222222;
scrollbar-shadow-color:#000000;
scrollbar-track-color:#222222;
}
.Stil13 {color: #FFFFFF}
.Stil14 {color: #333333}
.Stil15 {color: #CCCCCC}
.Stil16 {font-family: Arial; font-size: 14px; color: #CCCCCC; }
.Stil3 { font-family: Arial;
font-size: 14px;
font-weight: bold;
}
.Stil8 { font-family: Arial;
font-size: 14px;
}
a:link {
color: #CCCCCC;
}
a:visited {
color: #CCCCCC;
}
a:hover {
color: #CCCCCC;
}
a:active {
color: #CCCCCC;
}
.Stil20 {font-family: Arial; font-size: 14; }
.Stil1 {font-family: Arial;
font-size: 9px;
color: #CCCCCC;
}
-->
</style>
<base target="_self">
</head>
<body leftmargin="0" topmargin="0">
<!-- script -->
<div align="center"></div>
<endscript>
<div align="center"></div>
<div align="center"></div>
<div align="center">
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="950" height="60" align="top">
<param name="movie" value="Halloundherzlichwillkommen.swf">
<param name=wmode value=transparent>
<param name="quality" value="high">
<param name="SCALE" value="noborder">
<embed src="Halloundherzlichwillkommen.swf" width="950" height="60" align="top" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" scale="noborder"></embed>
</object>
<script type="text/javascript" src="ieupdate.js" ></script>
</div>
</body>
</html>
Geändert von Thomas (06.06.2008 um 02:34 Uhr) Grund: codebox ;)
Wieso wird es zweimal aufgerufen?Schmeiß mal das background-image: url(CubisHome.jpg); raus.HTML-Code:background:#000000 url('CubisHome.jpg') no-repeat center fixed center 50%; background-image: url(CubisHome.jpg);
Nomen est omen
Wenn ich die Zeile lösche wird das Hintergrundbild im Firefox gar nicht mehr angezeigt.
Gruß
Erik
Mal so: background:#000000 url(CubisHome.jpg) no-repeat center fixed center 50%;
Nomen est omen
Vergiss meinen Beitrag #4.
So muss Dein Quelltext aussehen:HTML-Code:background:#000000 url('CubisHome.jpg') no-repeat center fixed 50%;
Nomen est omen
Sicher...
Gibt´s denn einen Unterschied zur "gemischten" Schreibweise? Ich denke center 50% ist auch ok - oder ist es nur Geschmackssache?
Nomen est omen
Aktive Benutzer in diesem Thema: 1 (Registrierte Benutzer: 0, Gäste: 1)