About 13,500,000 results
Open links in new tab
  1. What is the difference between margin and padding in CSS?

    Feb 3, 2010 · 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 …

  2. Why does base64 encoding require padding if the input length is …

    The padding characters communicate explicitly that those extra spots should be empty and rules out any ambiguity. Even if the length is unknown with padding you'll know where your data …

  3. 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 …

  4. Can I add background color only for padding? - Stack Overflow

    Jan 31, 2013 · I have a header box including border and padding and background color for that box, can I change the background color only for the padded region after the border and then …

  5. css - HTML Padding Style - Stack Overflow

    Jul 22, 2015 · This Stack Overflow page discusses how to use HTML padding style with CSS, providing insights and solutions for related queries.

  6. 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 …

  7. 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 …

  8. css - Add padding to HTML text input field - Stack Overflow

    Add padding to HTML text input field Asked 14 years, 4 months ago Modified 2 years, 5 months ago Viewed 448k times

  9. How to pad a string to a fixed length with spaces [duplicate]

    You'll need to complete a few actions and gain 15 reputation points before being able to upvote. Upvoting indicates when questions and answers are useful. What's reputation and how do I …

  10. Padding stl strings in C++ - Stack Overflow

    I'm using std::string and need to left pad them to a given width. What is the recommended way to do this in C++? Sample input: 123 pad to 10 characters. Sample output: 123 (7 spaces in ...