You are here: Re: print a page with scrolling <div> « HTML « IT news, forums, messages
Re: print a page with scrolling <div>

Posted by Davιmon on 11/13/05 13:57

Neredbojias wrote:
> With neither quill nor qualm, =?ISO-8859-1?Q?Dav=E9mon?= quothed:
>
>
>>Martin Nadoll wrote:
>>
>>>Hello,
>>>
>>>i have a page with a div-Tag, positioned absolute, overflow:auto that shows
>>>a scrollbar, because content is to big.
>>>
>>>
>>>My problem:
>>>It prints only the on screen shown part of my content, not the whole
>>>content, which is, what i want to print.
>>>
>>>Is there any workaround for that problem?
>>>Maybe something with css-media?
>>>
>>
>>Something like:
>>
>><link rel="stylesheet" href="print.css" type="text/css" media="print">
>>
>>in your html, and:
>>
>>#whatever_id_your_div_is
>> {overflow:none;}
>>
>>in the print.css
>>
>>should solve that.
>
>
> Perhaps "overflow:visible;" would be better.
>

My apologies. Yes "overflow:visible;" is correct.

Also set "height:auto;" if you're not declaring the screen css
explicitly as such (i.e. the #whatever_id_your_div_is is inheriting a
height value from another definition), otherwise it will overlap any
content below, instead of forcing it down.




--

DavΓ©mon
http://www.nightsoil.co.uk

 

Navigation:

[Reply to this message]


УдалСнная Ρ€Π°Π±ΠΎΡ‚Π° для программистов  •  Как Π·Π°Ρ€Π°Π±ΠΎΡ‚Π°Ρ‚ΡŒ Π½Π° Google AdSense  •  England, UK  •  ΡΡ‚Π°Ρ‚ΡŒΠΈ Π½Π° английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Π‘Π°ΠΉΡ‚ ΠΈΠ·Π³ΠΎΡ‚ΠΎΠ²Π»Π΅Π½ Π² Π‘Ρ‚ΡƒΠ΄ΠΈΠΈ Π’Π°Π»Π΅Π½Ρ‚ΠΈΠ½Π° ΠŸΠ΅Ρ‚Ρ€ΡƒΡ‡Π΅ΠΊΠ°
ΠΈΠ·Π³ΠΎΡ‚ΠΎΠ²Π»Π΅Π½ΠΈΠ΅ ΠΈ ΠΏΠΎΠ΄Π΄Π΅Ρ€ΠΆΠΊΠ° Π²Π΅Π±-сайтов, Ρ€Π°Π·Ρ€Π°Π±ΠΎΡ‚ΠΊΠ° ΠΏΡ€ΠΎΠ³Ρ€Π°ΠΌΠΌΠ½ΠΎΠ³ΠΎ обСспСчСния, поисковая оптимизация