Peter P. Jones wrote:
[...]
> and so on. But I can't get the CSS to work. I know that CSS is
> actively altering things, because it works on the textarea boxes, but
> I can't figure out how to get relative indents.
> If there's a CSS whizz out there perhaps they could look at the
> source (below the script) and tell me why it isn't working. (01)
I wrote up a very restricted DTD for XHTML that enforced Harvard
style-like hierarchy, nesting h1-h6 in order. I don't know which
CDROM I've stored all that stuff on (it's from years ago now),
but the stylesheet I created was pretty basic. I think the CSS
was something like (02)
div { ... }
div div { ... }
div div div { ... }
div div div div { ... }
div div div div div { ... }
div div div div div div { ... } (03)
or maybe I was using 'class' attributes (which I did a lot of),
as in: (04)
div.sect1 { ... }
div.sect2 { ... }
div.sect3 { ... }
div.sect4 { ... }
div.sect5 { ... }
div.sect6 { ... } (05)
Hope that helps, (06)
Murray (07)
......................................................................
Murray Altheim http://kmi.open.ac.uk/people/murray/
Knowledge Media Institute
The Open University, Milton Keynes, Bucks, MK7 6AA, UK . (08)
According to the National Institutes of Health, two-thirds of
Americans are overweight and one-third are obese. Between 1971
and 2000, adult obesity rates more than doubled. [...] A report
tied that increase to decisions by national restaurant chains
to expand portions of foods like French fries and hamburgers.
Serving sizes became two to five times bigger in those years,
and cookbooks joined the trend by increasing the portion sizes
in recipes. -- Anahad O'Connor, New York Times
http://www.nytimes.com/2004/02/06/health/06CARB.html (09)
--
This message is archived at: (010)
http://collab.blueoxen.net/forums/cgi-bin/mesg.cgi?a=tools-yak&i=4024E8FE.7000304@open.ac.uk (011)
|