[TYPO3-content-rendering] RFC: Let's discuss the "default frame" in 4.3

Susanne Moog typo3 at susannemoog.de
Sun Jun 14 18:13:36 CEST 2009


Hi,

Krystian Szymukowicz schrieb:
> Without any margin set in CE I will get top margin 20px. If I set top CE
> margin to 5px I will get top margin 5px instead of 25px as expected
> because inline margin-top will overwrite value from css file.
> 

Yes, that's right and what I expect if I enter a margin in a content
element. If I think of myself as an editor and there's a field like
"space before" I expect that it renders exactly this space in front of
the element if I define something there otherwise it gets reverted to
default. So I think the new rendering makes more sense than the old one.
Of course if you set some spaces in your old system after updating it
will behave differently, but that's exactly what the compat version
switch in the install tool is all about, if you want your system to
behave like it did before, choose the right compat version.

(And btw it's more flexible now: If you defined your frame with a
margin-top of 20px and want to have only 5px in a certain element, you
can just define the space of 5px and be done with it)

In the end it depends on what you expect and what you are used to.

Best regards,

Susanne

-- 
Susanne Moog
NEUSTA GmbH - www.neusta.de


More information about the TYPO3-project-content-rendering mailing list