CSS margin terror; Margin adds space outside parent element [duplicate]
This question already has answers here: Why does this CSS margin-top style not work? (13 answers) Closed 2 years ago. My css margins … Read more
This question already has answers here: Why does this CSS margin-top style not work? (13 answers) Closed 2 years ago. My css margins … Read more
I want to add an unknown number of ImageView views to my layout with margin. In XML, I can use layout_margin like this: … Read more
Is there a way to disable margin-collapsing altogether? The only solutions I’ve found (by the name of “uncollapsing”) entail using a 1px border … Read more
Can someone tell me what I coded wrong? Everything is working, the only thing is that there is no margin at the top. … Read more
I’m trying to use Java (not XML) to create a LinearLayout with buttons that fill the screen, and have margins. Here is code … Read more
I have an SVG that I am trying to center in a div. The div has a width or 900px. The SVG has … Read more
This question already has answers here: How to remove the space between inline/inline-block elements? (41 answers) Closed 2 years ago. I have two … Read more
I try to add margin values on a div inside another div. All works fine except the top value, it seems to be … Read more
I have a div (parent) that contains another div (child). Parent is the first element in body with no particular CSS style. When … Read more
What is the difference between a View’s Margin and Padding? 15 s 15 To help me remember the meaning of padding, I think … Read more