pat123 Posted January 28, 2014 Share Posted January 28, 2014 (edited) The productinfo is a table: it looks like this : <center><span style="color: #ffffff;">Italiaanse droge mousserende wijn<br />Thalia Sparkling zero</span></center> <table border="3" cellspacing="5" cellpadding="5" align="center"> <body> ..." </table> I use the attributes cellspacing and cellpading , but the latter is no more supported: "Note: The cellpadding attribute is not supported in HTML5. Use CSS instead. http://www.w3schools.com/tags/tryit.asp?filename=tryhtml_table_cellpadding" How do I do that in the product-description (catolog-products description-section)? see for more info : http://test.italiaansewijnkopen.be/index.php Tx Edited February 21, 2014 by pat123 (see edit history) Link to comment Share on other sites More sharing options...
pat123 Posted January 30, 2014 Author Share Posted January 30, 2014 (edited) The productinfo is a table: it looks like this : <center><span style="color: #ffffff;">Italiaanse droge mousserende wijn<br />Thalia Sparkling zero</span></center> <table border="3" cellspacing="5" cellpadding="5" align="center"> <body> ..." </table> I use the attributes cellspacing and cellpading , but the latter is no more supported: "Note: The cellpadding attribute is not supported in HTML5. Use CSS instead. http://www.w3schools.com/tags/tryit.asp?filename=tryhtml_table_cellpadding" How do I do that in the product-description (catolog-products description-section)? see for more info : http://test.italiaansewijnkopen.be/index.php Tx What is quite strange is : I use the syntax <table border="3" cellpadding="10" align="center"> so cellpadding 10px it shows alright in the preview But is not correctly interpreted in HTML (see screenshots in http://imgur.com/a/ekYf2) I know this is perhaps een heavy topic to solve , so maybe someone from prestashop-support can help me. the cell-padding should be in an external file (CSS according to W3schools.com)and then somehow takrn into account when the productdescription is used. (internal css does nor work : all html-code ouside body is discarded) Edited February 21, 2014 by pat123 (see edit history) Link to comment Share on other sites More sharing options...
pat123 Posted February 21, 2014 Author Share Posted February 21, 2014 What is quite strange is : I use the syntax <table border="3" cellpadding="10" align="center"> so cellpadding 10px it shows alright in the preview But is not correctly interpreted in HTML (see screenshots in http://imgur.com/a/ekYf2) I know this is perhaps een heavy topic to solve , so maybe someone from prestashop-support can help me. the cell-padding should be in an external file (CSS according to W3schools.com)and then somehow takrn into account when the productdescription is used. (internal css does nor work : all html-code ouside body is discarded) solved with defining in global.css a class "padded-table" : } /* table-css : celpadding in plain-HTML not valid */ table.padded-table td {padding:10px; } } Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now