Code: Select all
echo "<tr style=\"color:red;\" onclick=\"document.location='viewcall.php?id="[color=#FF0000]etc.[/color]Moderator: General Moderators
Code: Select all
echo "<tr style=\"color:red;\" onclick=\"document.location='viewcall.php?id="[color=#FF0000]etc.[/color]..Jay87 wrote:but the table is on PHP!
Code: Select all
<tr style= \"font-size:20;\"Code: Select all
<tr style= "font-size:20px;">
hello
</tr>
<tr style= "font-size:100px;">
worldJay87 wrote:I tried:
but it doesn't work, any advice?Code: Select all
<tr style= \"font-size:20;\"
Code: Select all
<?php
echo "<html>
<table border=1>
<tr style=\"font-size:10;\"><td> test 1 </td></tr>
<tr style=\"font-size:25;\"><td> test 2 </td></tr>
<tr style=\"font-size:66;\"><td> test 3 </td></tr>
<tr style=\"font-size:40;\"><td> test 4 </td></tr>
</table>
</html>";
?>
That table had standard sizes, all same for me.Grizzzzzzzzzz wrote:Code: Select all
<?php echo "<html> <table border=1> <tr style=\"font-size:10;\"><td> test 1 </td></tr> <tr style=\"font-size:25;\"><td> test 2 </td></tr> <tr style=\"font-size:66;\"><td> test 3 </td></tr> <tr style=\"font-size:40;\"><td> test 4 </td></tr> </table> </html>"; ?>
Code: Select all
<?php
echo "<html>
<table border=1>
<tr style=\"font-size:10px;\"><td> test 1 </td></tr>
<tr style=\"font-size:25px;\"><td> test 2 </td></tr>
<tr style=\"font-size:66px;\"><td> test 3 </td></tr>
<tr style=\"font-size:40px;\"><td> test 4 </td></tr>
</table>
</html>";
?>
when i add that to my page it works fine but when i add <tr style=\"font-size:40px;\"> to the table:aravona wrote:
That table had standard sizes, all same for me.
With 'px' works fine tho.Code: Select all
<?php echo "<html> <table border=1> <tr style=\"font-size:10px;\"><td> test 1 </td></tr> <tr style=\"font-size:25px;\"><td> test 2 </td></tr> <tr style=\"font-size:66px;\"><td> test 3 </td></tr> <tr style=\"font-size:40px;\"><td> test 4 </td></tr> </table> </html>"; ?>
Code: Select all
echo "<tr style=\"font-size:20px;\" onclick=\"document.location='viewcall.php?id=" . $item['id'] . "&pfx=" . $item['id_prefix']; if($HTTP_SERVER_VARS['QUERY_STRING']){ echo "&";} echo $HTTP_SERVER_VARS['QUERY_STRING'] . "';\">Code: Select all
echo "<tr style=\"color:red;\" onclick=\" .......etc.....
else