Max width understanding problem | Sololearn: Learn to code for FREE!


Max width understanding problem

So i know that css supports max-width: ; but when i set the max width to 200px or something why does my text that is longer than 200px make that the whole body becomes more than my 200px that i set? its a little bit confusing. anybody can make a code example how i should do that? and by the whay if it works that the text isnt longer than 200px how can i make the text automaticly becomes a new line every single time its longer than 200px?


7/8/2017 2:46:04 PM


8 Answers

New Answer


thank you for this example it helped me out :D


thank you :D i'm doing my 3th game its a cookieclicker game i got bored so i decided to make something easy and funny :D but this max-width:; problem destroyed it lol


I finished my game :D