Forum How do I...?

Place content on @page :left and @page :right depending on .class

frappierer
Hello,

taking a look at the attached pdf you will see some text and within that, an element called "merksatz" (engl.: "take home message").
Depending on the left or right page the side of the blue square with the "i" should change accordingly.
I managed that with giving it different classes.
"Merksatz" which will appear on the left side of the page will get another class then those on the right.

But in terms of usability i hope there is a better way. is there any chance to place the square according to the page (if its left or right page)? (and i have only one class)

Thanks
  1. Example Merksatz.pdf43.1 kB
    Merksatz
mikeday
Perhaps "float: inside | outside"?