IFRAME size is perfect in IE but wrong in Firefox

Take a look at this page:


1st use IE to view the page.
*Notice you can see the word "sneak" inside of the IFRAME
2nd open the same link inside Firefox or Netscape
*Notice you cannot see the word "sneak" inside of the IFRAME any longer.

Is there a special way I need to code the IFRAME to look the same as it does in IE?
My purpose is to make a true cross platform site.
Who is Participating?
RedKelvinConnect With a Mentor Commented:
try formatting your Iframe with CSS, if this does not work, have a look at this
deek22Author Commented:
Fixed it, Here is the code that I used in the main page containing the iframe.  Using CSS to format the IFRAME allowed it to show up the same in Firefox/Netscape/IE

Thanks RedKelvin

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<meta http-equiv="Content-Language" content="en-us">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>IFRAME scroll problem</title>
<style type="text/css">
      height: 155px;
      width: 700px;
      border-style: none;




<p>IFRAME Size Problem</p>
<iframe name="I1" src="test_2.htm" scrolling="no" border="0" frameborder="0">
Your browser does not support inline frames or is currently configured not to display inline frames.


Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.