The border-spacing
property will work for this particular case.
table {
border-collapse:separate;
border-spacing: 0 1em;
}
More Related Contents:
- Could someone explain this CSS code?
- What does the “~” (tilde/squiggle/twiddle) CSS selector mean?
- How can I override inline styles with external CSS?
- Change bootstrap navbar collapse breakpoint without using LESS
- CSS attribute selectors: The rules on quotes (“, ‘ or none?)
- Is there any way to hover over one element and affect a different element? [duplicate]
- What is the difference between ‘>’ and a space in CSS selectors?
- Make a DIV fill an entire table cell
- Full-screen responsive background image
- Is there a CSS hack to affect Safari only NOT Chrome?
- Outlining and partially filling an SVG Shape
- Setting height: 100% on my label element doesn’t work
- ‘property: 0’ or ‘property: 0px’ in CSS?
- Twitter Bootstrap – add top space between rows
- hover on child without hover effect on parent [duplicate]
- Add a css class to a field in wtform
- How can I use CSS3 transform on a span?
- What is this CSS selector? [class*=”span”]
- Bootstrap 3 Slide in Menu / Navbar on Mobile [closed]
- How do I Make Firefox Print a Background-Color Style?
- Is there any pros and cons if i use always CSS Class instead CSS ID for everything?
- How to use vertical align in bootstrap
- CSS text ellipsis when using variable width divs
- CSS text-decoration underline color [duplicate]
- QT – CSS: decoration on focus
- Is there an opposite CSS pseudo-class to :hover?
- Why isn’t my justify-content property working?
- Remove border radius from Select tag in bootstrap 3
- Are alternate nested styles possible in CSS?
- Continuous CSS rotation animation on hover, animated back to 0deg on hover out