Gentoo Archives: www-redesign

From: Stefan Huszics <sauron@×××××××.se>
To: www-redesign@××××××××××××.org
Subject: Re: [www-redesign] Fontsize, linewidth & what's new underlying layout
Date: Sun, 09 Jan 2005 10:06:55
In Reply to: Re: [www-redesign] Fontsize, linewidth & what's new underlying layout by Sven Vermeulen
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


Subject Author
[www-redesign] new guide layout and updated about and news - jan 10 Michael Curtis Napier <curtis119@×××××.com>