About 52 results
Open links in new tab
  1. What is the difference between margin and padding in CSS?

    Nov 6, 2016 · The biggest difference between padding and margin is that vertical margins auto-collapse, and padding doesn't. Consider two elements one above the other each with padding of 1em. This …

  2. css - Difference between margin and padding? - Stack Overflow

    May 11, 2011 · The main difference between margin and padding is that margin helps to create space around the element outside the border, while padding helps to create space around the element …

  3. html - Padding a table row - Stack Overflow

    The thread seems to suggest that table-row padding support never existed in CSS standards because it would have complicated layout engines. In the 30 September 2014 Editor's Draft of CSS basic box …

  4. c - Structure padding and packing - Stack Overflow

    Structure packing suppresses structure padding, padding used when alignment matters most, packing used when space matters most. Some compilers provide to suppress padding or to make it packed …

  5. Why does base64 encoding require padding if the input length is not ...

    What is the purpose of padding in base64 encoding. The following is the extract from wikipedia: "An additional pad character is allocated which may be used to force the encoded output into an inte...

  6. What is the correct way to specify margin and padding in CSS?

    Jan 8, 2014 · margin|padding: top&right&bottom&left; And for the second question: If you write 0px, the unit is redundant, because zero is zero, regardless of unit, so you can just as well write 0 without any …

  7. Issues with padding, margin, and space utilities not working

    Feb 16, 2025 · In my first Tailwind project, the padding and margin utilities worked fine. However, in subsequent projects, these utilities stopped working as expected, and I had to use regular CSS …

  8. Qual a diferença entre padding e margin no CSS?

    Apr 5, 2017 · Pelo que percebo vejo um recuo em relação a outro elemento quando definidas as propriedades left, top, right e bottom. Existe diferença entre margin e padding no CSS? Uma …

  9. html - Set cellpadding and cellspacing in CSS? - Stack Overflow

    In an HTML table, the cellpadding and cellspacing can be set like this: <table cellspacing="1" cellpadding="1"> How can the same be accomplished using CSS?

  10. python - What is the difference between 'SAME' and 'VALID' padding …

    Jun 7, 2016 · Padding is an operation to increase the size of the input data. In case of 1-dimensional data you just append/prepend the array with a constant, in 2-dim you surround matrix with these …