Forum Moderators: not2easy

Message Too Old, No Replies

3 columns+CSS+iframes

         

WildCard

11:14 am on Jul 29, 2003 (gmt 0)

10+ Year Member



Hi,
I am hoping that somebody can help me with this. I am working on a project where I have a three column layout which is controlled by divs. It looks something like this (forgive the ascci art):
---------------
¦header ¦
---------------
¦ 1 ¦ 2 ¦ 3 ¦
¦ ¦ ¦ ¦
---------------

The layout works just fine and the content appears perfectly in all three columns. Now when I embedd an iFrame in column 2, the center column, the content in the third column disappears (still shows in the source mind you). I have resized the iFRame and made it so small to see if maybe the third column div had slipped underneath it, but that wasn't the case.

Anybody else ever come accross this problem? Any suggestions or solutions?

BlobFisk

11:24 am on Jul 29, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Welcome to WebmasterWorld, WildCard!

Very strange, can't say that I've encountered this before - but someone else on the board may well have.

Could you post the relevent snippets of your CSS and html - maybe there is something there that is causing trouble.

Have you validated your CSS and HTML to see if that catches any errors?

WildCard

11:41 am on Jul 29, 2003 (gmt 0)

10+ Year Member



Actually I just figured it out...

And let that be a lesson to all who don't follow xHTML: closing tags. My boss omitted the closing tag from the Iframe.

Thanks for the prompt reply!

Greg

BlobFisk

12:04 pm on Jul 29, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Glad that you got it sorted!

This is a great example of where running your HTML/CSS through the validator can catch little ommissions (which can cause big problems!) like this.