Discussion:
XHTML Strict with FCKEditor and or tidy
PIRONET Benoît
2008-05-09 13:18:30 UTC
Permalink
Hello,



I'd like to know if it is possible to force the bigText to be xhtml strict valid when created using FCKEditor ?



The problem I found is the following:

o Error: there is no attribute "height" (or "width" or "background")
This error mainly applies to tables and table cells. Tables can have widths, but cannot have heights. Table cells can't have either widths or heights. ... However, you can use an inline style to set widths, heights, and background images of table cells. ...

§ Wrong:
<table width="100" height="200">
<tr>
<td width="100" height="100" background="image.gif">Table cell</td>
</tr>
</table>

§ Right:
<table width="100">
<tr>
<td style="width: 100px; height: 100px; background: ('image.gif');">Table cell</td>
</tr>
</table>

(from: http://www.pixelmill.com/support/support_article.aspx?ParentListID=al1095&articleid=kb101700 )



<td width="100"> must be replaced by <td style="width: 100px">





I set the "clean = yes" configuration value in tidy.properties but this changes nothing even after an application server restart.



Is there any other possibilities ?

In tidy ? Jahia or even FCKEditor config ?



Thank you for your responses,



Benoit Pironet

Junior Consultant
SWORD Technologies
105, route d'Arlon
L-8009 Strassen
G.D. de Luxembourg

Tel: +352 26 11 26 81

mailto: ***@sword-technologies.com <mailto:***@sword-technologies.com>
http://www.sword-technologies.com/ <http://www.sword-technologies.com/>
Loading...