Go Back   CodingForums.com > :: Client side development > HTML & CSS

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 12-17-2005, 08:54 AM   PM User | #1
Osiris
New Coder

 
Join Date: Dec 2005
Location: Dallas, TX
Posts: 45
Thanks: 0
Thanked 0 Times in 0 Posts
Osiris is an unknown quantity at this point
Disappearing <iframe> in IE

Alright, me with a problem in IE again... *grumbles something about a standards non-compliant piece of ***** This time, it's an HTML/CSS/frames problem. In my web app, I'm using iframes to show different things all at once to both minimize bandwidth usage and to keep the user as up-to-date as possible. My layout looks something like this:

Code:
+----------------------------+
|       Toolbar Frame        |
+----------------------------+
|                            |
|                            |
|      Content Frame         |
|                            |
|                            |
+----------------------------+
|                   |  User  |
|     Chat View     |  List  |
+-------------------|        |
|     "Say" Frame   |  Frame |
+----------------------------+
Well, it all shows up just fine in FF, of course, but in IE, the user list frame just... Disappears. Here's a link to an HTML example:

http://www.trinityservers.com/test_thing.html

As you'll see, the frame shows up just fine in Firefox, but once you switch over to IE, it's just... Gone.

Help, please?
__________________
Owner - Osiris Incorporated

PHP and MySQL pro, and always willing to help.

Last edited by Osiris; 12-17-2005 at 08:58 AM..
Osiris is offline   Reply With Quote
Old 12-17-2005, 09:01 AM   PM User | #2
_Aerospace_Eng_
Supreme Master coder!


 
_Aerospace_Eng_'s Avatar
 
Join Date: Dec 2004
Location: In a place far, far away...
Posts: 19,293
Thanks: 2
Thanked 1,044 Times in 1,020 Posts
_Aerospace_Eng_ is a glorious beacon of light_Aerospace_Eng_ is a glorious beacon of light_Aerospace_Eng_ is a glorious beacon of light_Aerospace_Eng_ is a glorious beacon of light_Aerospace_Eng_ is a glorious beacon of light
Its there but IE is having a problem with the percentage height. Add this in between your head tags.
Code:
<style type="text/css">
html, body {
margin:0;
padding:0;
height:100%;
}
</style>
The iframe now shows up but makes it huge, but now you have something to work with.

Last edited by _Aerospace_Eng_; 12-17-2005 at 09:08 AM..
_Aerospace_Eng_ is offline   Reply With Quote
Old 12-17-2005, 09:35 PM   PM User | #3
Osiris
New Coder

 
Join Date: Dec 2005
Location: Dallas, TX
Posts: 45
Thanks: 0
Thanked 0 Times in 0 Posts
Osiris is an unknown quantity at this point
In the head tags of which document, though? Keep in mind that the page holds several documents at once. :P
__________________
Owner - Osiris Incorporated

PHP and MySQL pro, and always willing to help.
Osiris is offline   Reply With Quote
Old 12-17-2005, 11:56 PM   PM User | #4
Osiris
New Coder

 
Join Date: Dec 2005
Location: Dallas, TX
Posts: 45
Thanks: 0
Thanked 0 Times in 0 Posts
Osiris is an unknown quantity at this point
Ok. I tried, and while it worked for the example, it didn't when I tried to put it in the actual site, it didn't work at all. =( Any other ideas?
__________________
Owner - Osiris Incorporated

PHP and MySQL pro, and always willing to help.
Osiris is offline   Reply With Quote
Old 12-17-2005, 11:59 PM   PM User | #5
_Aerospace_Eng_
Supreme Master coder!


 
_Aerospace_Eng_'s Avatar
 
Join Date: Dec 2004
Location: In a place far, far away...
Posts: 19,293
Thanks: 2
Thanked 1,044 Times in 1,020 Posts
_Aerospace_Eng_ is a glorious beacon of light_Aerospace_Eng_ is a glorious beacon of light_Aerospace_Eng_ is a glorious beacon of light_Aerospace_Eng_ is a glorious beacon of light_Aerospace_Eng_ is a glorious beacon of light
In the head tags for the main document not the iframe pages. Personally I think you are abusing iframes, you might as well use a frameset.
_Aerospace_Eng_ is offline   Reply With Quote
Old 12-18-2005, 12:03 AM   PM User | #6
Osiris
New Coder

 
Join Date: Dec 2005
Location: Dallas, TX
Posts: 45
Thanks: 0
Thanked 0 Times in 0 Posts
Osiris is an unknown quantity at this point
I can't use a frameset, because I'd just have to put the frameset in an iframe... As you'll see here in a second. I have another example with the design set in:

http://www.trinityservers.com/test_thing2.html

Seeing that, now do you get what I mean?
__________________
Owner - Osiris Incorporated

PHP and MySQL pro, and always willing to help.
Osiris is offline   Reply With Quote
Old 12-18-2005, 08:35 PM   PM User | #7
Osiris
New Coder

 
Join Date: Dec 2005
Location: Dallas, TX
Posts: 45
Thanks: 0
Thanked 0 Times in 0 Posts
Osiris is an unknown quantity at this point
Still in need of some help... I can't seem to figure out at all how to fix it. Nothing I've tried has done any good whatsoever. There's got to be someone who can help me out here... Please? I'll give you a cookie. =P
__________________
Owner - Osiris Incorporated

PHP and MySQL pro, and always willing to help.
Osiris is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 07:34 PM.


Advertisement
Log in to turn off these ads.