[TYPO3-UG Italy] RE. formatare il testo al centro

kingster46 kingster46 at libero.it
Mon Sep 28 20:29:36 CEST 2009


Scusate, debbo postare nuovamente la mia richiesta, 
come da suggerimento di Nicola, ho controllato il file HTML, poi lo "stylesheet", ma niente,  non compare la classe che allinea il testo,
allora sto cercando di fare quello che c'è scritto sulla guida di typo3, ma non trovo dove inserire il "codice"

page.includeCSS {
file1 = fileadmin(mycss.css
file2 = typo3/sysext/rtehtmlarea/htmlarea/plugins/DynamicCSS/
dynamic.css

come scritto nella guida:

Using Your Own CSS Styles
It is possible to combine the CSS styles of the editor with those of the front-end page. The styles used in the editor can also be used for the creation of the web pages. The CSS statements for the alignment of text, for instance, is one of these styles. In order for these CSS styles to be used, the HTMLArea CSS file must be loaded in the
front end.
page.includeCSS {
file1 = fileadmin(mycss.css
file2 = typo3/sysext/rtehtmlarea/htmlarea/plugins/DynamicCSS/
dynamic.css
In order to be able to use your own styles in the editor, the dynamic.css file has to be customized. Simply add the desired CSS definitions.
p.mytext{color:#fff000; border:solid 1px}
In addition, the CSS classes have to be activated. To do that, the TSConfig field of the root page is expanded with the following entry:
RTE.default.classes.Paragraph = mytext
Now you can mark the desired text in the editor and format it with the newly installed CSS style in the selection box. And since the CSS file is also used in the front end, this new CSS style is indeed used.

Grazie e scusate per lo sbaglio
ciao Cesare


More information about the TYPO3-UG-Italy mailing list