You have to make your DIV the correct page width size for it to print.  This
is a good tutorial
http://www.alistapart.com/articles/printyourway/

Re: the scroll bars, it's hard to tell with out looking at the page but it
sounds like you have to give your main outer container DIV a greater width
than your floated wide DIV.

#outercontainer {width: 980px;} <!--or whatever page size you are using-->
#wideDIV {width: 960px;} <!--just less than above-->


<div id="outercontainer">
   <div id="wideDIV">
  </div>
</div>

OR you may also position the wide DIV relatively to the parent element.  The
browser should then show scroll bars as needed.

Bob

On Thu, May 21, 2009 at 11:48 PM, SharkD <[email protected]> wrote:

>
> I've created an HTML page with an absolutely positioned DIV element
> that is much wider than the typical screen. When I try to print the
> page the majority of the DIV is cut off. How do I get the page in its
> entirety to print properly?
>
> Also, I've tried giving the BODY element an CSS attribute of
> "overflow:scroll". However, in Firefox only the vertical scrollbar
> appears (haven't tested IE yet). How do I make it so that the
> horizontal scrollbar is also present? I've tried explicitly setting
> the body's width to a large number, without success. Setting the
> body's height to a large number has the expected results of making the
> page "longer".
>
> Thanks!
>
> -Mike
> >
>

--~--~---------~--~----~------------~-------~--~----~
--
You received this because you are subscribed to the "Design the Web with CSS" 
at Google groups.
To post: [email protected]
To unsubscribe: [email protected]
-~----------~----~----~----~------~----~------~--~---

Reply via email to