I made this script to demonstrate the problem. Table borders do not collapse in Firefox, whereas in Chrome and IE.
Firefox
Chrome and IE
Is there any workaround?
Firefox is not collapsing vertical margin with table's because http://www.fiveminuteargument.com/margin-collapse-tables
collapsing vertical margin
table's
Write display:block in the table as follows:
display:block
section, div, table { margin: 1em; display:block; }
Check out this example http://jsfiddle.net/fhhWd/2/
Source: https://habr.com/ru/post/1382673/More articles:jQuery Mobile styles do not apply to elements outside of data-role = "page" - jqueryLINQ for dataset error - c #Is it possible to configure a common prefix in the same way as DialogPreference? - androidWriting a source function in C ++ 11 is correct - c ++bash tooltip not showing start of line - linuxDoes the command run from the command line, not from cron? - bashChoosing MySQL in a function - mysqlRunning JavaScript code from C # Winforms - javascriptIs it possible to model Object.getOwnPropertyNames in IE8 - javascriptjquery: checking for duplicates in multiple lists - jqueryAll Articles