+ 2

Html margin-top prob

I tried many ways to remove the margin of body tag such as setting margin zero or padding zero and using position property but I couldnt rm that space from all side of the page

12th Aug 2018, 6:52 PM
DarkDeveloper
DarkDeveloper - avatar
3 Antworten
+ 3
you can just set the margin of the object you want to be set so it would touch the sides of the screen to -8px
12th Aug 2018, 7:41 PM
Roel
Roel - avatar
+ 2
thanks Roel I'll try it.
13th Aug 2018, 4:11 AM
DarkDeveloper
DarkDeveloper - avatar
0
please try using inspect element in your browser developer tools to test and fix your problem.
14th Aug 2018, 7:33 AM
Ben Zabid
Ben Zabid - avatar