diff --git a/typo3/sysext/css_styled_content/pi1/class.tx_cssstyledcontent_pi1.php b/typo3/sysext/css_styled_content/pi1/class.tx_cssstyledcontent_pi1.php index 96cb7d3..4fd7dc3 100755 --- a/typo3/sysext/css_styled_content/pi1/class.tx_cssstyledcontent_pi1.php +++ b/typo3/sysext/css_styled_content/pi1/class.tx_cssstyledcontent_pi1.php @@ -692,7 +692,7 @@ class tx_cssstyledcontent_pi1 extends tslib_pibase { $accumWidth = 0; // reset accumulated net width $accumDesiredWidth = 0; // reset accumulated desired width $rowTotalMaxW = $relations_cols[$rowIdx]; - if ($rowTotalMaxW > $netW) { + if ($rowTotalMaxW > $netW && $netW > 0) { $scale = $rowTotalMaxW / $netW; } else { $scale = 1;