IE7 and Firefox appearance conflict
-
Hi, I'm fairly new to CSS and was wondering if anyone could help me. I am working on a web application that will allow a user to view PDFs and other files within the current webpage. I have managed to achieve this by using an asp:Literal to call a given PDF file stored in a database using a dynamic html string. I had no problems with this until I looked at my page in Firefox. As I am using a coloured background for my page, Firefox will display the given file only the rest of the container (if it is not filled) is now also coloured. I tried to solve this by applying a white background to the container with equal width and although it fixes the problem in Firefox, IE7 now displays a white rectangle even when there is no file on display. Giving the container an 'auto width' or similar did not work, this resulted in only part of files such as PDFs and docs being displayed. I would appreciate any tips/advice as to how to deal with this problem. Please forgive me if I am not being clear enough, I find articulating these problems as hard as solving them. thanks, Dave Maybe one day I'll be posting the solutions...?
-
Hi, I'm fairly new to CSS and was wondering if anyone could help me. I am working on a web application that will allow a user to view PDFs and other files within the current webpage. I have managed to achieve this by using an asp:Literal to call a given PDF file stored in a database using a dynamic html string. I had no problems with this until I looked at my page in Firefox. As I am using a coloured background for my page, Firefox will display the given file only the rest of the container (if it is not filled) is now also coloured. I tried to solve this by applying a white background to the container with equal width and although it fixes the problem in Firefox, IE7 now displays a white rectangle even when there is no file on display. Giving the container an 'auto width' or similar did not work, this resulted in only part of files such as PDFs and docs being displayed. I would appreciate any tips/advice as to how to deal with this problem. Please forgive me if I am not being clear enough, I find articulating these problems as hard as solving them. thanks, Dave Maybe one day I'll be posting the solutions...?