Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trial
achievements
15,883 Pointsbootstrap-text-justify
hi. If i use in bootstrap <p class="text-justify"></p> to a paragraph it is ok in a laptop or desktop screen. But in mobile screens there are gaps between words. (in a paragraph)Why is this happen?
2 Answers
Tim Knight
28,888 PointsHi annat2,
Paragraph justification can be a little tricky in Word Processing, not to mention in web too. Depending on the word length, the justification will likely have to add space between the words to keep the edge to edge justification of that alignment. Alternatively, you could write a media query that uses a left alignment for smaller screens and only enable the justification when you're on a larger screen.
achievements
15,883 PointsInteresting! Thank you for your answer