If that definition is in the DEFAULT (rather than in a separate medium you use for online output) then you don't need to add anything in your print medium section. Mediums take what's defined in the default and also any default settings for the browser, so you ONLY need to include settings that you want to be different from the default. Does that make sense? So if in your default setting you've defined the font for headings as Arial, but you want to produce a PDF that uses Calibri for headings, your stylesheet would contain something like this:
Code: Select all
html
{
mc-hyphenate: never;
text-align: left;
}
h1
{
font-family: Arial;
}
@media PDF
{
h1
{
font-family: Calibri;
}
}
I have to say though, I'd probably assign those attributes to "body" rather than to "html" in the default, but others may say different, or would say it doesn't matter. I'm not a CSS expert so I'll defer to those who are, if they respond in the thread.