XHTML Strict with FCKEditor and or tidy

PIRONET Benoît <[email protected]> Fri, 9 May 2008 15:18:30 +0200
Newsgroups gmane.comp.cms.jahia.template
Message-ID <27112111568D6346939B1DABE49CD100CA8058@lux-mail.lux.cronos-technologies.com>
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: [email protected] <mailto:[email protected]>  
http://www.sword-technologies.com/ <http://www.sword-technologies.com/>

_______________________________________________
template_list mailing list
[email protected]
http://lists.jahia.org/cgi-bin/mailman/listinfo/template_list