Most voted "padding" questions
10 questions
Sort by count of
-
35
votes6
answers24229
viewsWhat is the difference between padding and margin in CSS?
From what I understand I see a retreat from another element when defined the properties left, top, right e bottom. There is a difference between margin and padding in the CSS? An answer with…
-
19
votes1
answer941
viewsHow does C/C++ "padding work?
In several responses here at Stackoverflow I have noticed users commenting on padding in data structures. struct { int a; char b; float d; } What is this one padding (filling) that exists between…
-
5
votes1
answer134
viewsLarger bass padding than defined in CSS
I have a situation where I define the padding of a div within the header with: #header_inn{ padding: 5px 2%; width: 96%; } I want them to paddings top and bottom have exact 5px, but the bottom gets…
-
4
votes1
answer1023
viewsWhy is the size of a struct not the sum of the sizes of its variables?
For example, the following code: #include <stdio.h> struct exemplo{ char letra; int numero; float flutuante; }; int main() { printf("Tamanho do char: %u\n", sizeof(char)); printf("Tamanho do…
-
1
votes2
answers93
views -
1
votes1
answer114
viewsProblems padding CSS MENU
I have a small aesthetic problem in 1 dropdown menu. The problem is this, I increase the padding in CSS (bottom and top) and the change only occurs in the last "li" menu. I have tried several times…
-
1
votes1
answer56
viewsApply Padding to all elements except one in particular
I would like to apply the property padding in the navbar elements, except for the last element in the class nav-login I use bootstrap 4.0 Html: <nav class="navbar navbar-expand-lg…
-
0
votes1
answer154
viewsRow doesn’t respect Padding’s Div
Row has no respect for the padding of the div she’s in. div[role="conteudo"]{ width: 100%; padding:0px; height: 100%; background-color: #FFF; } <div class="container" role="conteudo"> {...}…
-
-3
votes1
answer56
viewsHow to change Padding or margin of homeasupindicator
How to take the space between arrow and icone android?…
-
-4
votes1
answer27
viewsI’m having trouble using borders in HTML/css images
I WAS DOING SOME TESTS ON A HYPOTHETICAL PAGE, BUT WHEN TRYING TO PUT EDGES ON THE IMAGES BELOW, FROM THE THIRD THE EDGE GETS TOO WIDE. WHEN DID I USE A SINGLE CLASS FOR ALL IMAGES? SOMEONE TO HELP…