mIRC Homepage
Posted By: alhammer HTML Fixed Background - 08/04/05 11:56 PM
Hey. What I'm trying to do is have a fixed background. However, I have a few complications. I need to have a image in the background (tile) which is a canvas picture, so when it tiles it looks like one large image. (the website is for an artist, hints the canvas.) But on top of that, I need a fixed image. So, when you scroll, reguardless of your window size or screen resolution, you will see the canvas in the back and the other image centered horozontally and vertiaclly that is fixed. How can i do this?? TIA!

Here is the link so you can see what I mean about the canvas. The large logo on the home page is the image I want to be fixed behind all of the other content of the other pages on the site.

http://www.marlenelarson.com

By the way, no one better give me any BS for posting a question about HTML in an mIRC fourm. The topic is "General Discussion." This is general. Besides, I've seen some of the websites people on here have made, so I know some of you know about HTML.
Posted By: DaveC Re: HTML Fixed Background - 09/04/05 12:21 PM
BS BS BS

oh yes and

<body bgcolor="#FFFFFF" background="images/canvatan1.jpg" style="background-attachment:fixed;">

wooohooo Dont ya just hate when its something simple!
Posted By: alhammer Re: HTML Fixed Background - 09/04/05 06:14 PM
That's just for 1 image. I said I needed to be able to have another image fixed on top of that. ^^^^^^ crazy confused
Posted By: sawm Re: HTML Fixed Background - 09/04/05 07:13 PM
I believe you can set the z-index to place images in different layers, and then lock those images with the above code.
Posted By: Doqnach Re: HTML Fixed Background - 25/04/05 11:59 AM
Quote:
I believe you can set the z-index to place images in different layers, and then lock those images with the above code.


you could indeed give the body 1 background image, and put a div which is as big as your viewport over it with another background image.

in that div you put the rest of your page
Posted By: alhammer Re: HTML Fixed Background - 25/04/05 08:39 PM
Thanks everyone! Here is what it ended up looking like. I hope you like. If you have any suggestions or find any bugs please send me a PM. Thanks again!

http://www.marlenelarson.com/about
© mIRC Discussion Forums