9fans archive / 2006 / 01 / 563 prev next
From: erik quanstrom <quanstro@qua...>
Subject: complaints about new web site
Date: Fri, 27 Jan 2006 11:38:05 -0600 (CST)
"Russ Cox" <rsc@swt...> writes
|
| It's probably a very good sign that the only actual complaints we've
| gotten about the web site have been about how ugly the HTML
| source is. Hopefully that's the biggest problem it has.
|
| The web site is generated from troff sources by a new program
| called htmlroff, which I mentioned in an earlier post and which
| will appear on sources once I document it. Representative commands
| are:
|
| htmlroff -mhtml glenda.tr >glenda.html
| pic utf.ms | tbl | eqn | htmlroff -ms -mhtml >utf.html
|
| [more good info]
russ, this is pretty^wvery cool.
| If the web pages don't look right in some browser, then I'm
| happy to accomodate that. Like Opera:
|
| > Nixing the <center> and having
| >
| > <table cellspacing=0 cellpadding=5 bgcolor="#eeeeff"><tr>
| > <td align="center" valign="top">
| > <pre>
| > [...]
| >
| > would probably fix it. The <center> tag is deprecated nowadays anyway.
|
| The <center> tag isn't the problem. Opera is broken. If I do this:
|
| <table cellspacing=0 cellpadding=5 bgcolor="#eeeeff"><tr>
| <td align="center" valign="top">
| <pre>
|
| then Opera still centers the text inside the <pre>! You have to use:
|
| <table width="100%" cellspacing=0 border=0><tr><td align="center">
| <table cellspacing=0 cellpadding=5 bgcolor="#eeeeff"><tr><td align="left">
| <pre>
|
| to make Opera center a block.
opera may be broken, but it does an okay job of organizing its own windows.
firefox tabs allow me one page at a time, like screens for the web.
if this fix works with other browsers too, it might be nice if it were used.
- erik