Ask coding questions

← Back to all posts
why is padding not working
h
ch1ck3n (2380)

as you can see the $100 is overflowing in the div

and the green part is the padding, and it's going over it.

i want it so that it wraps the text around so that it does not overflow

Answered by Coder100 (18915) [earned 5 cycles]
View Answer
Comments
hotnewtop
Coder100 (18915)

word-break: break-all;
the default breaks by word, but when there are no words, that's kind of hard to do.

Aivoybia (26)

@Coder100 CHICKEN COOKIES
YUMMMM

QuickV (128)

Hm... ckncoins... thinkity think think @ch1ck3n

ch1ck3n (2380)

@QuickV what did your thinking tell you

QuickV (128)

That maybe this is about to become a legendary new project. @ch1ck3n