User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the JavaScript / DHTML / AJAX section within the Web Development category of DaniWeb, a massive community of 374,156 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,467 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our JavaScript / DHTML / AJAX advertiser: Lunarpages Web Hosting
Views: 769 | Replies: 0
Join Date: May 2008
Posts: 1
Reputation: howslow is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
howslow howslow is offline Offline
Newbie Poster

firefox and Iframes

  #1  
May 2nd, 2008
I have been reading alot about the Firefox and Iframe issue but really have seen no fix for it. I am sure its a simply tweak in my html but i cant seem to find the fix. I am new to html, I am just using frontpage and everything looks ok in there. below is my index page I set the background color to black, in Firefox the black is in the iframe as well as the background. And when I set a background picture it does the same thing. I have my page centered so the outsides should be black and the Iframe should be white.. Thanks for any help..

  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
  2. <HTML><HEAD><TITLE></TITLE>
  3. <META content="Microsoft FrontPage 6.0" name=GENERATOR>
  4. <META content=FrontPage.Editor.Document name=ProgId>
  5. <META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
  6. <SCRIPT language=JavaScript>
  7. <!--
  8.  
  9. function SymError()
  10. {
  11.   return true;
  12. }
  13.  
  14. window.onerror = SymError;
  15.  
  16. var SymRealWinOpen = window.open;
  17.  
  18. function SymWinOpen(url, name, attributes)
  19. {
  20.   return (new Object());
  21. }
  22.  
  23. window.open = SymWinOpen;
  24.  
  25. //-->
  26. </SCRIPT>
  27.  
  28.  
  29. <style type="text/css">
  30. <!--
  31. body {
  32. background-color: #000000;
  33. }
  34. a:hover {
  35. color: #EB5729;
  36. }
  37. a:link {
  38. color: #EB5729;
  39. }
  40. a:visited {
  41. color: #EB5729;
  42. }
  43. a:active {
  44. color: #EB5729;
  45. }
  46. .style4 {font-size: 10px}
  47. -->
  48. </style></HEAD>
  49. <BODY leftMargin=0 topMargin=0>
  50. <DIV align=center>
  51. <CENTER>
  52. <TABLE id=AutoNumber1 style="BORDER-COLLAPSE: collapse" cellPadding=0
  53. border=0 height="0">
  54. <TBODY>
  55. <TR>
  56. <TD align=left width=1
  57. rowSpan=3>&nbsp;</TD>
  58. <TD width=800
  59. bgColor=#ffffff>
  60. <img border="0" src="tq_banner.jpg" width="800" height="200"></TD>
  61. </TR>
  62. <TR>
  63. <table width="800" border="0" bgcolor="#000000">
  64. <tr>
  65. <th width="100" bgcolor="#000000" scope="col"><span class="style4"><font color="#EB5729" face="Verdana, Arial, Helvetica, sans-serif">
  66. <a target="main" href="home.html">Home</a></font></span></th>
  67. <th width="100" bgcolor="#000000" scope="col"><span class="style4">
  68. <a target="main" href="gallery.html"><font color="#EB5729" face="Verdana, Arial, Helvetica, sans-serif">
  69. Gallery</font></a></span></th>
  70. <th width="100" bgcolor="#000000" scope="col"><span class="style4"><font color="#EB5729" face="Verdana, Arial, Helvetica, sans-serif">
  71. <a target="main" href="specs.html">Specs</a></font></span></th>
  72. <th width="100" bgcolor="#000000" scope="col"><span class="style4"><font color="#EB5729" face="Verdana, Arial, Helvetica, sans-serif">
  73. <a target="main" href="news.html">News</a></font></span></th>
  74. <th width="100" bgcolor="#000000" scope="col"><span class="style4"><font color="#EB5729" face="Verdana, Arial, Helvetica, sans-serif">
  75. <a target="main" href="dealers.html">Dealers</a></font></span></th>
  76. <th width="100" bgcolor="#000000" scope="col"><span class="style4"><font color="#EB5729" face="Verdana, Arial, Helvetica, sans-serif">
  77. <a target="main" href="accessories.html">Accessories</a></font></span></th>
  78. <th width="100" bgcolor="#000000" scope="col"><span class="style4"><font color="#EB5729" face="Verdana, Arial, Helvetica, sans-serif">
  79. <a target="main" href="setups.html">Setups</a></font></span></th>
  80. <th width="100" bgcolor="#000000" scope="col"><span class="style4"><font color="#EB5729" face="Verdana, Arial, Helvetica, sans-serif">
  81. <a target="main" href="contact.html">Contact</a></font></span></th>
  82. </tr>
  83. </table></TD>
  84. </TR>
  85. <TR>
  86. <TD height="25" bgColor=#ffffff>
  87. <DIV align=center>
  88. <CENTER>
  89. <iframe name="main" src="home.html" width="798" height="561" scrolling="no"> Your browser does not support inline frames or is currently configured not to display inline frames. </iframe>
  90. </CENTER></DIV></TD></TR>
  91. </TBODY></TABLE>
  92. </CENTER></DIV>
  93. </BODY></HTML>

THanks again..
Last edited by peter_budo : May 3rd, 2008 at 6:30 pm. Reason: Keep It Organized - please use [code] tags
AddThis Social Bookmark Button
Reply With Quote  

Only community members can participate in forum threads. You must register or log in to contribute.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

DaniWeb JavaScript / DHTML / AJAX Marketplace
Thread Tools Display Modes

Similar Threads
Other Threads in the JavaScript / DHTML / AJAX Forum

All times are GMT -4. The time now is 3:32 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC