Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

css prevent margin collapsing

/* Some CSS Properties that prevent margin collapsing (each of them does) */

float: left;
float: right;

position: absolute;

display: inline-block;
display: flex;

overflow: hidden;
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #css #prevent #margin #collapsing
ADD COMMENT
Topic
Name
3+4 =