[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

start-indent/end-indent vs. absolute positioning

Subject: start-indent/end-indent vs. absolute positioning
From: pandeng@xxxxxxxxxxxx (Steve Schafer)
Date: Wed, 06 Oct 1999 03:42:05 GMT
start indent
I'm having trouble coming to grips with the idea of start-indent and
end-indent in the context of absolutely-positioned blocks. With CSS2
and its margins, it all makes sense, more or less (see CSS2 section
10.3.7). But now we have the New and Improved (tm) start-indent and
end-indent instead of margins, and the model kind of falls apart: The
start-indent is supposed to be measured from the edge of the
area-container, while the "left" property is measured from the edge of
the containing block. This suggests that the "left" value will be
absorbed into the margin; "left" and "right" effectively become
superfluous (assuming lr-tb writing-mode, of course). At least, I
can't think of any way to achieve consistent results while continuing
to take them into account. Similar ambiguities arise when considering
the perpendicular direction.

As a workaround, I'm temporarily ignoring start-indent, end-indent,
space-before, and space-after on absolutely-positioned blocks, but
still paying attention to the margins, if explicitly set. I have to
say, however, that I'm not at all comfortable with this. My feeling is
that XSL needs to choose: Do things one way (block-relative, a la
CSS2) or the other (area-container-relative), but don't try to mix the
two; that path leads to chaos, anarchy, and possibly even plagues of
locusts.

-Steve Schafer


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.