473,396 Members | 1,875 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Footnote style

In a book, a footnote is presented at the bottom of the page, in a
slightly smaller type.

converting a book to html, pages are bottomless, so we can put the
footnote in a separate link, or create a footnote div class that
floats right.

Links are probably what the author would have used had he been writing
in html, but divs that float right are closer to the spirit of the
original work, and enables the footnote to be seen in context, as was
originally intended.

Html does not have any equivalent of a slightly smaller font - to get
a slightly smaller font we would have to specify the fonts of the main
document and also the font of the footnote class, which is bad.

How have other people solved this problem?

--
http://www.jim.com
Sep 26 '05
55 6803
On Fri, 21 Oct 2005, Dr John Stockton wrote:
I don't use anything that my browser does not understand;
Why ever not? Appropriate treatment of non-understood markup has been
codified ever since RFC1866. HTML4 isn't exactly new.

There are arguable reasons for not using <q>, but the mere fact that
you found a browser that doesn't support HTML4 is no justification for
not using HTML4.
and using something (believed to be) not known to IE6 would be even
more unreasonable.


On the contrary. IE disqualifies itself as a web-compatible browser on
quite a number of points, but its failure to support, for example,
<abbr> is no excuse for not marking up abbreviations with the
appropriate markup, which is <abbr>. IE does not come to any
additional harm than if the markup were not present; but competent web
clients can do useful things with that markup.
Oct 21 '05 #51
"Alan J. Flavell" <fl*****@ph.gla.ac.uk> wrote:
There are arguable reasons for not using <q>, but the mere fact that
you found a browser that doesn't support HTML4 is no justification for
not using HTML4.
I would say that in this very case, it is, if the browser is commonly used
(or, for that matter, used by any considerable amount of people).
and using something (believed to be) not known to IE6 would be even
more unreasonable.


On the contrary. IE disqualifies itself as a web-compatible browser on
quite a number of points, but its failure to support, for example,
<abbr> is no excuse for not marking up abbreviations with the
appropriate markup, which is <abbr>.


Regarding <q>, the failure _is_ significant. The reason is that a
document's fundamental meaning may be changed if <q> tags are ignored,
just as it may be changed if quotation marks are removed.

Consider a paragraph that contains some direct quotation. In principle,
the W3C tells us*) to use <q> markup for inline quotes, though the W3C
itself doesn't do so. Suppose that we have text like the following: Joe
said: <q>Some words by Joe.</q> Here the text goes on. Now, if the browser
ignores the <q> markup, how do you know where the quotation ended,
i.e. what was Joe's words?

*) Clause 3.7 says in WCAG 1.0, at
http://www.w3.org/TR/WCAG10/#gl-structure-presentation
says: "Mark up quotations", and adds: "in HTML, use the Q and BLOCKQUOTE
elements to markup short and longer quotations".
Yet, W3C pages that violate this requirement carry the "WCAG 1.0" icon
claiming compliance to this guideline, among others. (For example, at
present, the W3C main page contains an inline quotation with no markup
but with ASCII quotation marks as delimiters.)
IE does not come to any additional harm than if the [<abbr>] markup were
not present; but competent web clients can do useful things with that
markup.


As well as harmful things, such as changing the font properties (as
suggested in the CSS2 specification, though luckily not implemented in any
browser) or underlining the abbreviation with a cryptic dotted line, even
in print media. Sadly enough, we see few if any useful things done with
<abbr> (using the title attribute's value in nonvisual rendering might be
an asset sometimes, if such values were generally useful). Part of this
is its inadequate definition. What is an abbreviation? ("HTML", "radar",
"e.g.", "Mr.", "kg", and "NaCl" might all be called abbreviations, but many
people and even organizations would disagree on this for some of them.)

The <abbr> markup has already been spoiled by inadequate definitions in the
specification as well as wrong implementations.
In that sense, IE6's ignorance is no argument against it.

--
Yucca, http://www.cs.tut.fi/~jkorpela/
Pages about Web authoring: http://www.cs.tut.fi/~jkorpela/www.html

Oct 22 '05 #52
On Sat, 22 Oct 2005, Jukka K. Korpela wrote:
"Alan J. Flavell" <fl*****@ph.gla.ac.uk> wrote:
There are arguable reasons for not using <q>, but the mere fact that
you found a browser that doesn't support HTML4 is no justification for
not using HTML4.
I would say that in this very case, it is,


But you're disagreeing with the wrong point. I already said that
there are "arguable reasons for not using <q>".
Regarding <q>, the failure _is_ significant.
Yes, it is. But the reason for not using it is - because it was not
designed for graceful fallback.
The reason is that a document's fundamental meaning may be changed
if <q> tags are ignored, just as it may be changed if quotation
marks are removed.
Exactly. As I said, that is no justification for refusing to use, for
example, the <abbr> markup when it is the right one.
Consider a paragraph that contains some direct quotation.
Yes, yes, we agree that <q> doesn't work in that sense. What I was
arguing with was JRS's claim that he would never use an HTML4 markup
which isn't supported by his own browser. That is plain wrong, for
markups which do no other harm.

I normally avoid using <q> - but I avoid it because it's badly
designed, *even though* it's supported by "my own" browser.
IE does not come to any additional harm than if the [<abbr>]
markup were not present; but competent web clients can do useful
things with that markup.


As well as harmful things, such as changing the font properties (as
suggested in the CSS2 specification, though luckily not implemented
in any browser) or underlining the abbreviation with a cryptic
dotted line,


Yes, I modify the visual presentation of <abbr> elements, to call
attention to the associated title= attribute which I use to gloss the
abbreviation.
even in print media.


If I provided a separate print stylesheet, I could turn that off. None
of this detail is an argument against the general principle of using
<abbr> when it is the appropriate markup. Or any other well-defined
HTML markups which happen to be unsupported by one or other browser.

<q> is a rogue design, in terms of its fallback behaviour - we can
agree about that. There's a specific reason for not using it. But it
doesn't support the /general/ reason which JRS was promoting - and
which I am opposing.

best
Oct 22 '05 #53
JRS: In article <Pi*******************************@ppepc56.ph.gla. ac.uk
, dated Sat, 22 Oct 2005 00:40:21, seen in news:comp.infosystems.www.au thoring.html, Alan J. Flavell <fl*****@ph.gla.ac.uk> posted :On Fri, 21 Oct 2005, Dr John Stockton wrote:
I don't use anything that my browser does not understand;
Why ever not? Appropriate treatment of non-understood markup has been
codified ever since RFC1866. HTML4 isn't exactly new.


Because if my browser does not understand it, I have no convenient way
of seeing whether it does what I want. Yesterday morning, I knew what
<q> is for; but the book is back in the library.

However, what I wrote was too strong; I do have <label> on some pages.
But I don't use, for getting an effect that I want to observe, anything
that my browser will not show me.
There are arguable reasons for not using <q>, but the mere fact that
you found a browser that doesn't support HTML4 is no justification for
not using HTML4.

and using something (believed to be) not known to IE6 would be even
more unreasonable.


On the contrary. IE disqualifies itself as a web-compatible browser on
quite a number of points, but its failure to support, for example,
<abbr> is no excuse for not marking up abbreviations with the
appropriate markup, which is <abbr>. IE does not come to any
additional harm than if the markup were not present; but competent web
clients can do useful things with that markup.


I don't write for W3, I write for people to read; therefore I'm not
concerned with IE's omissions, as long as it does what I want to do.
Possibly I could improve my pages by having forms which communicate
their contents externally, or by using Java, or by adding features
requiring other browsers ... . But I see no added value sufficient to
justify the effort.

IE *is* a Web-compatible browser, because such a high proportion of Web
users actually use IE, and such a high proportion of authors design for
IE, and perhaps for IE only. I can believe that it's not W3-compatible,
though.

--
© John Stockton, Surrey, UK. ?@merlyn.demon.co.uk Turnpike v4.00 MIME. ©
Web <URL:http://www.merlyn.demon.co.uk/> - FAQish topics, acronyms, & links.
The Big-8 newsgroup management is attempting to legitimise its questionable
practices while retaining its elitist hegemony. Read <URL:news:news.groups>.
Oct 22 '05 #54
In article <Pi*******************************@ppepc56.ph.gla. ac.uk>, Alan J. Flavell writes:
(Mind you, I caught myself using <tt> far too liberally instead of
making a proper choice of <kbd>, <code> etc. when writing some
documentation yesterday. Must go back and re-do that when I get a
spare moment.)


Maybe you can clarify something. I've never been clear on the difference
in meaning between <kbd> and <code>, possibly since I use a keyboard to
type my code. How does on decide which element is more appropriate for a
given situation?

--
Michael F. Stemper
#include <Standard_Disclaimer>
"Writing about jazz is like dancing about architecture" - Thelonious Monk

Oct 25 '05 #55
ms******@siemens-emis.com (Michael Stemper) wrote:
Maybe you can clarify something. I've never been clear on the difference
in meaning between <kbd> and <code>, possibly since I use a keyboard to
type my code. How does on decide which element is more appropriate for a
given situation?


May I?

<kbd> means keyboard input. This can be natural language text, arbitrary
characters, or computer code. You could use it e.g. in an instruction like
Type <kbd>foobar</kbd> into the Search box.

<code> means computer code, and I guess we can interpret this liberally:
it could be program source code, markup, style sheet, or command, for
example. You could use it when discussing code, e.g.:
You can use the <code>line-height</code> property in CSS to affect the
spacing between lines.

Sometimes it would be logical to use both markup for a piece of text.
I don't think there's any guideline on the way of nesting (i.e., which one
should be inner). Example:
Remember to finish your session with the <kbd><code>logout</code></kbd>
command.

There's usually no default difference between rendering of <kbd>, <code>,
and <tt>. You can _make_ a difference in CSS if you like. For example, you
could use different monospace fonts, or different colors, or just a little
reduced font size for <code>. Don't overdo such styling, though.

Some automatic translators (for human languages like English) recognize
<code> markup and leave its content unchanged - which is what you would
surely want if your text about CSS, for example, were translated from
English to French.

--
Yucca, http://www.cs.tut.fi/~jkorpela/
Pages about Web authoring: http://www.cs.tut.fi/~jkorpela/www.html

Oct 25 '05 #56

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

17
by: gsb | last post by:
HOW TO: Submit a form to PHP with no return? I need to submit a form for file upload to a PHP script but do not want anything returned. That is the TARGET for the form should be like a null...
4
by: lawrence | last post by:
Can anyone tell me why this code works in Netscape 7.1 but not in IE??? <SCRIPT type='text/javascript'> function makeVisible(nameOfDiv) {...
0
by: Jacky11 | last post by:
Hi everyone, I have spent several hours on this topic, and I still don't have the right solution. However, you guys can accomplish in 5 minutes much more then I can accomplish in 5 hours. :-)...
0
by: cedoucette | last post by:
I just wrote code to support sortable columns in a datagrid. It seems to work fine; but, it doesn't look right. The problem is that I have a generic style for links and a different style for the...
4
by: Jeremy Porter | last post by:
Hello, I have several books written up in TEI with long footnotes/endnotes. The notes often contain multiple paragraphs or lines of poems etc. It seems perfectly legal in TEI to do the...
0
by: Byomokesh | last post by:
Hi, I have problem facing in Linking Tags. Linking are 3 types. <!-- Just remark Id --> :( 1. Pref02fn1 <!-- This footnote text move to paragraph in place of link tags. --> 2....
1
by: RonY | last post by:
I have a dropdown which calls SetTimePeriod method on change the selection. In the JS function, I reset the field style.display based on what the selection is. This works fine with IE but not working...
6
by: rongchaua | last post by:
Hi all, I want to change the style of a button. But I don't know how to do it. For example, I have already a button OK on form. I want to add these styles to this button (WS_CHILD || WS_VISIBLE ||...
3
by: Michellevt | last post by:
Hi I am working on a project (for college) and wondered if anyone can help me with my problem. In the project we are not allowed to make use of any "style" attributes but "class" attributes...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.