Computer Science, asked by sonyk837, 10 months ago

how can we set the margin for an element​

Answers

Answered by satyaprakash7
14

Explanation:

You can set the margin property to auto to horizontally center the element within its container. The element will then take up the specified width, and the remaining space will be split equally between the left and right margins.

Answered by akankshay108
16

Explanation:

the CSS margin property is used to create space around elements , outside of any defined border

Similar questions