About 88,000 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 on the wall, and …

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

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

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

  8. 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 the same …

  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. Remove all padding and margin table HTML and CSS

    The accepted answer uses css padding and margin, which is the recommended alternative to cellspacing and cellpadding, which have been deprecated for many years now.