Jump to content

at the top of your css document you have to put this piece of code to remove the normal margins and default styling

*{}

CPU: Intel Core i5 4690K @ 4.6Ghz CPU Cooler: Noctua NH-D15 GPU: GTX 1070 TI RAM: Crucial Ballistix Tactical 16GB (4x4) Mobo: ASUS Z97-PRO(Wi-Fi ac) PSU: Corsair RM Series RM750 Case: Fractal Design Define R4 no window

Link to comment
https://linustechtips.com/topic/181573-css-margin-help/#findComment-2438818
Share on other sites

Link to post
Share on other sites

set

body{margin:0;padding:0;}

Business Management Student @ University St. Gallen (Switzerland)

HomeServer: i7 4930k - GTX 1070ti - ASUS Rampage IV Gene - 32Gb Ram

Laptop: MacBook Pro Retina 15" 2018

Operating Systems (Virtualised using VMware): Windows Pro 10, Cent OS 7

Occupation: Software Engineer

Link to comment
https://linustechtips.com/topic/181573-css-margin-help/#findComment-2438961
Share on other sites

Link to post
Share on other sites

Thanks for the help guys! It's a lot more clearer now :) found this video that really helped me understand it a lot better,if anyone else on the internet is having problems on understanding positioning here it is :) https://www.youtube.com/watch?v=rLJl1ydkOtI

Link to comment
https://linustechtips.com/topic/181573-css-margin-help/#findComment-2452750
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×