Top "Padding" questions

Extra space inserted into memory structures to achieve address alignment -or- extra space between the frame and the content of an HTML element -or- extra spaces or zeros when printing out values using formatting print commands like, in C, the printf*-family of functions.

When to use margin vs padding in CSS

When writing CSS, is there a particular rule or guideline that should be used in deciding when to use margin …

css padding margin
How can I pad a String in Java?

Is there some easy way to pad Strings in Java? Seems like something that should be in some StringUtil-like API, …

java string padding
Add leading zeroes/0's to existing Excel values to certain length

There are many, many questions and quality answers on SO regarding how to prevent leading zeroes from getting stripped when …

excel padding
Left padding a String with Zeros

I've seen similar questions here and here. But am not getting how to left pad a String with Zero. input: "129018" …

java string padding
Encrypt & Decrypt using PyCrypto AES 256

I'm trying to build two functions using PyCrypto that accept two parameters: the message and the key, and then encrypt/…

python encryption padding pycrypto initialization-vector
Remove all padding and margin table HTML and CSS

I have this table : <body> <table id="page" > <tr id="header" > <td colspan="2" …

css html-table margin padding
Structure padding and packing

Consider: struct mystruct_A { char a; int b; char c; } x; struct mystruct_B { int b; char a; } y; The …

c struct structure padding packing
How to zero pad a sequence of integers in bash so that all have the same width?

I need to loop some values, for i in $(seq $first $last) do does something here done For $first and $…

bash numbers padding
Add padding on view programmatically

I am deveoping Android v2.2 app. I have a fragment. In the onCreateView(...) callback of my fragment class, I inflate …

android android-layout android-emulator android-widget padding
Why is there an unexplainable gap between these inline-block div elements?

I have two inline-block div elements, that are the same, positioned next to eachother. However there seems to be a …

html css margin padding