I cannot get Netscape 4.79 to properly display the ordered list in the
following fragment.
<P>Get a specific portion of the date.
Depending upon the value of index:
<ol start=0>
<li>complete value, usually as a <code>String</code>, or if
an integral value as an <code>Integer </code>.
<li>year as an <code>Integer </code>
<li>month number as an <code>Integer </code>
<li>day as an <code>Integer </code>
<li>month name as a <code>String</code>
</ol>
....
When viewed under IE6 the ordered list starts with item 0 as I have
requested, but when viewed in Netscape 4.79 the start=0 attribute is ignored
and the list is displayed starting with item 1. Since this web page is part
of the documentation of the product it is essential that the displayed
indexes be correspond to the behavior of the program.
When I go to the W3C website I am informed that the start= attribute is
"DEPRECATED ". However I cannot find any alternative way to achieve this
result that is not deprecated.
Any ideas?
--
Jim Cobban jc*****@magma.c a
34 Palomino Dr.
Kanata, ON, CANADA
K2M 1M1
+1-613-592-9438 33 3915
On Fri, 24 Sep 2004 13:33:12 -0400, Jim Cobban <jc*****@magma. ca> wrote: I cannot get Netscape 4.79 to properly display the ordered list in the following fragment.
That browser is antique. If it will not observe the start attribute, and
you must accommodate NN4, you'll ned to number manually.
When I go to the W3C website I am informed that the start= attribute is "DEPRECATED ". However I cannot find any alternative way to achieve this result that is not deprecated.
Deprecated markup is allowed in the Transitional DTD. But as you seem to
need to work with a browser that can't handle it anyway, you might need to
do it differently anyhow.
"Neal" <ne*****@yahoo. com> wrote in message
news:op******** ******@news.ind ividual.net... On Fri, 24 Sep 2004 13:33:12 -0400, Jim Cobban <jc*****@magma. ca> wrote:
I cannot get Netscape 4.79 to properly display the ordered list in the following fragment.
That browser is antique. If it will not observe the start attribute, and you must accommodate NN4, you'll ned to number manually.
I appreciate that 4.79 is antique, however several of the web sites that I
deal with use a tool, MrSid, that does not support any more recent Mozilla
based browser. That is the tool refuses to install itself into the newer
browsers.
"Jim Cobban" <jc*****@magma. ca> wrote in
news:0Y******** ************@ma gma.ca: I appreciate that 4.79 is antique, however several of the web sites that I deal with use a tool, MrSid, that does not support any more recent Mozilla based browser. That is the tool refuses to install itself into the newer browsers.
LizardTech's MrSid isn't a tool, but a compression method.
If you are using websites that have images that are in
MrSid format, there are a number of ways to deal with such
images, including using a browser plugin, which will work
with more modern browsers than Netscape 4.79 - do a google
search and you'll find info about people getting the plugin
to work in various browser versions, or you could ask in
a browser-specific newsgroup.
--
Dave Patton
Canadian Coordinator, Degree Confluence Project http://www.confluence.org/
My website: http://members.shaw.ca/davepatton/
Neal <ne*****@yahoo. com> wrote: I cannot get Netscape 4.79 to properly display the ordered list in the following fragment. That browser is antique. If it will not observe the start attribute,
It observes the start attribute but does not support a value of "0".
There are some odd deficiencies in browser support to this attribute
(e.g., when you use "0", or negative numbers, or large numbers).
and you must accommodate NN4, you'll ned to number manually.
Indeed, because there's no CSS equivalent to the start attribute.
When the numbers are _essential_, it's probably best to make them part of
the content. The best approach is usually to use a <ul> element, with a
class attribute, say <ul class="numbered ">, with numbers in the <li>
elements (<li>0. foo bar</li>) and with a CSS rule like
ul.numbered { list-style-type: none; }
--
Yucca, http://www.cs.tut.fi/~jkorpela/
Pages about Web authoring: http://www.cs.tut.fi/~jkorpela/www.html
"Jukka K. Korpela" <jk******@cs.tu t.fi> wrote in message
news:Xn******** *************** ******@193.229. 0.31... Neal <ne*****@yahoo. com> wrote:
When the numbers are _essential_, it's probably best to make them part of the content. The best approach is usually to use a <ul> element, with a class attribute, say <ul class="numbered ">, with numbers in the <li> elements (<li>0. foo bar</li>) and with a CSS rule like ul.numbered { list-style-type: none; }
If the text of the list item is too long to fit on one line won't it wrap
back to the left margin, rather than being indented to the same horizontal
position as the first letter of the text on the first line?
"Jim Cobban" <jc*****@magma. ca> wrote: When the numbers are _essential_, it's probably best to make them part of the content. The best approach is usually to use a <ul> element, with a class attribute, say <ul class="numbered ">, with numbers in the <li> elements (<li>0. foo bar</li>) and with a CSS rule like ul.numbered { list-style-type: none; }
If the text of the list item is too long to fit on one line won't it wrap back to the left margin, rather than being indented to the same horizontal position as the first letter of the text on the first line?
Typically, yes. I didn't want to go into the presentational details, but
if you wish to simulate the typical appearance of <ol>, you need to add
some CSS code and probably extra HTML markup (for the numbers) too.
On the other hand, it gets a bit awkward then, so you might also consider
using a table:
<table class="numbered " summary=
"This table corresponds to a numbered list, so that the first
column has item numbers, the second column contains the items."
cellspacing="0" cellpadding="0" >
<tr><td align="right" valign="top">0. </td>
<td>foo bar</td></tr>
....
</table>
It's a bit clumsy too, of course, and a bit illogical, since the cells of
the first column should really be headers for the cells of the second
column (<th scope="row">0.</th>). But I just sketched an approach that
works in "pure" (though surely not Puristic) HTML. Of course you could
also use table markup with no presentational attributes (and no
trickery) and handle the rendering in CSS, though then the list would
look a bit odd in CSS-disabled browsing.
--
Yucca, http://www.cs.tut.fi/~jkorpela/
Pages about Web authoring: http://www.cs.tut.fi/~jkorpela/www.html
Jukka K. Korpela wrote: When the numbers are _essential_, it's probably best to make them part of the content. The best approach is usually to use a <ul> element, with a class attribute, say <ul class="numbered ">, with numbers in the <li> elements (<li>0. foo bar</li>) and with a CSS rule like ul.numbered { list-style-type: none; }
Seems nasty though to suggest the use of a <ul> element in a situation
where the numbers (and thus presumably the ordering) are so important.
I guess this would end up producing the correct result in the most
situations though.
--
Toby A Inkster BSc (Hons) ARCS
Contact Me ~ http://tobyinkster.co.uk/contact
Now Playing ~ ./white_town_-_your_woman.ogg
"Stan Brown" <th************ @fastmail.fm> wrote in message
news:MP******** *************** *@news.odyssey. net... "Jukka K. Korpela" <jk******@cs.tu t.fi> wrote in comp.infosystem s.www.authoring.html:Indeed, because there's no CSS equivalent to the start attribute.
I wonder why, given that the attribute is deprecated in HTML 4.01 Strict.
Apparently you are supposed to write some complicated CSS code to implement
the counter yourself. Seems overkill, and if they are going to propose such
a complicated workaround I feel they should describe the workaround in the
specification. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Vamshi |
last post by:
I do have some problems. Can any one help me out?
1.Ordered squares. A 6-digit number STWXYZ is an ordered number if the
diff between first 3 dig, STW and last three XYZ is 1. For example
123124 or 124123 are ordered num. A number is a square if it is equal
to the product of one whole number mul by itself.An ordered square is
both an ordered number and a square. find an algorithm to find all K
i-digits Ordered squares in increasing order....
|
by: BBFrost |
last post by:
We just recently moved one of our major c# apps from VS Net 2002 to VS Net
2003. At first things were looking ok, now problems are starting to
appear.
So far ...
(1) ComboBox.SelectedValue = db_value;
If the db_value was not included in the ComboBox value list the
ComboBox.SelectedIndex used to return -1, Now the very same code is
|
by: Christoph Zwerschke |
last post by:
This is probably a FAQ, but I dare to ask it nevertheless since I
haven't found a satisfying answer yet: Why isn't there an "ordered
dictionary" class at least in the standard list? Time and again I am
missing that feature. Maybe there is something wrong with my programming
style, but I rather think it is generally useful.
I fully agree with the following posting where somebody complains why so
very basic and useful things are not part...
|
by: Fuzzyman |
last post by:
Sorry for this hurried message - I've done a new implementation of out
ordered dict. This comes out of the discussion on this newsgroup (see
blog entry for link to archive of discussion).
See the latest blog entry to get at it :
http://www.voidspace.org.uk/python/weblog/index.shtml
Criticism solicited (honestly) :-)
We (Nicola Larosa and I) haven't yet made any optimisations - but there
|
by: ahart |
last post by:
I'm pretty new to python and am trying to write a fairly small
application to learn more about the language. I'm noticing some
unexpected behavior in using lists in some classes to hold child
objects. Here is some abbreviated code to help me explain.
####################################
class Item(object)
__text = ""
def __get_text(self):
return self.__text
| |
by: bearophileHUGS |
last post by:
>From this interesting blog entry by Lawrence Oluyede:
http://www.oluyede.org/blog/2006/07/05/europython-day-2/
and the Py3.0 PEPs, I think the people working on Py3.0 are doing a
good job, I am not expert enough (so I don't post this on the Py3.0
mailing list), but I agree with most of the things they are agreeing
to. Few notes:
- input() vanishes and raw_input() becomes sys.stdin.readline(). I
think a child that is learning to program...
|
by: jacob navia |
last post by:
As many people know, I think that garbage collection is a good
solution for many memory allocation problems.
I am aware however, that nothing is "the silver bullet", not
even the GC.
A recent article in slashdot
http://developers.slashdot.org/article.pl?sid=07/11/17/0552247
proves that.
|
by: some old html fumbler |
last post by:
I want to use CSS to get an ordered list to start with something other
than a 1 or equivalent.
I have a list of things that happen during the course of a year. Too
long a list is not helpful, so I only show maybe 3 months of items at
a time. The items have to be ordered according to the year, IOW I
can't list something in April as being #1.
In HTML after the first couple of months I just use this sort of code:
<ol start="14"...
|
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
| |
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |