Forum Moderators: not2easy

Message Too Old, No Replies

ie 6 not reading background positioning?

Conditional comment not working either?

         

rickmesser

3:43 pm on Apr 24, 2009 (gmt 0)

10+ Year Member



Looks great in FF, Safari, IE 7+

<snip>

The problem is that in IE 6- my background image positions don't work. They just default to top-left. The biggest problem is the "nav paper scroll bg".

So I'm more of a designer than a web developer, and I'm not super used to using these conditional comments. I'm not 100% sure where to put these conditional comments. I've heard both, supposed to be above the <head> tag, and also heard it's supposed to be inside it.

My idea was to give a different background image to just IE 6 but the conditional comment does not seem to be having an effect?

Can someone tell me what I'm doing wrong?

[edited by: DrDoc at 5:31 pm (utc) on April 24, 2009]
[edit reason] No URIs, please. See TOS and Forum Charter. [/edit]

DrDoc

5:34 pm on Apr 24, 2009 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Welcome to WebmasterWorld!

I assume you are trying to use

background-position: fixed
in IE6. It is simply not supported. However, you might want to take a look at the IE7 JavaScript library [code.google.com] which fixes this and many other issues with pre-IE7.

rickmesser

8:41 pm on Apr 24, 2009 (gmt 0)

10+ Year Member



I will look at that. I didn't know that IE6 didn't support the fixed property. Thank you for taking time to reply to my post.