Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. IE7 and Firefox appearance conflict

IE7 and Firefox appearance conflict

Scheduled Pinned Locked Moved Web Development
helphtmlcssdatabasedocker
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    D Offline
    Dave25600
    wrote on last edited by
    #1

    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...?

    G 1 Reply Last reply
    0
    • D Dave25600

      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...?

      G Offline
      G Offline
      Guffa
      wrote on last edited by
      #2

      What container are you using? You only mentioned the Literal control, but that doesn't produce any html code at all for itself.

      --- single minded; short sighted; long gone;

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups