html - How do I get rid of a margin in CSS so my sections fit -


heres put

section {     width: 40%; } 

i making website has 2 columns, column facts sections website on right side of page , sign sheet on left side of page next it.

i put width: 40; make right side smaller makes margin on right side , can't rid of sign in sheet there.

could post example on site https://jsfiddle.net/ or http://codepen.io/?

but answer question, rid of margins this:

margin: 0, if doesn't work try margin: 0 !important.

i like

.sign-up-section, .facts-section {     float: left;     margin: 0;     height: auto; }  .sign-up-section {     width: 60%; }      .facts-section {     width: 40%; } 

Comments

Popular posts from this blog

javascript - jQuery: Add class depending on URL in the best way -

caching - How to check if a url path exists in the service worker cache -

Redirect to a HTTPS version using .htaccess -