[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: How white space affects text-indents
Karl,
Is there a reason why you aren't using fo:list and its descendants, fo:list-item and the rest? They are designed specifically to address these requirements. About why you are seeing what you are seeing, I will guess that while your second case happens to be "correct", this is more or less an accident. You have an em of space more in the first line, and with the space between the fo:inline elements, you happen to have an em's width of content before the second one starts. (With your bullet sized thus-and-so, etc.) Remember that inside fo:block, white space is munged but not thrown away (other things being equal). List structures are designed to be much more robust, and they are. Cheers, Wendell On 4/6/2012 5:07 PM, Karl Stubsjoen wrote: I'm trying to understand and solve an issue I am having with text-indent and start-indent properties in FO. This is a solution for a rounded bullet using fo:inline elements. I'm assuming that if I start-indent 1em, and text-indent -1em that I will end up with a perfect hanging indent as long as I add the correct amount of space for my known and fixed size bullet character.
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|