Most online tutorials I could find referred me to this little HTML/CSS hack:
<link href="home.css" rel="stylesheet" type="text/css" />
<!-- Below is the CSS code -->
<style type="text/css">
html, body {height:100%; margin:0; padding:0;}
#page-background {position:fixed; top:0; left:0; width:100%; height:100%;}
#wrapper {position:relative; z-index:1; padding:10px;}
</style>
<!-- The above code works for all browser except IE so we are going to specify another special style sheet for IE6 to make the whole code cross browser compatible -->
<!--[if IE 6]>
<style type="text/css">
html {overflow-y:hidden;}
body {overflow-y:auto;}
#page-background {position:absolute; z-index:-1;}
#wrapper {position:static;padding:10px;}
</style>
<![endif]-->
</head>
<body>
<div id="page-background"><img src="images/woodfloor.jpg" width="100%" height="100%"></div>
<div id="wrapper">
which is not IE 6 compliant.My first question: Is there a surefire way to stretch a background image that is 100% browser compliant? If not, I will reconsider my options and choose a new background. The headache is certainly not worth having a cool wood background.
Next: When is CSS3 going to become the standard? Sub-question: When is IE going to go away forever?!

New Topic/Question
Reply



MultiQuote







|