[TYPO3-UG Cambodia] [SOLVED]Re: Typoscript configure add inline style to HTML tag
Danet Krueng
danet.krueng at gmail.com
Tue Feb 15 04:20:27 CET 2011
On 02/08/2011 04:54 PM, Visay Keo wrote:
> Hi Danet,
>
> I think you can configure RTE block style to create more option. So in
> RTE, we can highlight the text and choose our defined style. And that
> style are added in the TypoScript (Page TSConfig) to wrap the highlight
> text with whatever you want, ex: <div style="font-weight: bold;">YOUR
> TEXT</div>
>
> I don't remember how the TypoScript look like but I'm sure you can do
> research and there will be articles about that.
>
> Hope it helps.
> Visay
>
> 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,
Dear all,
Now I can found the solution by adding folowing TypoScript :
lib.stdheader.10.1.fontTag = <h1 style="background: none repeat scroll 0
0 #41C3D8; color: #FFFFFF; font-family: arial; font-size: 16px;
font-weight: normal; margin: 0; padding: 5px 20px; text-transform:
uppercase;">|</h1>
lib.stdheader.10.2.fontTag = <h2 style=" color: #41C3D8; font-family:
arial; font-size: 14px;font-weight: bold; text-transform: uppercase;">|</h2>
Best Regard and Thanks,
Danet,
More information about the TYPO3-UG-Cambodia
mailing list