Też doszedłem do wniosku że zamieszczony na początku fragment kodu jest prawidłowy. W związku z tym problem musi tkwić gdzieś wcześniej. Coś z czymś koliduje. Pełny fragment kodu wygenerowany przez PHP jest jak poniżej:
<meta http-equiv="Content-Type" content="text/html; charset=windows-1250"> <meta http-equiv="Content-Language" content="pl"> <link rel="stylesheet" href="style.css" type="text/css" />
<script language="javascript" type="text/javascript" src="./tiny_mce/tiny_mce.js"></script> <script language="javascript" type="text/javascript"> tinyMCE.init({
theme : "advanced",
mode : "textareas",
theme_advanced_buttons3_add : "fontselect,fontsizeselect",
theme_advanced_buttons2_add : "forecolor,backcolor",
theme_advanced_toolbar_location : "top",
theme_advanced_toolbar_align : "left",
language : "pl"
});
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <body bgcolor="#FFFF99" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" background="Obrazki/tlo.jpg" style="background-repeat: repeat-x" text="#000000"> <table id="Tabela_01" width="751" height="640" border="0" cellpadding="0" cellspacing="0" style="font-family: Arial"> <td colspan="10" rowspan="11"> <img src="Obrazki/banner_logo.gif" width="505" height="199" alt=""></td> <img src="Obrazki/index_02.gif" width="245" height="21" alt=""></td> <img src="Obrazki/odstęp.gif" width="1" height="21" alt=""></td> <td colspan="3" width="220" height="29" background="Obrazki/motoryzacja.gif" onMouseOver="this.style.background='url(Obrazki/motoryzacja_mouse_over.gif)'" onMouseOut="this.style.background='url(Obrazki/motoryzacja.gif)'" style="cursor:pointer; background: url(Obrazki/motoryzacja.gif)"> <td colspan="2" rowspan="10"> <img src="Obrazki/index_04.gif" width="25" height="178" alt=""></td> <img src="Obrazki/odstęp.gif" width="1" height="29" alt=""></td> <img src="Obrazki/index_05.gif" width="220" height="3" alt=""></td> <img src="Obrazki/odstęp.gif" width="1" height="3" alt=""></td> <td colspan="3" width="220" height="29" background="Obrazki/kosmetyki.gif" onMouseOver="this.style.background='url(Obrazki/kosmetyki_mouse_over.gif)'" onMouseOut="this.style.background='url(Obrazki/kosmetyki.gif)'" style="cursor:pointer; background: url(Obrazki/kosmetyki.gif)"> <img src="Obrazki/odstęp.gif" width="1" height="29" alt=""></td> <img src="Obrazki/index_07.gif" width="220" height="3" alt=""></td> <img src="Obrazki/odstęp.gif" width="1" height="3" alt=""></td> <td colspan="3" width="220" height="29" background="Obrazki/bros.gif" onMouseOver="this.style.background='url(Obrazki/bros_mouse_over.gif)'" onMouseOut="this.style.background='url(Obrazki/bros.gif)'" style="cursor:pointer; background: url(Obrazki/bros.gif)"> <img src="Obrazki/odstęp.gif" width="1" height="29" alt=""></td> <img src="Obrazki/index_09.gif" width="220" height="3" alt=""></td> <img src="Obrazki/odstęp.gif" width="1" height="3" alt=""></td> <td colspan="3" width="229" height="29" background="Obrazki/biopon.gif" onMouseOver="this.style.background='url(Obrazki/biopon_mouse_over.gif)'" onMouseOut="this.style.background='url(Obrazki/biopon.gif)'" style="cursor:pointer; background: url(Obrazki/biopon.gif)"> <img src="Obrazki/odstęp.gif" width="1" height="29" alt=""></td> <img src="Obrazki/index_11.gif" width="220" height="3" alt=""></td> <img src="Obrazki/odstęp.gif" width="1" height="3" alt=""></td> <td colspan="3" width="220" height="29" background="Obrazki/paintball.gif" onMouseOver="this.style.background='url(Obrazki/paintball_mouse_over.gif)'" onMouseOut="this.style.background='url(Obrazki/paintball.gif)'" style="cursor:pointer; background: url(Obrazki/paintball.gif)"> <img src="Obrazki/odstęp.gif" width="1" height="29" alt=""></td> <img src="Obrazki/index_13.gif" width="220" height="21" alt=""></td> <img src="Obrazki/odstęp.gif" width="1" height="21" alt=""></td> <td colspan="2" width="139" height="40" background="Obrazki/start.gif" onMouseOver="this.style.background='url(Obrazki/start_mouse_over.gif)'" onMouseOut="this.style.background='url(Obrazki/start.gif)'" style="cursor:pointer; background: url(Obrazki/start.gif)"> <td background="Obrazki/dzielenie.gif"> <td colspan="5" width="186" height="40" background="Obrazki/wspolpraca.gif" onMouseOver="this.style.background='url(Obrazki/wspolpraca_mouse_over.gif)'" onMouseOut="this.style.background='url(Obrazki/wspolpraca.gif)'" style="cursor:pointer; background: url(Obrazki/wspolpraca.gif)"> <td background="Obrazki/dzielenie.gif"> <td colspan="2" width="161" height="40" background="Obrazki/kontakt.gif" onMouseOver="this.style.background='url(Obrazki/kontakt_mouse_over.gif)'" onMouseOut="this.style.background='url(Obrazki/kontakt.gif)'" style="cursor:pointer; background: url(Obrazki/kontakt.gif)"> <td background="Obrazki/index_19.gif"> <td colspan="3" width="144" height="40" background="Obrazki/dojazd.gif" onMouseOver="this.style.background='url(Obrazki/dojazd_mouse_over.gif)'" onMouseOut="this.style.background='url(Obrazki/dojazd.gif)'" style="cursor:pointer; background: url(Obrazki/dojazd.gif)"> <img src="Obrazki/odstęp.gif" width="1" height="40" alt=""></td> <img src="Obrazki/index_21.jpg" width="750" height="5" alt=""></td> <img src="Obrazki/odstęp.gif" width="1" height="5" alt=""></td> <img src="Obrazki/index_22.gif" width="5" height="5" alt=""></td> <img src="Obrazki/index_23.gif" width="215" height="5" alt=""></td> <img src="Obrazki/index_24.gif" width="5" height="5" alt=""></td> <img src="Obrazki/index_26.jpg" width="5" height="5" alt=""></td> <img src="Obrazki/index_27.jpg" width="510" height="5" alt=""></td> <img src="Obrazki/index_28.jpg" width="5" height="5" alt=""></td> <img src="Obrazki/odstęp.gif" width="1" height="5" alt=""></td> <img src="Obrazki/index_29.jpg" width="5" height="25" alt=""></td> <th colspan="3" background="Obrazki/index_30.jpg"> <img src="Obrazki/index_31.gif" width="5" height="25" alt=""></td> <img src="Obrazki/index_32.jpg" width="5" height="25" alt=""></td> <th colspan="7" background="Obrazki/index_33.jpg"> <img src="Obrazki/index_34.jpg" width="5" height="25" alt=""></td> <img src="Obrazki/odstęp.gif" width="1" height="25" alt=""></td> <img src="Obrazki/index_35.jpg" width="5" height="5" alt=""></td> <img src="Obrazki/index_36.jpg" width="215" height="5" alt=""></td> <img src="Obrazki/index_37.jpg" width="5" height="5" alt=""></td> <img src="Obrazki/index_38.jpg" width="5" height="5" alt=""></td> <img src="Obrazki/index_39.jpg" width="510" height="5" alt=""></td> <img src="Obrazki/index_40.jpg" width="5" height="5" alt=""></td> <img src="Obrazki/odstęp.gif" width="1" height="5" alt=""></td> <td background="Obrazki/index_41.jpg"> <td colspan="3" bgcolor="#999999" valign="top">
CDN
Resztękodu wrzucę w nast poście bo się nie mieści...
Jak widać... labo i nie... używam edytora WYSIWYG o nazwie TinyMCE. Jednak po usunięciu fragmentu kodu który za niego odpowiada - formularza nadal nie widać. Coś musi być po****** w HTMLu. PHP też odrzucam bo nie zgłasza żadnych błędów więc generuje tekst dobrze - błąd musi tkwić w interpretacji HTMLa przez IE7. Oczywiście w Firefoxie nie ma żadnych problemów. Znalazł może ktoś błąd?
Poniżej obiecana reszta kodu:
<table border="0" width="100%" id="table1" cellpadding="0"> <td valign="top" bgcolor="#808080" onclick="window.open('site.php?page=news','_self')" onMouseOver="this.style.background='#CCCCCC'" onMouseOut="this.style.background='#808080'" style="cursor:pointer;"><img border="0" src="Obrazki/punktator.gif" width="8" height="12" align="baseline"><b>Newsy
</b></td> <td valign="top" bgcolor="#808080" onclick="window.open('site.php?page=gal_list','_self')" onMouseOver="this.style.background='#CCCCCC'" onMouseOut="this.style.background='#808080'" style="cursor:pointer;"><img border="0" src="Obrazki/punktator.gif" width="8" height="12" align="baseline"><b>Galeria
</b></td>
<td valign="top" bgcolor="#808080"> <img border="0" src="Obrazki/punktator.gif" width="8" height="12" align="baseline"><b>Panel
</b>
<td valign="top" bgcolor="#808080" onclick="window.open('site.php?page=add_news_form','_self')" onMouseOver="this.style.background='#CCCCCC'" onMouseOut="this.style.background='#808080'" style="cursor:pointer;"> <img border="0" src="Obrazki/punktator.gif" width="8" height="12" align="baseline"> Dodaj news
</td>
<td valign="top" bgcolor="#808080" onclick="window.open('site.php?page=arts_panel','_self')" onMouseOver="this.style.background='#CCCCCC'" onMouseOut="this.style.background='#808080'" style="cursor:pointer;"> <img border="0" src="Obrazki/punktator.gif" width="8" height="12" align="baseline"> Artykuły
</td>
<td valign="top" bgcolor="#808080" onclick="window.open('site.php?page=gal_menager','_self')" onMouseOver="this.style.background='#CCCCCC'" onMouseOut="this.style.background='#808080'" style="cursor:pointer;"> <img border="0" src="Obrazki/punktator.gif" width="8" height="12" align="baseline"> Galerie
</td>
<td valign="top" bgcolor="#808080" onclick="window.open('site.php?page=costam','_self')" onMouseOver="this.style.background='#CCCCCC'" onMouseOut="this.style.background='#808080'" style="cursor:pointer;"> <img border="0" src="Obrazki/punktator.gif" width="8" height="12" align="baseline"> Dalsze opcje...
</td>
<td valign="top" bgcolor="#808080" onclick="window.open('site.php?page=wylog','_self')" onMouseOver="this.style.background='#CCCCCC'" onMouseOut="this.style.background='#808080'" style="cursor:pointer;"><img border="0" src="Obrazki/punktator.gif" width="8" height="12" align="baseline"><b>Wyloguj
</b></td> <td background="Obrazki/index_43.jpg"> <td background="Obrazki/index_44.jpg"> <td colspan="7" bgcolor="#999999" valign="top"> <table border="0" width="100%" cellpadding="3" id="table2" height="100%"> <td valign="top" style="font-size: 12pt">
<form method="POST" action="site.php?page=edit_news">
<p><input type="submit" value="Prześlij" name="B1"><input type="reset" value="Resetuj" name="B2"></p>
<td background="Obrazki/index_46.jpg"> <img src="Obrazki/odstęp.gif" width="1" height="315" alt=""></td> <img src="Obrazki/index_47.jpg" width="5" height="5" alt=""></td> <img src="Obrazki/index_48.jpg" width="215" height="5" alt=""></td> <img src="Obrazki/index_49.jpg" width="5" height="5" alt=""></td> <img src="Obrazki/index_50.jpg" width="5" height="5" alt=""></td> <img src="Obrazki/index_51.jpg" width="510" height="5" alt=""></td> <img src="Obrazki/index_52.jpg" width="5" height="5" alt=""></td> <img src="Obrazki/odstęp.gif" width="1" height="5" alt=""></td> <img src="Obrazki/index_53.jpg" width="750" height="5" alt=""></td> <img src="Obrazki/odstęp.gif" width="1" height="5" alt=""></td> <img src="Obrazki/index_54.jpg" width="5" height="5" alt=""></td> <img src="Obrazki/index_55.jpg" width="740" height="4" alt=""></td> <img src="Obrazki/index_56.jpg" width="5" height="5" alt=""></td> <img src="Obrazki/odstęp.gif" width="1" height="4" alt=""></td> <td colspan="13" rowspan="2" background="Obrazki/index_57.jpg"> <p align="center"><font size="2" color="#999999">Project by Lisek
2007 - All rights reserved
</font></td> <img src="Obrazki/odstęp.gif" width="1" height="1" alt=""></td> <img src="Obrazki/index_58.jpg" width="5" height="25" alt=""></td> <img src="Obrazki/index_59.jpg" width="5" height="25" alt=""></td> <img src="Obrazki/odstęp.gif" width="1" height="25" alt=""></td> <img src="Obrazki/index_60.jpg" width="5" height="5" alt=""></td> <img src="Obrazki/index_61.jpg" width="740" height="5" alt=""></td> <img src="Obrazki/index_62.jpg" width="5" height="5" alt=""></td> <img src="Obrazki/odstęp.gif" width="1" height="5" alt=""></td> <img src="Obrazki/odstęp.gif" width="5" height="1" alt=""></td> <img src="Obrazki/odstęp.gif" width="134" height="1" alt=""></td> <img src="Obrazki/odstęp.gif" width="40" height="1" alt=""></td> <img src="Obrazki/odstęp.gif" width="41" height="1" alt=""></td> <img src="Obrazki/odstęp.gif" width="5" height="1" alt=""></td> <img src="Obrazki/odstęp.gif" width="5" height="1" alt=""></td> <img src="Obrazki/odstęp.gif" width="5" height="1" alt=""></td> <img src="Obrazki/odstęp.gif" width="130" height="1" alt=""></td> <img src="Obrazki/odstęp.gif" width="40" height="1" alt=""></td> <img src="Obrazki/odstęp.gif" width="100" height="1" alt=""></td> <img src="Obrazki/odstęp.gif" width="61" height="1" alt=""></td> <img src="Obrazki/odstęp.gif" width="40" height="1" alt=""></td> <img src="Obrazki/odstęp.gif" width="119" height="1" alt=""></td> <img src="Obrazki/odstęp.gif" width="20" height="1" alt=""></td> <img src="Obrazki/odstęp.gif" width="5" height="1" alt=""></td>