Surf the Dream A discourse of links and articles from Justin Avery

Hyphenator.js or html5 word break

Tom Shand of the http://www.theinternet.co.nz sent me an email earlier today to show me Hyphenator.js, but I’m wondering why the demo didn’t include the example below……

This is a very long sentance and right at the end of it there seems to be a breakintheword.

This is a very long sentence and right at the end of it there seems to be a breakintheword.

Below I’m using the wbr tag, but I’d like to know if it’s possible to do this and have a – Hyphen added when it decides to move to the next line.

Anyone?

Surf the Dream is a blog that has been running since the mid 2000's when it started on BlogSpot. Over the years it's been rebranded as justinavery.me (now my resume) and JaveryDesign.com (which now redirects back to this site).

I offer consultation services through Simple Things, produce a range of educational pocket notebooks, write about the Universe and run a responsive design and a RWD Weekly Newsletter