Villeroy wrote:Now I see what disturbs me below threshold when I read code in this forum. The code is in proportional font! This is what should be changed in the first place, I suggest.
V, The CSS inherited font declaration is {
font-family: Monaco,"Andale Mono","Courier New",Courier,mono;} This is unchanged from the original phpBB code and these are all mono-spaced fonts. I've checked this on MSIE6, MSIE7 and Ff 2, so I don't understand how you are seeing this as proportional. Could you check this out on your browser using your Web developer tools and tell me what font you are picking up + plus your OS, browser version and which of these fonts you have installed?
Out of interest, the CODE box formatting is picked up from a
class="codebox" attribute on the
<DL> tag which wraps the
<CODE> tag. The EXPAND/COLLAPSE CODE anchors fire a client side javascript which toggles this class with "codeboxexp":
- Code: Select all Expand viewCollapse view
function expandCode(aTag,flag)
{
aTag.parentNode.parentNode.className = flag ? 'codeboxexp' : 'codebox';
}
And all of the CSS declarations that refer to this codebox class have been cloned so "
dl.codebox code {" becomes
dl.codebox code, dl.codeboxexp code {
with the exception that the "
max-height: 200px;" modifier only applies to
codebox.
The reason for the MSIE6 "feature" is a known bug in how it handles changing
max-height styles and MS have fixed this along with many other CSS bugs in MSIE7. The reasons for the re-homing to the top of the page is that when the browser repaints the window it is difficult to track the cursor position and it therefore just goes back to the top of the window.
Drew and discussed this second formatting mod and I have taken an action to integrate these two sets of changes. I've just gone through this mod and it is still very much in the development / alpha stage. The last complete kit is dated Jul last year, and there are six pages of dialogue on how to tweak this to address various fixed and phpBB3 RC release changes. I feel that I don't really want to dash into this one.
Hope that this helps.
Ubuntu 11.04-x64 + LibreOffice 3 and MS free except the boss's Notebook which runs XP + OOo 3.3.