[xep-support] Calculating left-indent

David Priest priest at sfu.ca
Fri Jul 30 12:29:01 PDT 2004


Is there an easy method of dynamically determining the distance from the  
edge of the page to the start of hard-left text for a content block on any  
given page?

I think the calculation would include page.margin-left and  
region-body.margin-left.  I don't think region-start would be needed, as  
region-body needs to set a left margin that doesn't overwrite it.  One  
might need to include block.margin-left, block.border, and block.padding  
for the current content block.

Alternatively, simply knowing whether my template was currently putting  
content on a left or right page would go a long, long way to helping me  
achieve the layout I desire.

Any hints would be greatly appreciated.  The solution can be XEP-specific.

-- 
David Priest -- 250 542-5208
WritersBlock Technical Communications
-------------------
(*) To unsubscribe, send a message with words 'unsubscribe xep-support'
in the body of the message to majordomo at renderx.com from the address
you are subscribed from.
(*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html



More information about the Xep-support mailing list