Go Back   CodingForums.com > :: Client side development > HTML & CSS

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 01-09-2003, 09:34 AM   PM User | #1
slacker143
New to the CF scene

 
Join Date: Jan 2003
Location: California
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
slacker143 is an unknown quantity at this point
Changing Print Margins with CSS

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...
slacker143 is offline   Reply With Quote
Old 01-09-2003, 10:29 AM   PM User | #2
MCookie
Regular Coder

 
Join Date: Jun 2002
Location: NL
Posts: 421
Thanks: 0
Thanked 0 Times in 0 Posts
MCookie is an unknown quantity at this point
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.
MCookie is offline   Reply With Quote
Old 01-10-2003, 07:25 AM   PM User | #3
slacker143
New to the CF scene

 
Join Date: Jan 2003
Location: California
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
slacker143 is an unknown quantity at this point
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?
slacker143 is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 07:50 PM.


Advertisement
Log in to turn off these ads.