philosp
10-27-2006, 10:31 PM
Hello all!
I have a mysterious problem and I haven´t found a single reference to it.
I have a tableless page that uses strict xhtml doctype:
http://www.atividade.com.br/licksassociados/?pagina=servicos
It is centered using Simon Coggins' technique of giving the page container an absolute 50% position and a negative margin.
Inside the page, the content div has a background image, which is supposed to be fixed to the top-right corner.
Now the fun part: IE6 renders it OK, FF and IE7 don´t. I haven´t tested with other browsers.
Assuming IE6 is rendering it incorrectly (which it normally does), what would be the correct way of doing it?
****EDIT****
Actually, I just found a similar problem in this post (http://www.codingforums.com/showthread.php?t=98005).
I tried removing the "fixed" property from the background, and voila, the scene is the exact opposite:
FF keeps the background fixed, the way I intended it to (although I can´t understand why).
IE6 does what I thought it would do: prints the background only once.
You can see an example of this new situation in this link (http://www.atividade.com.br/licksassociados/?pagina=empresa).
****/EDIT****
I appreciate your help,
Phil
I have a mysterious problem and I haven´t found a single reference to it.
I have a tableless page that uses strict xhtml doctype:
http://www.atividade.com.br/licksassociados/?pagina=servicos
It is centered using Simon Coggins' technique of giving the page container an absolute 50% position and a negative margin.
Inside the page, the content div has a background image, which is supposed to be fixed to the top-right corner.
Now the fun part: IE6 renders it OK, FF and IE7 don´t. I haven´t tested with other browsers.
Assuming IE6 is rendering it incorrectly (which it normally does), what would be the correct way of doing it?
****EDIT****
Actually, I just found a similar problem in this post (http://www.codingforums.com/showthread.php?t=98005).
I tried removing the "fixed" property from the background, and voila, the scene is the exact opposite:
FF keeps the background fixed, the way I intended it to (although I can´t understand why).
IE6 does what I thought it would do: prints the background only once.
You can see an example of this new situation in this link (http://www.atividade.com.br/licksassociados/?pagina=empresa).
****/EDIT****
I appreciate your help,
Phil