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

    Nov 6, 2016 · The space between two frames is the margin. With this in mind, a good rule of thumb is to use margin when you want to space an element in relationship to other elements …

  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 …

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

  4. 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?

  5. Does bootstrap have builtin padding and margin classes?

    Aug 27, 2015 · Does Bootstrap have built-in padding and margin classes like pad-10, mar-left-10 or I have to add my own custom classes? For example, similar to the ones here at padding …

  6. Remove all padding and margin table HTML and CSS

    4 Remove padding between cells inside the table. Just use cellpadding=0 and cellspacing=0 attributes in table tag.

  7. html - Padding a table row - Stack Overflow

    In the 30 September 2014 Editor's Draft of CSS basic box model, padding and border properties exist for all elements including table-row and table-column elements.

  8. How do you specify table padding in CSS? (table, not cell, padding )

    With TD padding, top and bottom paddings of adjacent cells sum up, so there's double the space (pad actually) between two cells than between the top cell and the table top border.

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

    0 I had a similar problem, fixing the width of the parent container with padding right fixed it for me (to prevent changing the size of the input when padding ) .

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