wakabayashi Posted August 27, 2014 Share Posted August 27, 2014 (edited) Hello I try to change my invoice theme. I thought that should not be hard, since I know CSS and HTML well. But somewhere must be some other css which overrides my rules. Here is an example: table td {padding: 20px 0; background: #C09; color: #FF6;} The invoice PDF File gets the yellow color. But it doesn't accept my background and my padding. Why the hell is this happening? Edit: I just noticed, that it's accepting background-color... But of course that's not the answer to the whole problem... Edited August 27, 2014 by wakabayashi (see edit history) Link to comment Share on other sites More sharing options...
wakabayashi Posted August 28, 2014 Author Share Posted August 28, 2014 Ok for all the guys who have the same problem... I spent whole night on this... Bad news: you can't use normal/all css. The pdf is generated with TCPDF and they don't support all css rules. That also explains why background-color is working and background not Link to comment Share on other sites More sharing options...
Recommended Posts