Using CSS to create a fixed Background image -
i have been unable create background image (gray rectangle) stays in fixed position. . when scroll down page, image continues scroll page instead of staying stationary images do.
this gray background image being used create outline left hand navigation.
body.ms-backgroundimage { background: url(../landingpage/laipic1.png); background-size: 250px 455px; background-position: 8px 280px; background-attachment: fixed; background-repeat: no-repeat; }
to have menu sit on side of page going want use css attribute position: absolute;
. place you'd use top: 100px;
left:10px;
using whatever values like.
using can place you'd on page , should stay no matter when scrolling. can put script editor on page if want there or in file in style library , reference in master page.
Comments
Post a Comment