Project

General

Profile

Actions

Bug #37618

closed

CSS_Styled_Content: No CSS styles for this table does not work for Cell

Added by Anonymous almost 12 years ago. Updated over 11 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Content Rendering
Target version:
-
Start date:
2012-05-30
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
4.7
PHP Version:
5.3
Tags:
Complexity:
easy
Is Regression:
Sprint Focus:

Description

When using "No CSS styles for this table" the cell will get the class="td-1"
Change:

$cellAttribs = ($noStyles?'':($a>0 && ($cols-1)==$a) ? ' class="td-last td-'.$a.'"' : ' class="td-'.$a.'"');

To:

$cellAttribs = ($noStyles ? '' : (($a>0 && ($cols-1)==$a) ? ' class="td-last td-'.$a.'"' : ' class="td-'.$a.'"'));

Will fix this

Actions

Also available in: Atom PDF