the page looks alright in Firefox but not in IE

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • manish

    the page looks alright in Firefox but not in IE

    Hi, My website is a joomla powered website: http://www.pradhanmanish.com.np
    and i am loading a .php file from another server and displaying it on
    my website as a module. While Firefox displays it correctly with a
    transparent background, IE shows a big white box instead of being
    transparent. The problem lies in the front page at the right side of
    the home page. Can anyone please suggest some fix for this problem??
    Thanks in advance.
  • Paul Lautman

    #2
    Re: the page looks alright in Firefox but not in IE

    manish wrote:
    Hi, My website is a joomla powered website:
    http://www.pradhanmanish.com.np and i am loading a .php file from
    another server and displaying it on
    my website as a module. While Firefox displays it correctly with a
    transparent background, IE shows a big white box instead of being
    transparent. The problem lies in the front page at the right side of
    the home page. Can anyone please suggest some fix for this problem??
    Thanks in advance.
    Your answer will lie in CSS rather than PHP


    Comment

    • =?iso-8859-1?Q?=C1lvaro?= G. Vicario

      #3
      Re: the page looks alright in Firefox but not in IE

      *** manish escribió/wrote (Thu, 14 Aug 2008 03:35:38 -0700 (PDT)):
      Hi, My website is a joomla powered website: http://www.pradhanmanish.com.np
      and i am loading a .php file from another server and displaying it on
      my website as a module. While Firefox displays it correctly with a
      transparent background, IE shows a big white box instead of being
      transparent. The problem lies in the front page at the right side of
      the home page. Can anyone please suggest some fix for this problem??
      It's obviously a CSS issue. You're inserting an <iframethat doesn't have
      any background property set for the <bodyelement. Your IE defaults to
      white and your Firefox defaults to transparent.


      --
      -- http://alvaro.es - Álvaro G. Vicario - Burgos, Spain
      -- Mi sitio sobre programación web: http://bits.demogracia.com
      -- Mi web de humor en cubitos: http://www.demogracia.com
      --

      Comment

      • The Hajj

        #4
        Re: the page looks alright in Firefox but not in IE

        On Aug 14, 11:11 am, "Álvaro G. Vicario"
        <webmasterNOSPA MTHA...@demogra cia.comwrote:
        *** manish escribió/wrote (Thu, 14 Aug 2008 03:35:38 -0700 (PDT)):
        It's obviously a CSS issue. You're inserting an <iframethat doesn't have
        any background property set for the <bodyelement. Your IE defaults to
        white and your Firefox defaults to transparent.
        more specifically
        element.style.f ilter = alpha(opacity = 69); for IE
        element.style.o pacity = "0.69"; for firefox

        or the fancier -moz crap

        But that's beyond the scope of the article,

        Comment

        • manish

          #5
          Re: the page looks alright in Firefox but not in IE

          I just found the answer;

          The ALLOWTRANSPAREN CY attribute, used with the IFRAME element, must be
          set to true.
          In the IFRAME content source document, the background-color or BGCOLOR
          attribute of the BODY element must be set to transparent.

          The BGCOLOR attribute can be applied to the BODY element, but it is
          deprecated as of HTML 4.0. It is recommended that you use the
          background-color attribute instead.

          <BODY STYLE="backgrou nd-color:transpare nt">

          <IFRAME NAME="Frame1" SRC="frame.htm" ALLOWTRANSPAREN CY="true">
          </IFRAME>

          Thanks anyways.

          Comment

          • The Natural Philosopher

            #6
            Re: the page looks alright in Firefox but not in IE

            Paul Lautman wrote:
            manish wrote:
            >Hi, My website is a joomla powered website:
            >http://www.pradhanmanish.com.np and i am loading a .php file from
            >another server and displaying it on
            >my website as a module. While Firefox displays it correctly with a
            >transparent background, IE shows a big white box instead of being
            >transparent. The problem lies in the front page at the right side of
            >the home page. Can anyone please suggest some fix for this problem??
            >Thanks in advance.
            >
            Your answer will lie in CSS rather than PHP
            >
            >
            NUke seattle.

            Then ditch IE.

            Problem solved!

            Comment

            Working...