soulmachine
07-04-2006, 01:51 AM
Good evening. I designed a site about a year and six months ago. It was done with HTML, no CSS, and looks very outdated. I'm working on one certain page that is giving me problems. I have a central idea that I want to make happen.
First off, here is the live example (sorry about the ad, ignore it please):
http://www.morethanphysical.hostrocket.com/temp/
As you can see, Olivia and Gene are a fixed background image. Here is my CSS:
body {
color: #FFFFFF;
background-color: #000000;
background-image: url(images/bg.jpg);
background-attachment: fixed;
background-position: bottom center;
background-repeat: no-repeat;
height: 800px;
}
I included a height property so you can scroll away the ad if you wish. I want this page to be viewed well on laptops and at least 800x600. I positioned the background on the bottom of the window, to give it the effect that they are standing on the status bar of the browser. I do not want the image of olivia and gene to scroll with the content of the page (when added). This is going to be a 3 column layout with olivia and gene in the middle and one content column to each side. If we make the window small, it cuts off their heads. Is there a way I can keep them standing on the status bar for monitors that are large enough to view them; however, on monitors too small to view them, have the browsers clip the pic at their feet instead of at their heads?
Thanks for your help.
Jeremy
First off, here is the live example (sorry about the ad, ignore it please):
http://www.morethanphysical.hostrocket.com/temp/
As you can see, Olivia and Gene are a fixed background image. Here is my CSS:
body {
color: #FFFFFF;
background-color: #000000;
background-image: url(images/bg.jpg);
background-attachment: fixed;
background-position: bottom center;
background-repeat: no-repeat;
height: 800px;
}
I included a height property so you can scroll away the ad if you wish. I want this page to be viewed well on laptops and at least 800x600. I positioned the background on the bottom of the window, to give it the effect that they are standing on the status bar of the browser. I do not want the image of olivia and gene to scroll with the content of the page (when added). This is going to be a 3 column layout with olivia and gene in the middle and one content column to each side. If we make the window small, it cuts off their heads. Is there a way I can keep them standing on the status bar for monitors that are large enough to view them; however, on monitors too small to view them, have the browsers clip the pic at their feet instead of at their heads?
Thanks for your help.
Jeremy