March 4th, 2006

Leviathan

Add tt, xmp and samp tags to XColibur fontsize stylesheet

Title
Add tt, xmp and samp tags to XColibur fontsize stylesheet

Short, concise description of the idea
Add tt, xmp, samp to normal_fonts.css with font-size: small section together with body, p, code, and others.

Full description of the idea
In XColibur some tags (body, dd, dt, th, td, p, div, li, pre, code, kbd) are explicitly defined as font-size small, while others aren't. Body has typeface of sans serif family, defined in basic.css, while tt, xmp and samp are by definition of monospace family. This brings incosistency between different browsers, and IE 6.0 makes tt,xmp,and samp-tagged text almost unreadable. Add tt, xmp and samp to normal-fonts.css after kbd.

They only drawback I see is that someone may like to differ between tags like tt and code. But it's nonstandard anyway, and it doesn't show in lynx and dystopia.

An ordered list of benefits
  • Consistency between tags, browsers and schemes.
  • IE 6.0 users will be able to read tt-tagged text.

An ordered list of problems/issues involved
  • Someone may already use the difference between tt and code.

An organized list, or a few short paragraphs detailing suggestions for implementation
  • In normal-fonts.css replace first line:
    body, dd, dt, th, td, p, div, li, pre, code, kbd { font-size: small; }
    with
    body, dd, dt, th, td, p, div, li, pre, code, kbd, tt, xmp, samp { font-size: small; }