Makzan / I share what I learnt

Dealing with long words in CSS

Link: Dealing with long words in CSS

Final solution

This solution will show hyphens for every browser supporting it and will break lines in every other browser – perfect.

This is a useful technique when you need to deal with long words in your web design. For example, when you need to reference a long city name.


Published on September 25, 2015. More articles like this: Clip & Quote, CSS, Web Technologies.

Sign up for weekly dispatch each week.

Want productive tips and web technologies links like this in your inbox each week? No spam ever. Just useful content:

Read previous weekly dispatch newsletters.