Dealing with long words in CSS | justmarkup

Well, text-overflow: ellipsis; could work, but then you truncate your headings and can’t really predict what they will look like. Michael Scharnagl has been doing research and he found a quite bulletproof solution. As it turns out, the best option is to combine overflow-wrap with word-wrap and hyphens that will show hyphens for every browser supporting it and will break lines in every other browser. Solved! (vf)

Origen: Dealing with long words in CSS | justmarkup

Responder

Introduce tus datos o haz clic en un icono para iniciar sesión:

Logo de WordPress.com

Estás comentando usando tu cuenta de WordPress.com. Cerrar sesión / Cambiar )

Imagen de Twitter

Estás comentando usando tu cuenta de Twitter. Cerrar sesión / Cambiar )

Foto de Facebook

Estás comentando usando tu cuenta de Facebook. Cerrar sesión / Cambiar )

Google+ photo

Estás comentando usando tu cuenta de Google+. Cerrar sesión / Cambiar )

Conectando a %s