windsurfer Posted April 22, 2020 Share Posted April 22, 2020 I inserted a table in my description and the table lines appear in the product description. Why would that be ? Strange thing is it doesn't show a line between columns . Link to comment Share on other sites More sharing options...
bsmither Posted April 22, 2020 Share Posted April 22, 2020 The table still must follow any CSS rules that have been created for tables. In foundation.css, at about line 5075, begins a set of CSS rules for tables. Link to comment Share on other sites More sharing options...
windsurfer Posted April 23, 2020 Author Share Posted April 23, 2020 So changed that but i really can't understand why that would be there if first of all there is a setting in the table properties to set the border to Zero unless that setting applies to other instances as well. Link to comment Share on other sites More sharing options...
bsmither Posted April 23, 2020 Share Posted April 23, 2020 Using the editor's table dialog creates the following code: <table cellspacing="1" cellpadding="1" border="5"> Depending on the browser (I suppose), a CSS rule takes precedence over HTML 4 tag attributes. HTML will not honor such tag attributes. Only CSS will work. So, why is the editor delivering HTML 4? Probably to support web pages coded in HTML 4. But, on the properties dialog, there is an Advanced tab, Style text entry field to put CSS rules in the tag's style attribute. An element's style attribute generally takes precedence over a loaded CSS style sheet. The editor for product descriptions (and elsewhere) is not aware of Foundation's CSS ruleset. (But I think there is a way to make it aware.) Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.