Project

General

Profile

Actions

Bug #46376

closed

CSS STYLED CONTENT: Question stylesheet disclosures in FE

Added by Harald no-lastname-given over 11 years ago. Updated over 11 years ago.

Status:
Closed
Priority:
Could have
Assignee:
-
Category:
-
Target version:
-
Start date:
2013-03-17
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
6.0
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

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

Actions #1

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.)

Actions #2

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

Actions #3

Updated by Georg Ringer over 11 years ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100
Actions

Also available in: Atom PDF