Top "Margin" questions

The CSS margin properties define the space around elements.

Spurious margin on svg element

I have a very simple document (see also JSFiddle): <style> html, body, svg, div { margin: 0; padding: 0; border: 0; } </…

html svg margin
how to set inner text margin of button

I have a WPF button with some text in it. If I don't set button's width manually, then the button …

wpf text button padding margin
How to remove the extra space between two span elements?

I want to remove the extra space between these two elements. I tried but couldn't do it. Is this a …

html css margin
html, css - weird invisible margin below pictures

I'm going bananas here, somehow below all of my images in my page there is a gap, a margin which …

css image margin
Can I make Swing JButtons have smaller margins?

I prefer buttons with minimal margins, about as wide as their text caption. Is there a way to achieve that …

java swing jbutton margin
Margin and padding using em

When 1em is applied to an element, it takes the default value of the browser (usually, 16px) or the font-size …

css margin em
Remove space between buttons in LinearLayout (Android)

I need to make my own toolbar in Android application. Now it looks like this: So you see spaces between …

android toolbar margin android-linearlayout
Java FX Set Margin

This simple example creates an area with 2 rectangle areas marked in red. I want to push the right area by …

javafx layout margin vbox hbox
Email client support negative margin value?

Please have look the below screenshot I want to positioned the lens in top area.Sadly the position value is …

html css position margin email-client
Bootstrap cards with 100% height and margin bottom

I am attempting to develop a grid of Bootstrap 4 cards with the following requirements: All cards must sit within one …

css height bootstrap-4 margin bootstrap-grid