How to set a Dreamweaver background image?

  • Thread starter Thread starter imdefwinning
  • Start date Start date
I

imdefwinning

Guest
No I'm not too stupid to realize you hit page properties then background image. My question is how do I set the background image as a percent of the screen rather than a set number of pixel?
So far I did my background with CSS, not html, but can change that if it is easier.
 
body {background-color:transparent;
background-image:url(images/Borders.jpg);
background-attachment:fixed;
background-position:center;
background-repeat:no-repeat;
background-size: 100% 100%;}

or

div {
background-image: url(plasma.png);
background-size: 100% 100%;
background-origin: content-box }

I'm sure you get the idea from those examples.
 
Back
Top