Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

how do i achive a para to fit in a fixed width with words not broken to fit it

Featured Replies

Please have a look at this webpage http://www.arsenalinsider.com/?p=5187...could anyone please guide me as to how could i achive this sort of a text effect ..have a look at the article

 

 

 

'What does it say about the fans of this club when it’s Captain has to issue a rebuttal to a poorly written and scarcely believable load of rubbish as served u....

.....Arsenal in general and Cesc Fabregas in particular. You don’t deserve this club or the heritage or the players as you really are very fickle. This further public statement from our Captain serves only to underline what I have said in previous blogs."

"

 

 

Its all within a fixed box and no word breaks,etc

yes that it css my friend but i would like to know the css property used to get that effect!

 

 

already given above - text-align: justify;

  • Author

already given above - text-align: justify;

 

agreed mate but the problem is that when i do give it the justify property it tries to fit everyword whether possible or not by stretching itself thus making it look ugly!

agreed mate but the problem is that when i do give it the justify property it tries to fit everyword whether possible or not by stretching itself thus making it look ugly!

 

I think you will find that it only stretches the spaces, not the word characters. The effect of large spaces will be most evident if the paragraph width is narrow so that long words sometimes don't fit, causing the others to spread out, but in the Arsenal example the paragraph is quite wide so this effect isn't noticed when there are lots of words in a line with a good mixture of short and long words.

 

(Why I'm answering a post by an Arsenal fan, I don't know. I'm a Spurs fan from the 1970s when Spurs were great.)

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.