logo       

Re: Re: [tcWebDev] CSS and printed page margins: msg#00257

php.tcphp

Subject: Re: Re: [tcWebDev] CSS and printed page margins

Not really. BUT you can do this...



<style type="text/css">
@media print {
body {
/* All Browsers */
width:600px;
}
* html body {
/* IE Only */
width:620px;
}
}
@media screen {
/* Normal Styles for the screen */
...
}
</style>

Setting negative margins might work a little.


On Thu, 2005-06-23 at 17:01, Dan Johansson wrote:
> I've had fun with this. As far as I can tell, there is nothing you can
> do to override the print margins for each broswer. Which makes this an
> issue as FF and IE defualt to diffrent widths.
>
> On 6/23/05, mike schrenk
> <mikeschrenk-/E1597aS9LQAvxtiuMwx3w@xxxxxxxxxxxxxxxx> wrote:
> > Hi all,
> >
> > Is there anything in CSS that allows one to define the margins for
> > pages printed from a browser?
> >
> > TIA!
> > --schrenk,
> >
> >
> > http://www.schrenk.com
> > Yahoo Messenger: MikeSchrenk
> >
> > ---------------------------------------------------------------------
> > for more information about tcWebDev, visit www.tcwebdev.org.
> > To unsubscribe, e-mail:
> > talk-unsubscribe-QOcuBFy98FBg9hUCZPvPmw@xxxxxxxxxxxxxxxx
> > For additional commands, e-mail:
> > talk-help-QOcuBFy98FBg9hUCZPvPmw@xxxxxxxxxxxxxxxx
> >
> > sponsored by http://www.pajunas.com/
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> talk-unsubscribe-4zcLI8jJc/rYtjvyW6yDsg@xxxxxxxxxxxxxxxx
>
> Please read and follow the list guidelines:
> http://www.tcphp.org/mailing_list/guidelines
>
> The tcphp.org mailing list is sponsored by pajunas interactive, inc.
--
Brandon Carlson
CEO - Aphion Inc
www.aphion.com
brandon-+k24AcDEvnDQT0dZR+AlfA@xxxxxxxxxxxxxxxx
651-429-9888
AIM: bcarl314pi
Yahoo: bcarl314


---------------------------------------------------------------------
To unsubscribe, e-mail: talk-unsubscribe-4zcLI8jJc/rYtjvyW6yDsg@xxxxxxxxxxxxxxxx

Please read and follow the list guidelines:
http://www.tcphp.org/mailing_list/guidelines

The tcphp.org mailing list is sponsored by pajunas interactive, inc.




<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise