Topic: Success of controling paged media with CSS??? (Page 1 of 1) |
|
---|---|
Bipolar (III) Inmate From: Phoenix |
posted 03-16-2003 19:57
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 |
posted 03-16-2003 23:24
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 |
posted 03-17-2003 18:24
edit: Better yet, here's a more definitive source. |
Maniac (V) Inmate From: Seoul, Korea |
posted 03-18-2003 01:12
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 |
posted 03-18-2003 01:31
CSS support info at WestCiv.com -- more up-to-date than the RichInStyle stuff. |
Paranoid (IV) Inmate From: North Coast of America |
posted 03-18-2003 06:21
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 |
posted 03-18-2003 07:34
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 |
posted 03-18-2003 14:23
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 |
posted 04-01-2003 21:43
Emps: |
Lunatic (VI) Mad Scientist From: Massachusetts, USA |
posted 04-01-2003 22:33
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. |