Forums

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

Home Forums CSS Styling the width on non-breaking space Reply To: Styling the width on non-breaking space

#202713
inktrap
Participant

The problem is it has to be narrower than a regular space, usually 1/8 of an em.

I could give it a negative margin, but there’s no way to calculate how much to get the exact width, since every font has a slightly different space.

The only option I see is to use the code from my original post and wrap everything in nowrap span, but that overloads the content with way too much markup.