Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: www-redesign
Navigation:
Lists: www-redesign: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: www-redesign@g.o
From: Stefan Huszics <sauron@...>
Subject: Re: Fontsize, linewidth & what's new underlying layout
Date: Sun, 09 Jan 2005 11:06:55 +0100
Sven Vermeulen wrote:

>Just a small note regarding text width: the Code Listings used throughout
>various documents should have no-wrap activated. It's sensitive material
>(such as commands) and needs to be interpreted by the user correctly (as the
>author wants). Having word-wraps inside Code Listings might have disastrous
>results.
>
>  
>
The best solution for that IMO is something like the following CSS

code {overflow:auto; display:block; white-space:pre;} 

This will generate little scrollboxes for codelistings that don't fit on 
the page width, preventing breakage of  general site layout while still 
not mangeling codelistings, ever.


--
www-redesign@g.o mailing list

Replies:
new guide layout and updated about and news - jan 10
-- Michael Curtis Napier
References:
Fontsize, linewidth & what's new underlying layout
-- Stefan Huszics
Re: Fontsize, linewidth & what's new underlying layout
-- Sven Vermeulen
Navigation:
Lists: www-redesign: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: Fontsize, linewidth & what's new underlying layout
Next by thread:
new guide layout and updated about and news - jan 10
Previous by date:
Re: Fontsize, linewidth & what's new underlying layout
Next by date:
new guide layout and updated about and news - jan 10


Updated Jun 17, 2009

Summary: Archive of the www-redesign mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.