hello, i got problem in the width that i wish to got help about . well the problem in the english characters, it pass the td or the table width . when i written any text in table with width lets say width="40%" or <td> with any width like width="50%" the characters stay in one line untill passing the table or the td width so this problem with the english characters only , i tried arabic characters and it works good , when the line got the mount of the characters it starts new line and it didnt pass the width so please help me to fix this , thanks
All right first of all make sure your using the <p>. Also it would be better to stop using tables now in start using css. the diffrence is css has the ability to reposition your test, load faster, has a cleaner mock up if you gave it it's own sheet go to w3schools to learn more
thank for the reply but it doesent work so here is the code <table style="border: 0px; width: 100%;"> <tr> <td width="80%" align="right" valign="top"> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td valign="top" width="2%"></td> <td valign="top" width="98%"><a href="index.php" > - title </a></td> </tr> <tr> <td valign="top" width="2%"></td> <td valign="top" width="98%" ><a> alot of letters here </a></td> </tr> </table> </td> <td width="20%" align="left" valign="top"><a href="index.php" ><img src="pic.jpg" width="150" height="120" border="0"></a> </td> </tr> </table> PHP: so in this part from the code "<td valign="top" width="98%" ><a> alot of letters here </a></td>" when i put letters like ooooooooooo alot of it it pass the 80 % width and it move the pic in the left in the other 20 % width from the table
I agree with the post above. You should stop using tables and use CSS with DIVs instead. It is a lot cleaner and will look a lot better than tables.