Closed

385306 css tweak for IE6 needed

This project received 8 bids from talented freelancers with an average bid price of $39 USD.

Get free quotes for a project like this
Employer working
Skills Required
Project Budget
N/A
Total Bids
8
Project Description

I've created a way in my stylesheet to make a page background image fit any screen size. It works fine for compliant browsers, but in IE6 it doesn't.

For the compliant browsers, the flowers show up at the bottom of the visible screen. For IE 6, you have to scroll down.

Here's the code I have now. Need it tweaked so IE6 behaves itself.
=====================================================================

/* begin full background stuff*/

/* begin full background image for compliant browsers */
html, body {
height: 100%;
margin: 0;
padding: 0;
}

img#bg {
position:fixed;
top:0;
left:0;
width:100%;
height:100%;
}

#content {position:relative; z-index:1;}
/* end full background image for compliant browsers */



<!--[if IE 6]>

/* some css fixes for IE browsers */

html {overflow-y:hidden;}
body {overflow-y:auto;}
img#bg {position:absolute; z-index:-1;}
#content {position:static;}

<![endif]-->

/* End full background stuff*/

Looking to make some money?

  • Set your budget and the timeframe
  • Outline your proposal
  • Get paid for your work

Hire Freelancers who also bid on this project

    • Forbes
    • The New York Times
    • Time
    • Wall Street Journal
    • Times Online