Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS CSS Content in next line Re: CSS Content in next line

#105683
Kitty Giraudel
Participant

Same as @posterity576 and @joshuanhibbert, I don’t really see the point.

Anyway, if you really want to add a break line after a blank, you’ll have to use JavaScript. You cannot do it with pure CSS.

The simplest workaround with CSS would be to give a width to the labels in order to make the second word create a second line. But it’s not dynamic since it rely on words length.