Problem med visning af bg-billede i CSS
Hej,Jeg har dette stykke kode stående på min side, idéen er at baggrunds-billedet vises i højre hjørne...
Men browseren viser ikke billedet...???
Selve siden:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>_________</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_reloadPage(init) { //reloads the window if Nav4 resized
if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
//-->
</script>
<link href="style_start.css" rel="stylesheet" type="text/css">
<style type="text/css">
<!--
@import url("style_start.css");
-->
</style>
<link href="links.css" rel="stylesheet" type="text/css">
</head>
<body text="#663300" link="#663300" vlink="#663300" alink="#663300">
<div id="Layer1" style="position:absolute; left:299px; top:255px; width:508px; height:33px; z-index:1">
<p align="center"><font color="#663300" size="3" face="Tahoma"><strong>________
</strong></font></p>
</div>
</body>
</html>
Og mit style-sheet med koden til billedet:
body {
background-color: #CC9933;
background-image: "____.gif";
background-repeat: no-repeat;
background-attachment: fixed;
background-position: bottom right;
}