Layout on local machine not the same as online

I finished the Registration Form (assingment 4) and its a nice layout on the site. But when I downloaded the files and run it on my local machine with EDGE, a lot is wrong: no background-color, no max-width, no centration, etc. Is that a problem from EDGE or is it something I do wrong? I didn’t have the problems with the first 3 assignments.

Welcome to our community!

You have to download the styles.css file too because it contains all the styling rules you have defined to get the needed look of your form. Both files, index.html and styles.css should be put in the same folder on your local machine (the easiest approach).
To link the CSS to an HTML file, use the <link> tag inside the HTML section.

1 Like

Of course, is what I thought wen I read your mesaage but you hint me very well. I named it style.css. That was the problem. Thank you!

2 Likes