Jump to content

Recommended Posts

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\">&nbsp </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\">&nbsp</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\">&nbsp</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\" >&nbsp</font><td></tr>";
	        		$prijslijst_computer_afdrukken .= "<tr><td width=\"140px\" height=\"2px\" colspan=\"1\" style= \"border-top: 2px solid #808080\">&nbsp</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;

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

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.

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??

 

 

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.