473,804 Members | 2,201 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Bold numbers in ordered lists

To get bold numbers in ordered lists, one can write

ol { font-weight: bold }
ol span { font-weight: normal }

<ol>
<li><span>..... .</span></li>
<li><span>..... .</span></li>
</ol>

Is there a better way?

--
In memoriam Alan J. Flavell
http://groups.google.com/groups/sear...Alan.J.Flavell
Aug 22 '08
33 12226
In article <8a************ **************@ NAXS.COM>,
"Jonathan N. Little" <lw*****@centra l.netwrote:
dorayme wrote:
In article <a9************ **************@ NAXS.COM>,
"Jonathan N. Little" <lw*****@centra l.netwrote:
dorayme wrote:
In article <ba************ *************** @NAXS.COM>,
"Jonathan N. Little" <lw*****@centra l.netwrote:

dorayme wrote:

I will answer your post later. Obviously, I am not going to get you to
see what I mean by semantic equivalence between an ordered list and a 2
col table easily, you putting up every kind of block from seeing what is
essentially a simple observation of mine.

Maybe because they are semantically different might have something to do
with it.
You forget to add:

"and this is glaringly obvious to everyone but you (dorayme)".

Here's a possibility that understandably escapes your mention: that you
(and many others) are operating with an essentially false or
dilettantish idea of what it is for two things to mean the same.

I will think of a way to take you through my thoughts as best as I can,
the previous clearly not having done the job.

--
dorayme
Aug 27 '08 #21
On 2008-08-26, dorayme <do************ @optusnet.com.a uwrote:
[...]
Quite often, in my experience, if an idea is so coldly received, it is
because it is communicated in a form that makes it sound simply false or
crazy, there being no handle for the receiver to intelligently discuss
it. Hence your first dismissive response where you repeated so
innocently that a list was a list, one thing after another and a table
was a table, things relating blah blah. I do not blame you.
[...]

I think it's sort of OK to call an ordered list a kind of table. But
it's only possible to judge it in the very dim light available.

A table is really a visual thing as everyone knows. Then people started
saying you can only use an HTML table for abstract "tabular data". But
we can only imagine what "tabular data" really is.

People have their own definitions but none of them are authoritative.

Really it comes down to choosing the element that fits best out of the
choice available.

Since there is an OL element that's usually going to be a better choice
for an ordered list than a TABLE.

And if you do use a TABLE instead because it's easier to style it the
way you want you could be accused of using tables for presentation,
which is the dreaded thing everyone is trying to avoid.

It's much easier to answer the practical questions "why are you using a
table?" and "why aren't you using an OL?" than "is your data tabular?".

Your argument that the numbers are like a corresponding column so that
we can look up the third thing to do on the list etc. does work but how
is that different from the argument that a linter is a kind of
validator?
Aug 27 '08 #22
dorayme wrote:
In article <a9************ **************@ NAXS.COM>,
"Jonathan N. Little" <lw*****@centra l.netwrote:
>dorayme wrote:
>>In article <ba************ *************** @NAXS.COM>,
"Jonathan N. Little" <lw*****@centra l.netwrote:

dorayme wrote:

Whether you use an ordered list or a table, you are conveying more or
less the same thing.
No not really. A list is a list, with a singular "linear" relationship:
start a 1, then to 2 then to 3...

Not really. The relationship between the number of an ordered list item
and the list item itself is one relationship you miss considering.
I would argue that the ordinal numbers is a list are not at all the same
as the data within a table. It is not really the "data" makes little
difference if

1. fee
2. fie
3. foe
4. fum

A) fee
B) fie
C) foe
D) fum

or implied:

* fee
* fie
* foe
* fum

Where as the first column of a table's data is relevant and the
relationship by row and column is significant.

fin | fish | water
foot | dog | land
wing | bird | air

With or without ordinal numbers a tabular data within has a significance
with respect to row column position. It is that organizational
relationship that differentiates it from a list.

OK, now, Jonathan where were we? O yes, you think the number in an
ordered list can never be the same as data in a column in a table? And
you have an argument. Your argument begins with a few particularly
distracting ungrammatical sentences and others later. I am having
trouble understanding you. I have spent 15 minutes thinking of
charitable interpretations and come up with only obviously acceptable
and uncontroversial things that I start with myself.
Sorry should get someone else to proof my messages before posting.
Numbers in a list are only significant if they represent procedural
step, but that may not aways be the case. See my other reply...

--
Take care,

Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com
Aug 27 '08 #23
In article <98************ *************** @NAXS.COM>,
"Jonathan N. Little" <lw*****@centra l.netwrote:
Numbers in a list are only significant if they represent procedural
step, but that may not aways be the case.
This is either false or ambiguous or both.

--
dorayme
Aug 27 '08 #24
dorayme wrote:
In article <98************ *************** @NAXS.COM>,
"Jonathan N. Little" <lw*****@centra l.netwrote:
>Numbers in a list are only significant if they represent procedural
step, but that may not aways be the case.

This is either false or ambiguous or both.
How so?

--
Take care,

Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com
Aug 27 '08 #25
In article <f1************ *************** @NAXS.COM>,
"Jonathan N. Little" <lw*****@centra l.netwrote:
dorayme wrote:
In article <98************ *************** @NAXS.COM>,
"Jonathan N. Little" <lw*****@centra l.netwrote:
Numbers in a list are only significant if they represent procedural
step, but that may not aways be the case.
This is either false or ambiguous or both.
I forgot to add "or vague" and change "or both" to "or all three"
How so?
The "that" could refer to either the fact of significance or the
canvassing of the possibility of the conditional not being true.

The vaguesness refers to the possibility of some other meaning that is
not clear and is neither of the ones mentioned above.

And the falsity refers to there being cases of ordered lists that do not
literally represent a procedure to be followed.

--
dorayme
Aug 27 '08 #26
In article <do************ *************** *******@web.aio e.org>,
dorayme <do************ @optusnet.com.a uwrote:
The crucial case is between r and q (see discussion with Ben). I claim
they are not *significantly* different and if they are what is the
difference?
O and I should have added "and if there is a difference, what is its
true significance".

--
dorayme
Aug 27 '08 #27
dorayme wrote:
In article <do************ *************** *******@web.aio e.org>,
dorayme <do************ @optusnet.com.a uwrote:
>The crucial case is between r and q (see discussion with Ben). I claim
they are not *significantly* different and if they are what is the
difference?

O and I should have added "and if there is a difference, what is its
true significance".
Not sure how to explain it any more clearly, but essentially list data
is *linear* or *sequential* whereas tabular data is "2-dimensional" with
a positional relationship in rows and columns. If you cannot grasp the
concept I am afraid you are doom to confusion ;-)

--
Take care,

Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com
Aug 28 '08 #28
In article <48************ *************** @NAXS.COM>,
"Jonathan N. Little" <lw*****@centra l.netwrote:
dorayme wrote:
In article <do************ *************** *******@web.aio e.org>,
dorayme <do************ @optusnet.com.a uwrote:
The crucial case is between r and q (see discussion with Ben). I claim
they are not *significantly* different and if they are what is the
difference?
O and I should have added "and if there is a difference, what is its
true significance".

Not sure how to explain it any more clearly, but essentially list data
is *linear* or *sequential* whereas tabular data is "2-dimensional" with
a positional relationship in rows and columns. If you cannot grasp the
concept I am afraid you are doom to confusion ;-)
The insinuation that you know something about this matter that I don't
would be more impressive if you showed the slightest explained agreement
with any of the detailed things I have said. This would show how far
along what road you travel with me and exactly the point at which you
diverge.

Your suggestion that I am doomed if I don't grasp what satisfies you and
others should be beneath you.

In any case, your analysis of what is dooming me is clearly wrong
because I accept that cells in a well made html table have a
relationship to each other across rows and sometimes across columns and
sometimes across both. I also accept that list data items are
sequential.

You continue to ignore the crucial and relevant matters and keep
repeating the simple simon met a pieman stuff which I start with rather
than dispute. Anyway, thanks for trying to contribute to the discussion.

--
dorayme
Aug 28 '08 #29
Jonathan N. Little wrote:
Not sure how to explain it any more clearly, but essentially list data
is *linear* or *sequential* whereas tabular data is "2-dimensional"
with a positional relationship in rows and columns. If you cannot
grasp the concept I am afraid you are doom to confusion ;-)
Tabular data is, generally speaking, n-dimensional, though in web authoring
and styling we are mainly interested in the cases n = 1 and n = 2. For n =
1, tabular data reduces to a list (linear, sequential structure), which can
be described within the HTML table concept as a table (n = 2) with one
column only, or with one row only. A list can, of course, also be presented
using <ulor <ol(or <diror <menuto get pointlessly wild) or even just
a sequence of elements, like <divelements or <pelements. In practice,
people tend to select the markup on presentational grounds rather than
anything else. If you want bullets, you use <ul>, etc., even though you
_could_, in theory at least, use any of the markup approaches on some
logical or other grounds and then use CSS for styling.

The suggestion to use a table for bolding numbers of list items means that a
list is replaced by a 2-dimensional table, with numbers in one column and
list items in another. I don't see why this would be unsound, even though
it's in practice a workaround when one just wants a list with bold numbers.
After all, the more importance the numbers have - i.e. the more they
describe essential properties of the data, as opposite to being merely
running numbers that could be replaced e.g. by a, b, c, ... or even by
bullets - the more we can argue that they _should_ be explicit, present in
the actual data, and not just generated by presentational tools like CSS.

By the way, the case n = 3 is something that could be presented using CSS,
in a sense. You could have a collection of similar tables, positioned at the
same place, with different z-index values. This would of course mean that
only one "slice" would be visible at any given time, and switching between
"slices" would have to be handled outside CSS. (Well, :hover could be used
to switch between _two_ slices on mouseover.)

Yucca

Aug 28 '08 #30

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

Similar topics

6
2858
by: Stanimir Stamenkov | last post by:
So if the 'type' attribute of the OL element is deprecated and authors should rely only on stylesheets how one could use a reference (as clear text) in the content to a particular list element? Suppose I have: <ol type="1" id="main"> <li>baba</li> <li>lele <ol type="a" id="ext">
2
1592
by: Ryan Ternier | last post by:
I'm currently run into a snag on one of my projects. We need to create an ordered list (Mutli levels). Ie: 1. Some Title ....A....Something here ....B....Something Else 2. Another Title
1
1477
by: m.k.ball | last post by:
What is the best way to achieve alphabetically ordered lists that will index phrases starting with 'The' as if the word was at the end rather than the start of the phrase? Michael
2
3231
by: tgscott | last post by:
Hi, By default numbers in ordered lists are right aligned, like this... 1. Item 2. Item .... 10. Item 11. Item
14
4027
by: etal | last post by:
Here's an algorithm question: How should I efficiently merge a collection of mostly similar lists, with different lengths and arbitrary contents, while eliminating duplicates and preserving order as much as possible? My code: def merge_to_unique(sources): """Merge the unique elements from each list in sources into new list.
0
10343
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10335
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10088
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 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...
0
9169
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, 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...
0
6862
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5529
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...
1
4306
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
2
3831
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3001
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.