i did find out this document it helped setting the A5 size
http://www.w3.org/TR/css3-page/
but the page margins and all are still not working properly :(
- @page {
-
size: 8.5in 11in;
-
margin: 10%;
-
-
@top-left {
-
content: "Hamlet";
-
}
-
@top-right {
-
content: "Page " counter(page);
-
}
-
}
i tried out this code from that document the hamlet, and page counter are not appearing, but the properties from the printer are taken like url and all ..how to override all this things from css ??