On Mon, 26 May 2008 06:58:01 -0300, Damián Viano <[EMAIL PROTECTED]>
wrote:

> On Sun, May 25, 2008 at 10:12:56PM +0200, Enrico Tröger wrote:
> > On Thu, 22 May 2008 10:06:56 -0400, "John Gabriele"
> > <[EMAIL PROTECTED]> wrote:
> > 
> > > On 5/20/08, Kent <[EMAIL PROTECTED]> wrote:
> > > > I had problems printing the manual
> > > > http://geany.uvena.de/0.14/index.html with
> > > > firefox in "letter" size.  It was dropping the last 5 to 12
> > > > characters on long lines.  I finally printed a copy with all of
> > > > the text by changing the "width" in the index.html file text:
> > > > [snip]
> > > 
> > > The width value in the stylesheet was chosen out of thin air just
> > > to make the manual more readable in wide browser windows.
> > > 
> > > For printing, you might try just shutting off styles altogether
> > > (in your browser: "View --> Page Style --> No Style").
> > 
> > This is cool and IMO completely sufficient.
> > Thanks John.
> 
> Then why not include the stylesheed only for the screen media? For
> more details:
> 
>       http://www.w3.org/TR/CSS21/media.html

Thanks Damián, this is exactly what I looked for.
I changed the used stylesheet to apply the settings only for the screen
media, the print media doesn't contain any special colouring or width
settings (plain HTML).
A quick test in Iceweasel (aka Firefox ;-)) seemed to work. Opening the
page normally shows the known format, when using the print preview
the stylesheet isn't used and so no width limiations.

Regards,
Enrico

-- 
Get my GPG key from http://www.uvena.de/pub.key

Attachment: pgpWyZzUGzuwK.pgp
Description: PGP signature

_______________________________________________
Geany mailing list
[email protected]
http://lists.uvena.de/cgi-bin/mailman/listinfo/geany

Reply via email to