Ganael Posted March 3, 2006 Share Posted March 3, 2006 Hi, fire fox has no default bgcolor, so my iframe doesn't hide my bgimage, but with IE, it is totaly whit!!! how can I fix that? Link to comment Share on other sites More sharing options...
aspnetguy Posted March 3, 2006 Share Posted March 3, 2006 Hi, fire fox has no default bgcolor, so my iframe doesn't hide my bgimage, but with IE, it is totaly whit!!! how can I fix that? <{POST_SNAPBACK}> You can start by posting your code . It is really hard to guess without seeing it. Link to comment Share on other sites More sharing options...
Ganael Posted March 3, 2006 Author Share Posted March 3, 2006 there isn't realy any code : my iframe ( page.htm) : <html><head><title>some title</title></head><body text="white">some text</body></html>my main page :<html><head><title>some title</title></head><body bgcolor="black" text="white"><table border="1" width="100%" height="450" frame="border" cellpadding="5" cellspacing="0" valign="top"><tr><td background="dragon1.jpg" valign="top"><iframe frameborder="0" src="FrontNews.htm" width="100%" height="100%"></iframe></td></tr></table>it works perfectly with fire fox, the iframe doesn't hide the bgimage... but IE make it all white... Link to comment Share on other sites More sharing options...
aspnetguy Posted March 3, 2006 Share Posted March 3, 2006 set your iframe to <iframe src="..." allowtransparency="true"></iframe> FF defaults to Transparent but IE defaults to White. Link to comment Share on other sites More sharing options...
Ganael Posted March 3, 2006 Author Share Posted March 3, 2006 sry, but it didn't chang anything Link to comment Share on other sites More sharing options...
Ganael Posted March 3, 2006 Author Share Posted March 3, 2006 I tried the following and it works perfectly :page.htm :<body bgcolor="transparent"></body> (just a guess )and combined it with your response : <iframe src="..." allowtransparency="true"></iframe>thx for your help Link to comment Share on other sites More sharing options...
aspnetguy Posted March 3, 2006 Share Posted March 3, 2006 I tried the following and it works perfectly :page.htm :<body bgcolor="transparent"></body> (just a guess )and combined it with your response : <iframe src="..." allowtransparency="true"></iframe>thx for your help<{POST_SNAPBACK}> IE is very quirky...it sometimes takes a lot of effort to get IE to conform.Good to hear it is working now! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now