473,549 Members | 2,543 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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.
Aug 14 '08 #1
5 1384
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
Aug 14 '08 #2
*** 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
--
Aug 14 '08 #3
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,

Aug 14 '08 #4
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.
Aug 14 '08 #5
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!
Aug 14 '08 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

10
2257
by: Pete | last post by:
I have the following code: <built-in method close of file object at 0xb7cc76e0> The file "temp.html" is created, but it doesn't look like the page at www.python.org. I'm guessing there are multiple frames and my code did not get everything. Can anyone point me to a tutorial or other reference on how to "get" all of the html contents at a...
4
7454
by: evgenyg | last post by:
Hello ! We have the following situation - when Ajax request is sent what's being returned by the server is usually an XML (which is used for DOM updates) but sometimes it's HTML which is a whole new page that should replace an existing one. I.e when we issue an Ajax request we don't know what will be returned and analyze the response to act...
9
1985
by: =?Utf-8?B?Sm9obiBCYWlsZXk=?= | last post by:
I have a ASP .Net page that allows moving around items on the page through javascript. This page works fine in IE. In FireFox however, I have found that if the page is using XHTML 1.0 Transitional as the doctype, you cannot set the style.left and style.top properties of image or div tags. If you remove the doctype from the page it works...
7
2194
by: amishguy | last post by:
Hello, I am having an issue with a site I'm creating right now. I have had this issue before and I would like to figure out what the solution is instead of using workarounds as I have in the past. A little background: I have a php based site. The layout is a table based layout that was generated by slicing a large image. Most of the...
0
7532
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7461
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7730
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
7971
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
0
6055
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
0
3509
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
1
1956
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1068
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
776
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.