Doctor Unclear wrote:


Dear Fantasai,

I just examined the
http://www.mozilla.org/docs/web-developer/upgrade_2.html
page today with MSIE 6 and I believe that content in <code> and pre.code is quite small.
When viewed in Opera 7.54 and Mozilla 1.8a4, the font size of content of <code> and pre.code is significantly bigger, relatively bigger and much more readable.


pre.code and code do not have any defined font-size in the stylesheets
base/content.css
and
cavendish/content.css

I am convinced that the current size of font for <code> and pre.code is predefined (default browser values) in MSIE 6, explaining why it is rather small.

Yes, it looks quite ridiculous. I'll look into it. :)

Note that right now, I'm not perfectly happy with the use of <ol class="toc"> as nested list-items are awkward, not logically+visually cascading. The document does not have numbered sections to begin with. So, I might revert to what was designed before.

If the table of contents is representing the order of sections in the document, then it /ought/ to be given as <ol> (ordered list) not <ul> (unordered list). I could change all ol.toc to be bulleted, but I'm not sure how well that would work with other pages. (You aren't the only one who's asked for this, though.)

One last issue. The document
Mozilla Web Author FAQ
http://www.mozilla.org/docs/web-developer/faq.html
makes use of class="htmlmarkup" and class="script"
(e.g.
<code class="script">document.all</code> and <code class="script">document.layers</code>
<code class="htmlmarkup">&lt;layer&gt;</code> and <code class="htmlmarkup">&lt;div&gt;</code>
)
but these classes are not (no longer?) supported for now. I think these would make a good addition in linked stylesheets.

What styling would you want for them? (How would it look different from regular <code>?)

[shifting conversation to n.p.m.documentation]

~fantasai

--
http://fantasai.inkedblade.net/contact

_______________________________________________
mozilla-documentation mailing list
[EMAIL PROTECTED]
http://mail.mozilla.org/listinfo/mozilla-documentation

Reply via email to