Fixing a background picture
i have background picture has main image on right. have of text, logo, content, navigation aligned left. want background fixed main image showing in full on right side of browser while content on left scroll on (or next to) background no matter how content there.
i thought had solution creating code in style sheet:
body {
background-image: url(jill%20backgroundklytemnestra.png);
background-repeat: no-repeat;
background-position: 50% 50%;
display: block;
-moz-background-size: cover;
-webkit-background-size: cover;
background-size: cover;
height: 1000px;
background-color: #802536;
}
but doesn't seem working. background scrolling content.
the page is:
www.jillgrovemezzo.com/bio.htm
regina
add in
background-attachment:fixed;
to fix position of background image. you'll want change % settings background-position pixels sit want once add attachment setting.
More discussions in Dreamweaver support forum
adobe
Comments
Post a Comment