[TYPO3-UG Cambodia] Typoscript configure add inline style to HTML tag

danet danet.krueng at gmail.com
Tue Feb 8 03:11:05 CET 2011


On 02/08/2011 08:05 AM, Sengchheang Chhun wrote:
> On 02/07/2011 05:49 PM, danet wrote:
>> Dear all,
>>
>> I have problem with add inline style to default HTML tag. For example
>> when i create content i chose H1 for header and then i want to change
>> default style of H1 by using inline style like below:
>>
>> <h1 style="color: #FFFFFF; font-size: 14px;" >My title </h1>
>>
>> Please anybody help me about this problem.
>>
>> Danet,
>
> Hi Danet,
> My solution is below.
> You can add this to your "extension template" of your page.
>
> page.CSS_inlineStyle (
> h1 {
> color: #FFFFFF;
> font-size: 14px;
> }
> )
Dear Sengchheang,

I have tried it already but it doesn't work. So do you have any solution?

Danet,


More information about the TYPO3-UG-Cambodia mailing list