kristoff Posted August 6, 2007 Share Posted August 6, 2007 hi folks. i have a little problem. when i include a page in my script the page isn't showed correct. the page is a combination of css and php. i hope that anyone can help me. Quote Link to comment https://forums.phpfreaks.com/topic/63597-solved-page-not-shown-fully/ Share on other sites More sharing options...
phpknight Posted August 6, 2007 Share Posted August 6, 2007 Please post all the relevant code so we can see it. Quote Link to comment https://forums.phpfreaks.com/topic/63597-solved-page-not-shown-fully/#findComment-316999 Share on other sites More sharing options...
kristoff Posted August 7, 2007 Author Share Posted August 7, 2007 i think this is everything that you need the variables are information out a database $prijslijst_computer_afdrukken.= "<a name=\"$soort_computer[$i]\"></a>"; $prijslijst_computer_afdrukken.= "<table id= \"prijslijst_table_1\"><tr><td width= \"810px\" align= \"center\"><font color=\"#c0c0c0\" size= \"3\" ><b>$soort_computer[$i]<br></b></font></td></tr> </table>"; $prijslijst_computer_afdrukken.="<table id= \"prijslijst_table_2\"><tr><td width= \"140px\">  </td>"; $prijslijst_computer_afdrukken.="<td width=\"140px\"><font align=\"center\" color=\"#666666\" size= \"1\" >btw & recupel incl.</font></td>"; $prijslijst_computer_afdrukken.="<td width=\"520px\" colspan= \"2\"> </td></tr>"; if ($computer_type[$i]==$soort_computer[$i]) { $prijslijst_computer_afdrukken .= "<tr><td width=\"140px\" colspan=\"1\" rowspan=\"4\" style= \" border-left: 2px solid #808080 \" > <img border=\"0\" src=\"$computer_link_foto[$i]\" width=\"130px\" height=\"130px\"></td>"; $prijslijst_computer_afdrukken .= "<td width =\"140px\">lalal</td>"; $extra_info_1=false; $extra_info_2=false; if ( ($computer_bij_komende_info_1_janee[$i]==1) && ($computer_bij_komende_in_titel[$i] ==1)) { $computer_titel[$i] = str_replace("<*>","<font color=\"#6495ED\">*</font> " ,$computer_titel[$i] ); $extra_info_1=true; } $prijslijst_computer_afdrukken .= "<td width =\"400px\"><font color=\"#FF8C00\" size= \"2\" ><b>$computer_titel[$i]</b></font></td>"; $prijslijst_computer_afdrukken .= "<td width =\"120px\"> $computer_bestel_nr[$i]</td></tr>"; $prijslijst_computer_afdrukken .= "<tr><td width=\"140px\" align=\"center\"><font face=\"Arial\" color=\"#FF8C00\" style=\"font-size: 22pt\">$computer_prijs[$i],-</font></td>"; if (($computer_bij_komende_info_1_janee[$i]==1 ) && ($computer_bij_komende_in_titel==0)) { $computer_uitleg[$i] = str_replace("<*>","<font color=\"#6495ED\">*</font> " ,$computer_uitleg[$i] ); $extra_info_1=True; if ($computer_bij_komende_info_2_janee==1) { $computer_uitleg[$i] = str_replace("<**>","<font color=\"#6495ED\">**</font> " ,$computer_uitleg[$i] ); $extra_info_2=true; } } $computer_uitleg[$i] = str_replace("<n>","<font color=\"#FF8C00\">" ,$computer_uitleg[$i] ); $computer_uitleg[$i] = str_replace("</n>","<\font>" ,$computer_uitleg[$i] ); $prijslijst_computer_afdrukken .= "<td width =\"510px\" colspan=\"2\" rowspan=\"2\"> $computer_uitleg[$i]</td></tr>"; if (($computer_link_info=="")) $prijslijst_computer_afdrukken .= "<tr><td width=\"140px\" rowspan=\"2\"> </td></tr>"; else $prijslijst_computer_afdrukken .= "<tr><td width=\"140px\" rowspan=\"2\" align=\"center\"><a target=\"_blank\" href=\"$computer_link_info[$i]\"><img border=\"0\" src=\"img\kryo_meer_info.gif\" width=\"80\" height=\"15\"></a></td></tr>"; if ($extra_info_1) { $prijslijst_computer_afdrukken .= "<tr><td width=\"510px\" ><font color=\"#6495ED\" >* $computer_bij_komende_info_1[$i]"; if ($extra_info_2) $prijslijst_computer_afdrukken .= "<br>** $computer_bij_komende_info_2[$i]</font><td></tr>"; else $prijslijst_computer_afdrukken .="</font><td></tr>"; } else $prijslijst_computer_afdrukken .= "<tr><td width=\"510px\" ><font color=\"#6495ED\" > </font><td></tr>"; $prijslijst_computer_afdrukken .= "<tr><td width=\"140px\" height=\"2px\" colspan=\"1\" style= \"border-top: 2px solid #808080\"> </td>"; $prijslijst_computer_afdrukken .= "<td width=\"140px\" style= \"border-top: 2px solid #808080\"><font align=\"center\" color=\"#666666\" size= \"1\" >btw & recupel incl.</font></td>"; $prijslijst_computer_afdrukken .= "<td width=\"510px\" colspan= \"2\" align=\"right\" style= \"border-top: 2px solid #808080\"><font size=\"1\"><a href=#top>top</a></font></td></tr>"; } } } $prijslijst_computer_afdrukken .="</table>"; } echo $prijslijst_computer_afdrukken; Quote Link to comment https://forums.phpfreaks.com/topic/63597-solved-page-not-shown-fully/#findComment-317654 Share on other sites More sharing options...
phpknight Posted August 7, 2007 Share Posted August 7, 2007 Put a link to the html output and explain how you wanted it to look, what is wrong, etc. Thanks! Quote Link to comment https://forums.phpfreaks.com/topic/63597-solved-page-not-shown-fully/#findComment-317770 Share on other sites More sharing options...
kristoff Posted August 7, 2007 Author Share Posted August 7, 2007 this the url of the page http://rma.kryotech.eu/index.php?page=nl_prijslijst_pc.php&navigate=prijslijst best view in IE7 the problem is if you scroll to the bottem of the screen you see servers and a little gray part at top of the blue line. but the page stops there but there are still things that must be showed on the screen. it's a dutch site Quote Link to comment https://forums.phpfreaks.com/topic/63597-solved-page-not-shown-fully/#findComment-317780 Share on other sites More sharing options...
phpknight Posted August 7, 2007 Share Posted August 7, 2007 Okay, I see. How many lines are there below that Server part? It is difficult for me to tell by the source. One thing I do with situations like this is to temporarily put borders around every table/cell (CSS--in one spot) so you can see if something obvious is off. Quote Link to comment https://forums.phpfreaks.com/topic/63597-solved-page-not-shown-fully/#findComment-317813 Share on other sites More sharing options...
kristoff Posted August 7, 2007 Author Share Posted August 7, 2007 i think a 160 px are falling of the page or 5rows. i had the same problem on a other page but there i fixed it with a static height. but in this part i cant use a fixed height because it's variable. is this a problem of the php or the css or both?? Quote Link to comment https://forums.phpfreaks.com/topic/63597-solved-page-not-shown-fully/#findComment-317839 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.