Baggrundsbillede i CSS div
HejsaJeg er ved at lave en side hvor jeg gerne ville hvis det bagerste layer kunne få et baggrundsbillede på der ikke skal gentages (no-repeat) og placeret i øverste venstre hjørne.
Jeg har indsat div'en i siden, men mangler at få billedet til ikke at gentage sig. Her et view af css sheetet:
body, html {
height: 100%;
margin: 0;
padding: 0;
background-image:url(images/dalsgaardbg2.gif)
}
a { font-family:Tahoma, Verdana, "Microsoft Sans Serif": ;
color: #CC0000;
font-size: 20 pt;
text-decoration:none
}
h1 { font-family: Tahoma;
font-size: 10 pt;
color: #242424;
font-weight: bold
}
h2 { font-family: Verdana;
font-size: 10 pt;
color: #CC0000;
font-weight: bold
}
h3 { font-family: Verdana;
font-size: 8 pt;
color: #000080;
font-weight: bold
}
h4 { font-family: Verdana;
font-size: 10 pt;
color: #242424;
font-weight: bold;
letter-spacing:2
}
h5 { font-family: MS Sans Serif;
font-size: 8 pt;
color: #000000;
font-weight: normal
}
.p { font-family: Tahoma, Verdana, "Microsoft Sans Serif";
font-size: 50 pt;
color: #000000
}
.mainlayer {
width: 750px;
height: 500px;
background-color:#FFFFFF;
border-width: 1px;
border-color:#333333;
border-style:solid;
margin: 0 auto;
margin-top: 50px;
z-index: 1;
background-image:url(images/mainlayerbg.jpg)
[DET ER HER DER MANGLER NOGET, tror jeg!!!!!!!]
}
.banner {
width: 750px;
height: 100;
background-color:#FFFFFF;
margin: 0 auto;
margin-top: 175px;
border-top-style:solid;
border-top-color:#333333;
border-width: 1px;
z-index: 2;
}
.menu {
width: 750px;
height: 20px;
margin: 0 auto;
margin-top: 0px;
border-top-style:solid;
border-top-color:#333333;
border-width: 1px;
z-index: 2;
}
.textbox {
width: 750px;
height: 120px;
margin: 0 auto;
margin-top: 0px;
z-index: 2;
}
På forhånd tak
Simon