- From: Tobias Herp <tobias.herp@gmx.de>
- Date: Mon, 03 Nov 2014 01:26:04 +0100
- To: jackalmage@gmail.com
- CC: www-style list <www-style@w3.org>
Hello Tab, I'm not sure we talk about the same thing. >> @margin { >> width: 32mm; /* stealing width from the @page box */ >> padding: 0 2mm; >> font-size: smaller; >> } >> >> @page :left { >> @margin { >> text-align: right; /* possible default for :left pages */ >> } >> } >> >> @page :right { >> @margin { >> text-align: left; /* possible default for :right pages */ >> } >> } >> >> .marginalia { >> position: margin; >> } > The Page Templates module <http://dev.w3.org/csswg/css-page-template/> > covers this already, in a more extensible way. I'm not sure this is true. Nothing I see there looks like marginals; it's rather about the order of text boxes, like in a layout program, right? > But this should do everything you need, I think. Could you sketch how you'd expect a margin column to be realized based on this module? The margin column is very sparsely populated; the flow of text is in the main column (a page with marginals will usually have only one regular column), and contain mainly symbols, e.g. for "note", "caution", "further information", or buzzwords to make them easier to find in the main text. > If your only requirement is to have the ability to float something on > the inner/outer edge, depending on page placement Yes, this is the point: float left on :left pages, and float right on :right pages (normally). This can't currently be done, because of the restriction to at-margin rules in @page rules. > we've discussed this in the past, and it'll go into the 'float' > property when we add 'start' and 'end' keywords as well. What would these values mean? Would I need "float: start" or "float: end" to put something to the margin column (or the left/right padding which clears the space for it)? Or would I need "start" on :left pages, and "end" on :right pages? (In this case, these new values for "float" wouldn't help at all.) Can you provide a link? Kind regards, Tobias
Received on Monday, 3 November 2014 00:26:29 UTC