Thanks for supporting guys,
Well, the problem is when I have a page with tables with border=0. In tha last FKEditor, when you have a table with border=0, you could see it anyway in the editor, so you can work with it.
Now, there's no tables to see and you get a little lost...
A fix was parse the code with php, and when appear a border=0, change the appearance to the form and show a border=1, and when saved, take that 1 and change to 0.
Another solution was:
But it shows ALL the borders dotted.
And the last solution was:
But it didn't work in Mozilla and IE, just in Chrome
They aren't good solutions, any real good one?
thanks!
Well, the problem is when I have a page with tables with border=0. In tha last FKEditor, when you have a table with border=0, you could see it anyway in the editor, so you can work with it.
Now, there's no tables to see and you get a little lost...
A fix was parse the code with php, and when appear a border=0, change the appearance to the form and show a border=1, and when saved, take that 1 and change to 0.
Another solution was:
/* For tables with the "border" attribute set to "0" */ table, th, td { border: 1px dotted silver !important; }
But it shows ALL the borders dotted.
And the last solution was:
/* For tables with the "border" attribute set to "0" */ table[border="0"], table[border="0"] > tr > td, table[border="0"] > tr > th, table[border="0"] > tbody > tr > td, table[border="0"] > tbody > tr > th, table[border="0"] > thead > tr > td, table[border="0"] > thead > tr > th, table[border="0"] > tfoot > tr > td, table[border="0"] > tfoot > tr > th { border: #d3d3d3 1px dotted ; } /* For tables with no "border" attribute set */ table:not([border]), table:not([border]) > tr > td, table:not([border]) > tr > th, table:not([border]) > tbody > tr > td, table:not([border]) > tbody > tr > th, table:not([border]) > thead > tr > td, table:not([border]) > thead > tr > th, table:not([border]) > tfoot > tr > td, table:not([border]) > tfoot > tr > th { border: #d3d3d3 1px dotted ; }
But it didn't work in Mozilla and IE, just in Chrome
They aren't good solutions, any real good one?
thanks!
Re: Any real solution for border=0 in tables in the editor??
/* For tables with the "border" attribute set to "0" */
table, th, td { border: 1px dotted silver !important; }
That will do the trick by always showing a table border inside the editor.
Re: Any real solution for border=0 in tables in the editor??
Re: Any real solution for border=0 in tables in the editor??