FrontPage97
New Member
I'm learning Dreamweaver and the basics of web design so I'm not sure how to approach designing this test site that has a big background image. The city street image (below) takes up the whole page. I figure the wood buttons (with text) as well as the text at the bottom should be part of this city street .jpg image.
Should I insert the image as a background image and have it automatically snap to fit the screen? Or should I just set a black background and then insert the image in a DIV?
If I insert it as a background image does this code look right?...
body {
background: #050 url(image.jpg) »
center center fixed no-repeat;
background-repeat: no-repeat;
-moz-background-size: 90%;
background-size: 90%;
background-position: center;
background-attachment: fixed;
background-color: #333333;
background-image: url(image.jpg);
}
Should I insert the image as a background image and have it automatically snap to fit the screen? Or should I just set a black background and then insert the image in a DIV?
If I insert it as a background image does this code look right?...
body {
background: #050 url(image.jpg) »
center center fixed no-repeat;
background-repeat: no-repeat;
-moz-background-size: 90%;
background-size: 90%;
background-position: center;
background-attachment: fixed;
background-color: #333333;
background-image: url(image.jpg);
}
