This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [docbook-apps] empty table cells


Those aren't Control-A's you are seeing, they are the UTF-8 encoding of the
non-breaking space character (00A0 in Unicode).  The two-character sequence
in UTF-8 encoding is C2 and A0.  Most browsers support UTF-8, and the XHTML
output should indicate the encoding with:

<meta http-equiv="Content-Type"
 content="text/html; charset=UTF-8" />

That should be enough for the browser to recognize the character as a space
character, not as an unknown character.  What browser are you using?

The reason the nonbreaking spaces are output to empty cells is because some
browsers don't properly handle cell border display for truly empty cells.

Bob Stayton
Sagehill Enterprises
DocBook Consulting
bobs@sagehill.net


----- Original Message ----- 
From: "Brian McGurk" <brian@corvil.com>
To: <docbook-apps@lists.oasis-open.org>
Sent: Thursday, March 04, 2004 9:10 AM
Subject: [docbook-apps] empty table cells


> I've got a document with an informaltable with empty entries and
> the 1.61.2 xhtml stylesheets produce odd results. When I look at the
> resultant html in a browser I see a '^A' in the empty cells.
> The stylesheet seems to output a &#160; for an empty cell.
>
> Any ideas on how to avoid this?
>
> BTW is there a list somewhere of the meaning of the &#xxx; entities?
>
> Thanks,
>
> Brian
>
>
> To unsubscribe from this list, send a post to
docbook-apps-unsubscribe@lists.oasis-open.org, or visit
http://www.oasis-open.org/mlmanage/.
>
>
>



To unsubscribe from this list, send a post to docbook-apps-unsubscribe@lists.oasis-open.org, or visit http://www.oasis-open.org/mlmanage/.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]