Issue Bug Closed

#44615CSS styled content, renders wrong width of images.

Christian Tauscher 01/17/13, 19:04 updated 07/31/13, 12:06

Description

Am 17.01.2013 18:38, schrieb Christian Tauscher:
I have given you the wring values:

My content with is 955px so in my Constants is

styles.content.imgtext.maxW=955
styles.content.imgtext.colSpace = 30
styles.content.imgtext.borderThick = 1
styles.content.imgtext.borderSpace = 2

so far so good.

If I but 3images in a row, there thold be this:

955px -
3*2*1px (border, twice) – (6px)
3*2*2px (padding, twice) – (12px)
2 * 30px (space) (60px)
= 877px / 3 (pictres in a row) = 292.33 px

Ok ist 292px, but the HTML (TYPO3) says ist 305px and this is too much.

Ist seems the system renders only with internaly 10px of colSpace.

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.