0

I am playing around with a website I am developing for my spouse. I am wondering how you fix an image within a frame or htm doc. so even when you need to scroll the background image stays fixed within the frame or page.

2
Contributors
3
Replies
4
Views
9 Years
Discussion Span
Last Post by lio04
0

There's solution with CSS, but it's running correctly from IE7 to higher. (And other quality browsers of course.)

position: fixed;
0

what should the code be in the css for a fixed image on the background behind the tables. I now how to fix it I have something wrong with the image even showing up on any of the pages. I am using firefox3. what should the bg image tag look like?

0

If I understand, you want fixed background and any content above that.

This is example on HTML body tag styled with CSS.

body {
	background: url(./image.png) top center fixed no-repeat;
}
This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.