Hi, 2 options for the absolute-position property can be usefull to place an area: - absolute: offsets with respect to nearest ancestor reference area (block-container is one) - fixed: fixes with respect to the page (in case of pagined medium).
Try this: <?xml version="1.0" encoding="UTF-8"?> <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format"> <fo:layout-master-set> <fo:simple-page-master master-name="master"> <fo:region-body margin="2in"/> </fo:simple-page-master> </fo:layout-master-set> <fo:page-sequence master-reference="master"> <fo:flow flow-name="xsl-region-body"> <fo:block-container absolute-position="absolute" border="solid red 1pt" left="-1in" height="100%"> <fo:block-container absolute-position="absolute" background-color="#fdd" width="1in" height="1in"> <fo:block/> </fo:block-container> <fo:block-container absolute-position="fixed" background-color="#dfd" width="1in" height="1in"> <fo:block/> </fo:block-container> </fo:block-container> </fo:flow> </fo:page-sequence> </fo:root> Le 27/05/2011 12:04, Theresa Jayne Forster a écrit : > I got it actually, I mis understood the meaning of absolute and relative, > > I thought absolute meant always absolute per the document not per the > containing container.... > > Well a day where you learn nothing is a day wasted.... > > > Kindest regards > > > Theresa Forster > Senior Software Developer -- Pascal --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
