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

Posted by Spartanicus on 11/12/05 10:17

"Martin Nadoll" <martin@nadoll.de> wrote:

>i have a page with a div-Tag, positioned absolute, overflow:auto that shows
>a scrollbar, because content is to big.

Get rid of it, "scrolling divs" are a usability nightmare. Scrolling
with the wheel of a mouse is poorly supported, keyboard users cannot
scroll it at all.

Place a small bit of the content on the page followed by a "... More"
link that links to the full text.

>Now i have a button on that page called "print page".
>That is only a <a href"javascript:window.print()"> command.

Replicating a function found on all browsers serves no purpose, using
javascript is even more silly since a significant number of clients will
have javascript disabled.

--
Spartanicus

 

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

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация