开发者

Typo3: unset padding

I have a reset.css file which sets table cells padding to 0. But I'm using the typo3 htmlrte editor, which doesn't use CSS for setting the cell padding. Instead, it uses the attribute cellpadding, which is overridden by the CSS rule. I can't set in my CSS file a class like table.rtetable {} because the padding needs to be editable from admin.

Is there a way to unset the paddi开发者_运维知识库ng for table cells?

Thanks!


You should configure RTE to clean tables elements attributes by using TypoScript noAttrib option.

RTE.default.proc.HTMLparser_db.noAttrib = th,td
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜