How to set margin | SoloLearn: Learn to code for FREE!


How to set margin

I m confused how to set div margin for responsive web also if we we zoom in or out on browser the contain should not go outside

1/8/2017 6:04:36 PM

Swapnil daunde

2 Answers

New Answer


CSS : "margin : top right bottom left;" example: margin:5px 0 5px 0;


u can use margin-top: , margin-left: , margin-right: , margin-bottom: in css and can also use overflow:hidden along with it