...

View Full Version : Changing Print Margins with CSS



slacker143
01-09-2003, 09:34 AM
Hi,

I'm completely lost. I looked around but couldn't find any solid info. on how to offset print margins within a CSS. Would someone please teach me? I tried the @print but was unsuccessful...

MCookie
01-09-2003, 10:29 AM
Hi,
did you try this:

<link rel="stylesheet" type="text/css" media="all" href="style.css">
<link rel="stylesheet" type="text/css" media="print" href="print.css">

Or this:

<style type="text/css" media="all">@import "style.css";</style>
<link rel="stylesheet" type="text/css" media="print" href="print.css">

Another stylesheet for printing. It only has to contain the style you want to overrule or add.

slacker143
01-10-2003, 07:25 AM
Thank you so much MCookie, that is exactly what I needed to know to get moving again. Now what do you know about VBA for Excel? :p



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum