+ 2

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?

8th Jul 2017, 2:46 PM
TrueJu
TrueJu - avatar
3 Answers
+ 3
thank you for this example it helped me out :D
8th Jul 2017, 3:23 PM
TrueJu
TrueJu - avatar
+ 1
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
8th Jul 2017, 3:26 PM
TrueJu
TrueJu - avatar
8th Jul 2017, 4:34 PM
TrueJu
TrueJu - avatar