1 |
On 2010-09-30, J??rg Schaible <joerg.schaible@×××.de> wrote: |
2 |
> Grant Edwards wrote: |
3 |
|
4 |
>>> playing around here a bit more and you are correct, the text will |
5 |
>>> only reformat to the width of the longest code block before the |
6 |
>>> horizontal scroll appears. On the "Creating a Cross-Compiler" page |
7 |
>>> you linked to the longest code block is still only half the width of |
8 |
>>> my screen, so it's not really a problem on my system. |
9 |
>> |
10 |
>> I could reduce the minimum size of my "fixed" font, but that only |
11 |
>> helps until the next web page comes along with an even wider code |
12 |
>> block. |
13 |
> |
14 |
> Try a different fixed font. At the end I've chosen "Monotype", because it |
15 |
> seems to have the narrowest well-readable letters. |
16 |
|
17 |
I could do that, but IMO that's just a kludge for a broken document. |
18 |
|
19 |
And it only works until the next web page comes along with even wider |
20 |
listing blocks. |
21 |
|
22 |
The real problem is that text and listing widths are linked. They |
23 |
shouldn't be. |
24 |
|
25 |
I've filed a bug report: |
26 |
|
27 |
http://bugs.gentoo.org/show_bug.cgi?id=339290 |
28 |
|
29 |
So feel free to weigh in there. |
30 |
|
31 |
That bug report contains a link to a page that shows how I think it |
32 |
should work: |
33 |
|
34 |
http://www.panix.com/~grante/wrapdemo.html |
35 |
|
36 |
The text paragraphs wrap to fit within the browser width regardless of |
37 |
the width of the listing blocks. |
38 |
|
39 |
I've also set a max width on the paragraphs so that they remain |
40 |
readable even when you widen the browser window to see more of the |
41 |
wide listing blocks. [I admit the max-width bit is more of a |
42 |
style-preferance thing.] |
43 |
|
44 |
-- |
45 |
Grant Edwards grant.b.edwards Yow! My mind is making |
46 |
at ashtrays in Dayton ... |
47 |
gmail.com |