Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

stop padding from changing div size

-webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
-moz-box-sizing: border-box;    /* Firefox, other Gecko */
box-sizing: border-box;         /* Opera/IE 8+ */
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #stop #padding #changing #div #size
ADD COMMENT
Topic
Name
7+9 =