My <body> is showing right and left margin?

I have not put any right or left margin in my body CSS but still its showing left and right margins. How to remove them? Here it is:-

Which element are you talking about? Most elements have default margins. If you want to remove them try using your inspector, see which element it is.
After that, in your CSS you can simply overwrite the default value.

u can see that entire lorem part

Try adding this to your body in css. You can configure any margin. If you don’t want top or bot instead of the below just give the margin a value of 0,

margin-left: 0;
margin-right: 0;

Oh thhank u. but i got it. I set width:100% and its now okay.

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.