开发者

Can We Rotate Page?

I am not sure but there are many unbelievable things getting done each day.

So my question is that can we rotate a generated开发者_Python百科 page with 90 degrees like how we do this in pdf using either php or JavaScript?


While this is for printing, you should definitely use Paged Media rules from CSS 3 :

@page { 
  size: landscape; 
}

More information here. I know this is not supported by all the browsers, but this is the easiest option to print what you want. Another option would be to convert XHTML to PDF using DOMPDF which is under active development.


this should be possible with css3. see google sideways

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜