1
arrepia
Problem with tables
  • 2006/4/7 1:20

  • arrepia

  • Just popping in

  • Posts: 5

  • Since: 2006/4/7 0


Can someone tell me why when I try to insert a table in a text box (body of news) the XOOPS insert a br tag at the end of every line.

For example when I insert this table
le="color: #000000"><?php <table> <tr> <td>asasasasasasas</td> </tr> <tr> <td>asasasasasasas</td> </tr> <tr> <td>asasasasasasas</td> </tr> <tr> <td>asasasasasasas</td> </tr> </table>


and the browser renders this

le="color: #000000"><?php <table><br /> <tr><br /> <td>asasasasasasas</td><br /> </tr><br /> <tr><br /> <td>asasasasasasas</td><br /> </tr><br /> <tr><br /> <td>asasasasasasas</td><br /> </tr><br /> <tr><br /> <td>asasasasasasas</td><br /> </tr><br /> </table>


Tanks

2
maru1
Re: Problem with tables
  • 2006/4/7 9:11

  • maru1

  • Just popping in

  • Posts: 27

  • Since: 2006/3/28


I think it is because the editor intreprets every "enter" (going to a new line) as a "br" tag. So maybe you should input all the table code in one line.
Another solution could be unchecking option "interprete enter as br" (or similar), which I think I've seen somewhere in preferences, but I'm not sure where...

3
arrepia
Re: Problem with tables
  • 2006/4/7 20:58

  • arrepia

  • Just popping in

  • Posts: 5

  • Since: 2006/4/7 0


Maybe you talk about this:

"Force BR elements
This option forces output of BR elements instead of P elements"

This is an option in module TinyEditor and the problem happens with any editor even if I put the text directly in DB.