You can also directly modify those attributes like so:
-webkit-margin-before:0em;
-webkit-margin-after:0em;
Works for me in Chrome/Safari. Hope that helps!
More Related Contents:
- When to use margin vs padding in CSS [closed]
- Padding-bottom/top in flexbox layout
- Remove all padding and margin table HTML and CSS
- How to add different CSS style to every nth element, depending on n using LESS
- What is the difference between `margin` and `padding` in CSS?
- Absolute positioning ignoring padding of parent
- Center text in div?
- The page moves to the left
- CSS display: inline vs inline-block [duplicate]
- How to style the with only CSS?
- Detect if an input has text in it using CSS — on a page I am visiting and do not control?
- CSS @media print issues with background-color;
- What, exactly, is needed for “margin: 0 auto;” to work?
- Setting width/height as percentage minus pixels
- What is the difference between :first-child and :first-of-type?
- What are the rules for CSS media query overlap?
- Cross browser way to rotate image using CSS?
- Use CSS to automatically add ‘required field’ asterisk to form inputs
- CSS get height of screen resolution
- Symfony2 – Assetic – load images in CSS
- Styling Password Fields in CSS
- Are CSS selectors case-sensitive?
- Is there a way to apply styles to Safari only?
- The difference between flex:1 and flex-grow:1
- How do I apply a CSS class to Html.ActionLink in ASP.NET MVC?
- position:relative leaves an empty space
- How to add a margin to a table row [duplicate]
- minmax fails (invalid property value)
- Div with cut out edges, border and transparent background
- Select specific element before other element