Forum How do I...?

float depending on left/right page

ueli
Hi

Is there a way to make a div floating left on a lefthandside page and right on a righthandside page?

Cheers, Ueli
dauwhe
Have you tried using float: inside and float: outside?

http://www.princexml.com/doc/properties/float/

Regards,

Dave
ueli
Ok, cool! Thanks a lot!
Is there somewhere a better documentation what all this properties mean?

And is there a way to set a margin on a RHS page different then on a LHS page?

Regards, Ueli
dauwhe
@page {
margin-inside: 63pt;
margin-outside: 54pt;
}



or you can do different margins for @page:left and @page:right