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

sorn sun.sorn007 at gmail.com
Wed Feb 9 11:46:28 CET 2011


Hi Danet

page.CSS_inlineStyle (
    #content h1 {
       color: #FF22FF;
       font-size: 14px;
    }
)

try this one again.

thanks.
Sorn.

On 02/08/2011 09:11 AM, danet wrote:
> 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