Re: FO: block, padding and border
My intent is lost in trivial details :)...
Everyone's contribution is always welcome!
Of course you can use a block inside a block and not use the of:inline.
I worry about the use of padding because everything appears to be fine when the child has the same background as the parent ... however, when the backgrounds are different the effects may not be as desired.
>And Vasu's use of padding-left= does not make for a portable >Stylesheet in case the writing direction should change.
As Florent mentioned he paraphrased ... forgive me for not citing the source correctly.
Still I stand (sit) by my observation regarding using "-start" and not using "-left" because of the prevalent writing direction. I felt something should have been said in this regard for the archive.
Pointing that the padding is applied in the wrong container.
And you were correct. I just think padding isn't the correct facility to use. There is no space-before= or space-after= on an inline area, so a block is more appropropriate, but one must remember there is no space-start= or space-end on a block area.
So when using blocks I firmly believe the correct facilities are space-before=, space-after=, start-indent= and end-indent=.
I agree to all the good implementation specific points suggested by Ken.
And your input to the list is much appreciated!
. . . . . . . . . Ken
-- Upcoming XSLT/XSL-FO, UBL and code list hands-on training classes: : Sydney, AU 2009-01/02; Brussels, BE 2009-03; Prague, CZ 2009-03 Training tools: Comprehensive interactive XSLT/XPath 1.0/2.0 video Video sample lesson: http://www.youtube.com/watch?v=PrNjJCh7Ppg Video course overview: http://www.youtube.com/watch?v=VTiodiij6gE G. Ken Holman mailto:gkholman@xxxxxxxxxxxxxxxxxxxx Crane Softwrights Ltd. http://www.CraneSoftwrights.com/s/ Male Cancer Awareness Nov'07 http://www.CraneSoftwrights.com/s/bc Legal business disclaimers: http://www.CraneSoftwrights.com/legal
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