dbstudios
03-29-2006, 05:36 PM
Hello,
I am currently in the process of building a company website - www.liquidbeancoffee.com. On the page I have put an image at the bottom of the page and I used to following code in order to do this:
<img src="bottombar.png" width=100% img style="position:absolute; bottom:0; left: 0;">
Basically what I am trying to accomplish is to have this image always stay at the bottom of the page, resizing (width=100%), to fit various screen resolutions, and most importantly have the content on the page scroll behind the image - so that when a user scrolls down to read the content on the page it is coming up from behind the image. So I don't think I want to put the image on the page as a CSS background because then the content will scroll up in front of the image, because the image will be a background.
Right now with the code that I am using if I add content going down the page the image at the bottom (bottombar.png), does not stay in place at the bottom of the page. When I scroll down the image moves with the text and I don't want that.
So is there any way to force the image to stay always at the bottom of the page, with the content behind it? And also, I would like the image to resize the the viewer's screen resolution as well.
I also know that PNG files don't show up well in Internet Explorer but I will fix that after I get this problem solved.
Any help would be greatly appreciated!
Thank you!
I am currently in the process of building a company website - www.liquidbeancoffee.com. On the page I have put an image at the bottom of the page and I used to following code in order to do this:
<img src="bottombar.png" width=100% img style="position:absolute; bottom:0; left: 0;">
Basically what I am trying to accomplish is to have this image always stay at the bottom of the page, resizing (width=100%), to fit various screen resolutions, and most importantly have the content on the page scroll behind the image - so that when a user scrolls down to read the content on the page it is coming up from behind the image. So I don't think I want to put the image on the page as a CSS background because then the content will scroll up in front of the image, because the image will be a background.
Right now with the code that I am using if I add content going down the page the image at the bottom (bottombar.png), does not stay in place at the bottom of the page. When I scroll down the image moves with the text and I don't want that.
So is there any way to force the image to stay always at the bottom of the page, with the content behind it? And also, I would like the image to resize the the viewer's screen resolution as well.
I also know that PNG files don't show up well in Internet Explorer but I will fix that after I get this problem solved.
Any help would be greatly appreciated!
Thank you!