Try to use this CSS:
/* Apply this to your `table` element. */
#page {
border-collapse: collapse;
}
/* And this to your table's `td` elements. */
#page td {
padding: 0;
margin: 0;
}
Related Contents:
- When to use margin vs padding in CSS [closed]
- What is the difference between `margin` and `padding` in CSS?
- How to disable margin-collapsing?
- Why is there an unexplainable gap between these inline-block div elements? [duplicate]
- Margin on child element moves parent element
- CSS Margin Collapsing
- Margin-Top not working for span element?
- How do I uncollapse a margin? [duplicate]
- What does auto do in margin: 0 auto?
- CSS: Margin-top when parent’s got no border
- How to create div to fill all space between header and footer div
- How do negative margins in CSS work and why is (margin-top:-5 != margin-bottom:5)?
- Cols, colgroups and css “:hover” pseudoclass
- How to set up fixed width for ?
- Using calc() with tables
- Actual table Vs. Div table
- How do I center an SVG in a div?
- Table column sizing
- how to rotate text left 90 degree and cell size is adjusted according to text in html
- html, css – weird invisible margin below pictures
- bootstrap 3 responsive table with fixed first column
- Padding-bottom/top in flexbox layout
- How to stick table header(thead) on top while scrolling down the table rows with fixed header(navbar) in bootstrap 3?
- Shorten verbose CSS that repeats combinations of elements and pseudo-classes
- -webkit-margin adds unwanted margin on texts
- Set position absolute and margin
- Remove “whitespace” between div element
- Spacing between thead and tbody
- Using “word-wrap: break-word” within a table [duplicate]
- Why can’t an element with a z-index value cover its child?
- How do you get the footer to stay at the bottom of a Web page?
- CSS selector for first element with class
- What do commas and spaces in multiple classes mean in CSS?
- Maintaining the final state at end of a CSS3 animation
- Does Firefox support position: relative on table elements?
- Add Bootstrap Glyphicon to Input Box
- Order columns through Bootstrap4
- CSS \9 in width property
- Opacity CSS not working in IE8
- Possible to use border-radius together with a border-image which has a gradient?
- Pure CSS checkbox image replacement
- How to make React CSS import component-scoped?
- Is CSS Turing complete?
- Bootstrap xs columns wrap
- How to add fonts to create-react-app based projects?
- CSS Grid – Auto height rows, sizing to content
- White space around css3 scale
- How to make borders collapse (on a div)?
- What is the difference between block and inline-block with width: 100%?
- Image scaling by CSS: is there a webkit alternative for -moz-crisp-edges?