Click here to get back home

Redisplaying for print

 HomeNewsGroups | Search | About
 comp.infosystems.www.authoring.html    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
Redisplaying for print Paxton 02-25-2006
Posted by Paxton on February 25, 2006, 9:31 am
Please log in for more thread options


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.


Posted by Paxton on February 25, 2006, 9:53 am
Please log in for more thread options



Paxton wrote:
> 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.

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

/P.


Similar ThreadsPosted
html for print January 2, 2006, 5:00 am
Print CSS Not Loading September 20, 2007, 12:41 pm
Format print using html? Please help October 5, 2004, 1:13 pm
To print a HTML page as I want October 30, 2004, 3:09 pm
frames print button January 25, 2007, 11:18 pm
Don't print certain elements from a page February 17, 2007, 3:38 pm
Re: print form value on the web page etc? January 23, 2008, 5:47 am
Print versions of HTML cut off at margins September 14, 2004, 9:01 am
Cannot print table background color May 30, 2005, 4:27 am
newbie: how to create a print link September 20, 2006, 3:42 pm

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap