Many of the nodelets have <font> tags where they should have CSS-compliant <span> tags. If your browser is set to an unexpected default font, the font-ified text is scaled all out of whack. On, say, IE5 for Windows this isn't noticable, but on IE for Mac the fonts are visibly screwed up. (Any user should be able to test by setting their browser's default font to triple what it usually is.)

These are the ones I've identified:
N-Wing says: I'll mark these off as these are fixed. (While I'm here, mblase, let me fix some of the HTML in this writeup, it hurts me to look at it.)

  • (done) Epicenter: lines 74 and 86 contain open and close font tags for the server time. Delete or replace with <small>...</small>. (While I'm here, there should also be a <br> tag at the end of the string in line 58.)
  • (done) newsify: line 23 contains both open and close font tags. Delete; this output is nested inside the Epicenter span tags.
  • shownewxp: somewhere behind line 12 is an open font tag, with its closing font tag behind line 13. Delete.
  • chatterbox: line 31 contains open and close font tags that are superceded by span tags surrounding them. Delete. (Lines 20 and 42 also contains font tags, but is commented out.)
  • (done) chatterinfo: lines 15 and 19 contain open and close font tags. Delete.
  • showchatter: line 75 contains open and close font tags. Delete.
  • newwriteups: lines 45, 46, 47, 49, and 56 each contain open and/or close font tags. Replace them with <span class="rightmenu">...</span>
  • Everything Developer: lines 8, 18, and 20 all contain font tags. Those in line 8 can be deleted. Those in line 18 should be deleted or replaced with <small>...</small> or something similar. Line 20 needs a somewhat more comprehensive treatment; I would suggest this:

    20: $str.= '<table width=100% style="background-color:#003366"><tr><td align=right><small style="color:#999999">'

    which also requires a small change to line 23:

    23: $str.="&nbsp;&nbsp;&nbsp;</small></td></tr></table>";

  • Random Nodes: lines 1 and 35 should be deleted.
  • (not doing - only a very few people have this power, and CSS1 isn't even working on many browsers still) Other Users: Line 101 contains colored font tags; not hazardous, but but we can replace them with:

    101: $flags.='<span style="color:#ff0000">i</span>'


A related problem is the display of header tags (<H1>, <H2>, etc.) in the body of pages. A quick look at styledef.css reveals that only <H1> is specified. I'd recommend replacing this H1 specification:

H1 {
   font-family: arial narrow, arial, serif;
   font-size: 16px;
}
with all of the following:
H1 {
   font-family: arial narrow, arial, serif;
   font-size: 18px;  
/* increased by 2px here so that H4 will be equal to normal text */
}

H2 {
   font-family: arial narrow, arial, serif;
   font-size: 16px;
}

H3 {
   font-family: arial narrow, arial, serif;
   font-size: 14px;
}
H4 {
   font-family: arial narrow, arial, serif;
   font-size: 12px;
}
H5 {
   font-family: arial narrow, arial, serif;
   font-size: 10px;
}
H6 {
   font-family: arial narrow, arial, serif;
   font-size: 8px;
}


Finally, there are other stray font tags in the body of the page, which I can't find the source code for:

  • The writeup creation date is surrounded by font tags which can be safely deleted.
  • The "printable version" link is surrounded by font tags which should be replaced by <small>...</small> tags.
  • The "near matches" and "ignore exact" text beside the search box are surrounded by font tags that should also be deleted or replaced by replaced by <small>...</small> tags.

Log in or registerto write something here or to contact authors.