Help | Site Map
Connecting Tech Pros Worldwide
 
 
LinkBack Thread Tools
  #1  
Old February 25th, 2006, 02:45 PM
Paxton
Guest
 
Posts: n/a
Default Redisplaying for print

I have a 3 col page with 3 main divs: #leftcontent, #maincontent,
#rightcontent.

leftcontent (100px) and rightcontent(160px) hold elements that are not
needed for print (some images and forms).

I have set the body and html width to auto and got rid of the padding
and margins on the maincontent, setting its width to auto too. I have
also set leftcontent and right content to display:none; width:0;

However, on print preview, the pages resolutely maintain a 100px left
margin (where leftcontent appears on the screen) and 160px right margin
(where rightcontent is).

Anyone got any suggestions as to what I'm missing?

/P.

  #2  
Old February 25th, 2006, 03:05 PM
Paxton
Guest
 
Posts: n/a
Default Re: Redisplaying for print


Paxton wrote:[color=blue]
> I have a 3 col page with 3 main divs: #leftcontent, #maincontent,
> #rightcontent.
>
> leftcontent (100px) and rightcontent(160px) hold elements that are not
> needed for print (some images and forms).
>
> I have set the body and html width to auto and got rid of the padding
> and margins on the maincontent, setting its width to auto too. I have
> also set leftcontent and right content to display:none; width:0;
>
> However, on print preview, the pages resolutely maintain a 100px left
> margin (where leftcontent appears on the screen) and 160px right margin
> (where rightcontent is).
>
> Anyone got any suggestions as to what I'm missing?
>
> /P.[/color]

Apologies - I've posted this to the wrong group. Please ignore. I've
reposted it in stylesheets.

/P.

 

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

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 Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over network members.
Post your question now . . .
It's fast and it's free

Popular Articles