Bug #46376
closedCSS STYLED CONTENT: Question stylesheet disclosures in FE
100%
Description
Good day!
I hope I am correct in this category I'm using TYPO3 6.0.4. About the file "CssStyledContentController.php" of css styled content, we generated in the FE following style:
/* specific page styles for extension "tx_cssstyledcontent" */
.csc-textpic-intext-right-nowrap .csc-textpic-text { margin-right: 810px; }
.csc-textpic-intext-left-nowrap .csc-textpic-text { margin-left: 810px; }
Is this necessary? Why does this have to be hard coded? I rather think that is not wanted or a mistake.
Thank you very much
Harald
Updated by Chris topher over 11 years ago
Hi Harald,
that is no mistake. The values in these lines should be set according to some constants, which you defined in the constants section of your TypoScript template (e.g. for the width of your content area and for the width, which an image block next to text should take). Absolute numbers in the CSS styles are necessary, as the width varies depending on how broad your design is.
If you wanted to, you could disable the output of these lines; there is an option in TSref to do that. (However, you will then have to set this by yourself as otherwise the according textpic-options will not display correctly.)
Updated by Harald no-lastname-given over 11 years ago
Hi Christopher!
That's good to know. Many many thanks for the swift reply.
Harald
Updated by Georg Ringer over 11 years ago
- Status changed from New to Closed
- % Done changed from 0 to 100