At 11:27 02.04.2002, Stas Bekman wrote:
Therefore I suggest not to overdesign and simply fix the stylesheet to do the right thing. Currently all headers are of the same size, which is wrong. Is this correct:
h1 1.2em h2 1.1em h3 1.0em h4 0.9em ??
anybody familiar with the default HTML sizes for these (talking about relations between two adjucent sizes, not absolute sizes)?
From the CSS2 spec, "A sample stylsheet for HTML 4.0" <http://www.w3.org/TR/REC-CSS2/sample.html> :
H1 { font-size: 2em; margin: .67em 0 }
H2 { font-size: 1.5em; margin: .83em 0 }
H3 { font-size: 1.17em; margin: 1em 0 }
H5 { font-size: .83em; line-height: 1.17em; margin: 1.67em 0 } H6 { font-size: .67em; margin: 2.33em 0 } H1, H2, H3, H4, H5, H6, B, STRONG { font-weight: bolder }
Is this a sample as in 'out-of-head-example, or a sample as in 'we-use-it-feel-free-to-reuse-it'.
I guess we could use:
1.0, 1.1, 1.2, 1.3
I came to think of something else: we use indentation. We could indent sections more or less depending on their level.
Some inconveniences:
- hard to do directly in CSS2 - a <p> is always a <p> no matter if it's preceded by <h2> or <h1>.
- renders badly on smaller screens (I think)
it won't matter much. Indentation helps only when you see the change happening on the same visual page.
Different font size should be fine.
--
__________________________________________________________________ Stas Bekman JAm_pH ------> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com http://modperlbook.org http://apache.org http://ticketmaster.com
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
