IFRAME size is perfect in IE but wrong in Firefox

Take a look at this page:

http://www.iframeissue.yesyall.com/?path=test.htm

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.
deek22Asked:
Who is Participating?
 
RedKelvinConnect With a Mentor Commented:
try formatting your Iframe with CSS, if this does not work, have a look at this
http://www.experts-exchange.com/Web/Browser_Issues/Q_21403669.html#13872948
0
 
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">
<html>
<head>
<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">
iframe{
      height: 155px;
      width: 700px;
      border-style: none;
}

</style>

</head>

<body>

<p>IFRAME Size Problem</p>
<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.
</iframe></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>

</body>

</html>
0
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.