[NTLUG:Discuss] Re: good "book" format for html? -- DocBook is more simple, more universal
Burton Strauss
Burton_Strauss at comcast.net
Mon Nov 29 10:14:20 CST 2004
If you are interested in HTML, then grab ahold of Dan Cederholm's book, "Web
Standards Solutions: The Markup and Style Handbook". Fry's had it on sale
last few weeks for $20.
It shows you WHY you should use CSS + Simple (X)HTML markup - answer: It
separates content from styling. Then it shows you some of the fancy stuff
you can do w/ simple CSS (once the content is separated out). I.e.
<h1>Book title</h1>
<h2 id="intro">Introduction</h1>
<p>Para</p>
<p>Para</p><h2 id="c1">Chapter 1</h1>
<p>Para</p>
<p>Para</p>
<h2 id="c2">Chapter 2</h2>
<p>Para</p>
<p>Para</p>
That will work on dang near any browser, right? But now the intro looks just
like the chapters... Add a little CSS:
p#intro { font-size: smaller; font-style: italic; }
And poof - the whole intro is in a smaller, italic font!
-----Burton
More information about the Discuss
mailing list