September 23rd, 2011
2:12 pm
Using Non-blocking spaces in xhtml

Posted under HTML
Tags , , ,

Occasionally this is useful – I had to do this when I wanted to adjust the spacing in a Primefaces p:dialog header. The header text can only be set via an attribute which does not allow any markup to be used (a header facet is not currently available for a p:dialog).

The old   entity does not work in xhtml as it is deprecated.

The solution is to use the Unicode equivalent directly, which is  

My previous related post about using Unicode characters in HTML may be found here.

No Comments »

Trackback URI | Comments RSS

Leave a Reply

You must be logged in to post a comment.