LTinker68 wrote:As Nita says, I don't recommend non-print, mainly because you're repeating work with the CSS styles, because the print medium won't inherit from the non-print medium and vice versa, so if you want the same style definition for those two mediums, then you have to enter it twice in the stylesheet. To me, it's simpler to put everything in the "default" medium, and only define in the print medium those attributes that you want changed for the print medium. That's just my recommendation, though. I think Dave Lee uses or has used the non-print medium and has no problems. I also recommend it because that siblings-not-inheriting-from-each-other aspect of CSS tends to throw off a lot of users who are new to CSS, HTML, etc.
Yes, I use a medium for each target output type; e.g. I have a
pdf medium for PDF targets,
mobile medium for WebHelp Mobile,
non-print for WebHelp (although it'd probably be better to call it WebHelp).
I define all styles in
default (no medium), so these are inherited by all mediums. Each medium only contains those style properties which are different to
default. I don't actually set any target to use
default, they all use a specific medium.
I make sure what I define in default is sensible and is suitable for as many different output types as possible; e.g. I set all font sizes in ems (i.e. relative sizes), so that I only need to adjust the font size in
body in any given medium.
Some styles in
default will actually be blank if they are specific to a particular medium; just so that the style is still available in the editor no matter what medium I'm using.
I think the problem with using
default to mean a particular target/output type, is that you might define a number of styles in
default that you don't really want inherited by your other mediums. For example, if you set a style property in
default which is specific to your online/web output, but you don't want this in other outputs; then you would then have to add this style to all the mediums used by the other outputs to reverse/compensate for the style in
default.
It might work in your case if you're only ever using two output types and one medium, but it might be a headache if you ever need multiple outputs and mediums.