Topic: Success of controling paged media with CSS??? (Page 1 of 1) |
|
---|---|
Bipolar (III) Inmate From: Phoenix |
![]() Has anyone had much success with controlling the paged media? I am able to control font, tables, anchor tags and so on... but I really need to have more control over the paged media: specifically the margins. No matter what I do, I'm not able to get the margins to change. I need a smaller margin... I've tried this, but to no prevail: |
Lunatic (VI) Mad Scientist From: Massachusetts, USA |
![]() It looks like you have your syntax right and everything. 10 bucks says Internet Explorer simply doesn't support it. |
Paranoid (IV) Inmate From: Milwaukee |
![]() edit: Better yet, here's a more definitive source. |
Maniac (V) Inmate From: Seoul, Korea |
![]() According to RichInStyle, almost none of the paged media attributes are supported in most of the older browsers. The table only shows support up to NN4, Mozilla 5, IE 5 and Op 3.6, so I'm not sure about the latest browsers. Most CSS support tables don't even bother showing paged media attributes, though, so I think it's pretty safe to say that the support is not very good (if there is any support at all). |
Paranoid (IV) Inmate From: Milwaukee |
![]() CSS support info at WestCiv.com -- more up-to-date than the RichInStyle stuff. |
Paranoid (IV) Inmate From: North Coast of America |
![]() It's really a confusion of terms that isn't defined fully in the CSS 2 Specification. @page does not mean "a piece of paper from a printer". quote:
|
Maniac (V) Inmate From: Seoul, Korea |
![]() PT: Ah, yup--that's the one I was looking for. And that chart says that it's only supported in Opera 5(!). |
Maniac (V) Mad Scientist with Finglongers From: Cell 53, East Wing |
![]() Karl: I'm wondering what you are trying to do? It may be that there is a simpler way of doing what you want. Why do you need such tight control over things? If that were the case you might want to think about using PDFs or something. |
Bipolar (III) Inmate From: Phoenix |
![]() Emps: |
Lunatic (VI) Mad Scientist From: Massachusetts, USA |
![]() I believe, if you transform into XSL:FO, there are programs that convert that into PDF files. I'm not sure what programs do it though, and XSL:FO is pretty complicated. You may want to just try to find a CSS workaround first. |