I am using notepad to code a new design in css and xhtml and have become stumped by I.E.'s liberal interpretations of the W3C coding standards.
The main content area of my page is in a DIV (screen) box, and the area I am working on is the main text area, a DIV (bodyarea) within that. I am finding this difficult to explain so hear me out. DIV.screen has a photograph for the background and the DIV.bodyarea needs to be a semi transparent picture (with background of DIV.screen) shining through, but it has to be able to scroll with a fixed background (so that it doesn't break up the photograph).
I.E. wrongly assigns the background of DIV.bodyarea to be fixed to the containing element (DIV.screen) - so in I.E. it looks fine but in Moz Firefox the photograph is wildly "out of place" (despite being correct). To solve the problem a tutorial I found on google suggests removing the "background-attachment:fixed;" to get Moz to show the page correctly - and it works. :D
However, now the background is not fixed in IE - so whilst it sits nicely, as soon as you begin to scroll, you can see the background is not fixed and an unsightly white background takes its place.
Does anyone know a decent workaround for this, or shall I just put my beloved firefox to bed and concentrate on the majority of users using I.E. (This design is for my personal site so no need for professionalism - except for practice
)
The only trouble with that is that with the tutorial fix Moz FF works perfectly and IE is ledgible - but without the fix I.E. is (near) perfect but Moz FF is unusable and illegible
The main content area of my page is in a DIV (screen) box, and the area I am working on is the main text area, a DIV (bodyarea) within that. I am finding this difficult to explain so hear me out. DIV.screen has a photograph for the background and the DIV.bodyarea needs to be a semi transparent picture (with background of DIV.screen) shining through, but it has to be able to scroll with a fixed background (so that it doesn't break up the photograph).
I.E. wrongly assigns the background of DIV.bodyarea to be fixed to the containing element (DIV.screen) - so in I.E. it looks fine but in Moz Firefox the photograph is wildly "out of place" (despite being correct). To solve the problem a tutorial I found on google suggests removing the "background-attachment:fixed;" to get Moz to show the page correctly - and it works. :D
However, now the background is not fixed in IE - so whilst it sits nicely, as soon as you begin to scroll, you can see the background is not fixed and an unsightly white background takes its place.
Does anyone know a decent workaround for this, or shall I just put my beloved firefox to bed and concentrate on the majority of users using I.E. (This design is for my personal site so no need for professionalism - except for practice
The only trouble with that is that with the tutorial fix Moz FF works perfectly and IE is ledgible - but without the fix I.E. is (near) perfect but Moz FF is unusable and illegible

















