Subject: RE: zero width no-break space to prevent tag minimisation
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Thu, 16 Oct 2008 15:20:27 +0100
|
> Can anyone see any issues with using a "zero with no-break space" (the
> BOM) as a way of preventing tag minimization:
>
> <div></div>
>
> It seems to work - any reason I shouldn't use that?
The only possible reasons I can think of are the reasons that apply to all
non-ASCII characters - you could hit encoding problems, and you could find
that the character isn't present in all fonts. But go for it if it works.
Michael Kay
http://www.saxonica.com/
|