Print Page | Close Window

fixed bg that fills screen?

Printed From: Web Wiz Forums
Category: General Discussion
Forum Name: Web Design Discussion
Forum Description: Discussion on web design and development subjects.
URL: https://forums.webwiz.net/forum_posts.asp?TID=11128
Printed Date: 28 March 2026 at 2:20pm
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: fixed bg that fills screen?
Posted By: Necronom
Subject: fixed bg that fills screen?
Date Posted: 07 July 2004 at 11:00pm

I need help please :)

I'm trying to figure out a way to take an image and apply it as my background to a web site. I need it to stretch 100%x100% and be fixed from scrolling.

I've messed with HTML and CSS, but no avail. Any ideas??

. necronom .




Replies:
Posted By: dj air
Date Posted: 12 July 2004 at 2:07pm
you want it so the content of the website moves and the backgroud is still ..

to make it still add this to the <body > tag bgproperties="fixed"

that makes the bg image fixed so wont move when using the scroll bars

You could have the image in a table and the content of the page is in the table (table is 100 % wide and high).

make sure the padding and spacing is 0

and the background image of the table is the image in question giving the effect.



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net