February 10, 201016 yr Hi, I have a problem regarding 'background-image' inside an iframe. What I would like to do is, that the background image shall remain "stationary" (read: it should remain where it is when the visitor scrolls down the iframe). Is there any way to achieve this, and if so, how? For an example see this page. I have another background image that matches the one outside the iframe, like here, and I would like this second image not to scroll with the content inside the iframe. TIA, Claus
February 19, 201016 yr I'm not sure I understand your question, but if it's what I think can you not just remove the background colour for the div inhalt_02 and let the background image below show through? Hope that helps! Jennie
February 19, 201016 yr I'm not sure I understand your question, but if it's what I think can you not just remove the background colour for the div inhalt_02 and let the background image below show through? Hope that helps! Jennie Or remove the background-image and background-color in the div inhalt_02 in the main page and remove the background-color in daten.html (the page in the iframe) and put a background-image for the body in daten.html with background-attachment: fixed and make the background image fit the background in the main page. background-image: url(image.jpg); background-attachment: fixed; }
February 20, 201016 yr Don't know if I'm missing something here, but why are you using an iframe? Why not just use SSI (sever side includes) instead?
Create an account or sign in to comment