Ég er búinn að vera í vandræðum með bakgrunna.
Ég þarf að vita hvenig ég get staðsett bakgrunn í Dreamweaver.
Getur einhver hjálpað mér ?
<style type="text/css">
.einhverlayer{
background-image: url("myndir/bakgrunnur.jpg");
background-attachment: fixed;
backgroud-repeat: no-repeat;
background-position: bottom left;
background-color: #CCCCCC;
}Ég hef alldrei kynnt mér þetta CSS og w3schools
<!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">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Untitled Document</title>
<style type="text/css">
<!--
#Layer1 {
position:absolute;
left:10px;
top:16px;
width:1023px;
height:91px;
z-index:1;
}
-->
</style>
</head>
<body>
<div id="Layer1">
<style type="text/css">
.Layer1{
background-image: url("myndir/bakgrunnur.jpg");
background-attachment: fixed;
backgroud-repeat: no-repeat;
background-position: bottom left;
background-color: #CCCCCC;
}
</style>
</div>
</body>
</html><!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">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Untitled Document</title>
<style type="text/css">
#Layer1 {
position:absolute;
left:10px;
top:16px;
width:1023px;
height:91px;
z-index:1;
background-image: url("myndir/bakgrunnur.jpg");
background-attachment: fixed;
backgroud-repeat: no-repeat;
background-position: bottom left;
background-color: #CCCCCC;
}
</style>
</head>
<body>
<div id="Layer1">
<style type="text/css">
</div>
</body>
</html>