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.

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

position: fixed;

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?

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;
}
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.