pls! help me :( i want to make a webpage that have one picture-background only and it is flexible to the size of my window browser without loosing there quality.. help help me guys!!!!
stbuchok and anand01 thankyou for idea, but what i want happen is when i scroll down or up, my background is still the same? how can i code that...like this one http://www.ayalaland.com.ph/
These codes will allow you to have a fixed image background.
It will adjust along with the browser window size, also image will adjust to the length of the webpage.
Place these 2 scripts after the <title> </title> tag's, and before the </head>
<style type="text/css">
html, body {height:100%; margin:0; padding:0;}
#page-background {position:fixed; top:0; left:0; width:100%; height:100%;}
#content {position:relative; z-index:1; padding:10px;}
</style>
<style type="text/css">
html {overflow-y:hidden;}
body {overflow-y:auto;}
#page-background {position:absolute; z-index:-1;}
#content {position:static;padding:10px;}
</style>
Place this line of code anywhere within the <body> </body> tag's.
May I request you guys to check my website eletsonline dot com and suggest me the best ways to improve its Alexa Ranking. I'm working hard from last couple of ...
Brands today popup and they go. This is because the attention span of the average consumer is far less than it has ever been. It is also because there is ...