[TYPO3] How to specify default class for td?

Tyler Kraft headhunterxiii at yahoo.ca
Wed Nov 8 13:33:26 CET 2006


or configure a class in the RTE for tables instead of td



Benjamin Mack wrote:
> Hey,
> 
> 1) I haven't tried this yet but try this:
> 
> Assuming that you have installed extension CSS Styled Content 
> (css_styled_content), add the following line in your TS template Setup 
> field:
> 
> lib.parseFunc_RTE.externalBlocks.table.stdWrap.HTMLparser.tags.td.fixAttrib.class.list 
> = myClassName
> 
> 2) also possible and easier: wrap your content elements in a separate 
> div (<div class="cel">) and then change your styles in your CSS
> 
> td { default:values; }
> ..cel td { differnet:settings; }
> 
> greetings,
> benni.
> -SDG-
> 
> 
> Arne Schmitz wrote:
>> I want to specify a default class for the <td> element in tables. Per 
>> default they don't have any, but I would like them to have a border by 
>> default and only disable them if needed. Of course, I cannot specify 
>> just 'td {...}' in my css file, because then all the tables used e.g. 
>> by our HTML template will look wrong... So how do I get the RTE to 
>> produce <td> tags with a CSS class? I didn't find a property to set this.
>>
>> Arne
>>
>>
>>
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> TYPO3-english mailing list
>> TYPO3-english at lists.netfielders.de
>> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english



More information about the TYPO3-english mailing list