html - CSS word wrapping causes huge spaces between words -
hi! when window resized, text automatically wraps fit container nicely. this, i'm using css code:
article { overflow: auto; word-wrap: break-word; }
though seems, has no effect @ all. when remove piece of code, behavior doesn't change: text still wrapped near end of line.
i'm complaining huge gaps between words. i've observed few webpages no code used , still works nicely. can please me rid of space? thank you!
i agree text-align: justify
has been inherited parent html tags. try modifying css follows:
article { overflow: auto; word-wrap: break-word; text-align: start; }
Comments
Post a Comment