Jump to content

Recommended Posts

Hello

 

I have two coloums, made by tables, into which i insert text.  When i do this the second table (far right) the text feed into it only goes as far as the table width, and the downwords.  However in the first table it goes over the table boundry and under the second table.  How do i stop this???? 

 

Many Thanks!

 

<TR><TD width="629" align="left" VALIGN=TOP>
<TABLE width="643" BORDER=0 align="right" CELLPADDING=1 CELLSPACING=0 BGCOLOR=#486090>
  <TR>
    <TD width="629" ALIGN=CENTER><TABLE WIDTH=655 BORDER=0 align="left" CELLPADDING=4 CELLSPACING=0 BGCOLOR=#E0E8FF>
      <TR BGCOLOR=#000099>
        <TD width="371" ALIGN=CENTER valign="top"><font color="#FFFFFF"><strong>

<?php
echo $body_title;
?>	


	</strong></font></TD>
      </TR>
      <TR>
        <TD><TABLE WIDTH=130% height="77" BORDER=0 align="left" CELLPADDING=10 CELLSPACING=0>
          <TR>
            <TD align="left" valign="top"><P>


<?php
echo $body_content;
?>


</P></TD>
          </TR>
        </TABLE></TD>
      </TR>
    </TABLE></TD>
  </TR>
</TABLE>
<P></TD>
<TD width="240" ALIGN=CENTER VALIGN=TOP>





<DIV ID="DownloadHelp" STYLE="display:block">
<TABLE BORDER=0 align="right" CELLPADDING=1 CELLSPACING=0 BGCOLOR=#486090>
<TR><TD ALIGN=CENTER>
	<TABLE WIDTH=238 BORDER=0 align="right" CELLPADDING=4 CELLSPACING=0 BGCOLOR=#E0E8FF>
	<TR BGCOLOR=#000099>
	  <TD ALIGN=CENTER valign="top"><B><font color="#FFFFFF">


	  
<?php
echo $side_title;
?>

	  
	  </font></B></TD>
	</TR>
	<TR><TD>
	<TABLE WIDTH=100% height="82" BORDER=0 CELLPADDING=10 CELLSPACING=0>
	<TR><TD valign="top">
	<FONT SIZE=-1>
	<P>


<?php
echo $side_content;
?>


</P>
	</FONT><P> </P
	></TD></TR></TABLE>
	</TD></TR>
</TABLE>
</TD></TR></TABLE>
</DIV>

</TD>
</TR>

 

 

 

(Strange thing is that in DreamWeaver it works as it should.)

Link to comment
https://forums.phpfreaks.com/topic/37041-solved-text-spilling-over/
Share on other sites

without delving too far into your problem if you look at the fist 3 declarations of the width variable you will note that the witdh assigned to a child element is actually higher than that assigned to the container...

 

Exactly.

 

It's like a baby being bigger than the womb. Not meant to happen.

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.