473,480 Members | 1,857 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

[Selectors] Scripts, ie, alphabets

It looks like there is no way, currently, to select elements or part of
element content by script, that is, by alphabet. An alphabet is DIFFERENT
from a language. I can use the same alphabet to write in different
languages, as well as, I can write the SAME language in more than one
alphabet.

--
Dario de Judicibus - Rome, Italy (EU)
Site: http://www.dejudicibus.it
Blog: http://lindipendente.splinder.com
Jan 3 '06 #1
8 1417

On Tue, 3 Jan 2006, Dario de Judicibus wrote:
It looks like there is no way, currently, to select elements or part of
element content by script, that is, by alphabet.
Indeed. You'd normally be advised to assign a "class", and to apply
it carefully to the affected portions of the marked-up content, so
that it could be addressed from CSS.

Did you have any particular styling intentions in mind? As a matter
of practical authoring in the face of actual browsers, we came to the
conclusion that in any mix of ltr and rtl writing systems, it's a good
idea to make comprehensive use of explicit dir="rtl" attributes
wherever they apply: you could certainly write CSS selectors which
addressed that specific attribute value (for browsers which implement
CSS attribute selector syntax).
An alphabet is DIFFERENT from a language.


Of course. Azeri can be and is written in three different scripts,
I'm told. Well, English can be transcribed into Japanese writing for
those who want to (and Japanese transcribed into Latin characters for
us to read). And so on. Transcribing the writing system does not in
any way change the *language*.

The terminology for writing systems is a bit unclear in WWW contexts.
Unicode refer to "Scripts", e.g "Middle Eastern Scripts", but when
taken out of context the term "script" can mean so many other things.
MS refer vaguely to writing systems as "language scripts", but, as
your posting indicates, this can be confusing.

Quite a proportion of scripts are not "alphabetic" (but syllabic - or
worse, cf. Chinese"), so your attempt to designate them as "alphabets"
isn't really wide enough. I'd be inclined to stick to the phrase
"writing system", in contexts where the term "script" isn't
sufficiently clear.

best
Jan 3 '06 #2
On Tue, 3 Jan 2006, Alan J. Flavell wrote:
On Tue, 3 Jan 2006, Dario de Judicibus wrote:
[ ... ]


I don't understand what he wants. Could you translate it
to plain English, Alan? ;-)

Jan 4 '06 #3
On Wed, 4 Jan 2006, Andreas Prilop wrote:
On Tue, 3 Jan 2006, Alan J. Flavell wrote:
On Tue, 3 Jan 2006, Dario de Judicibus wrote:
[ ... ]


I don't understand what he wants. Could you translate it
to plain English, Alan? ;-)


As I understood it, he wants a CSS selector syntax which selects
precisely those characters in the HTML source which belong to a
specified writing system. For example, he wants to be able to write a
CSS selector which says "apply this style to all Cyrillic characters"
within its scope.

At least, that's the interpretation on which I based my answer.

h t h
Jan 4 '06 #4
Alan J. Flavell wrote:

As I understood it, he wants a CSS selector syntax which selects
precisely those characters in the HTML source which belong to a
specified writing system. For example, he wants to be able to write a
CSS selector which says "apply this style to all Cyrillic characters"
within its scope.

At least, that's the interpretation on which I based my answer.


Ah. Which would require the browser to map each character to the segment
of the Unicode database from which it comes. That would slow things down
a bit, wouldn't it? And ought it treat differently those characters in
the Cyrillic section that are only in Serbian from those that are only
in Ukrainian from those that all Cyrillic writing systems share?
Jan 4 '06 #5
Alan J. Flavell wrote:
On Wed, 4 Jan 2006, Andreas Prilop wrote:
On Tue, 3 Jan 2006, Alan J. Flavell wrote:
On Tue, 3 Jan 2006, Dario de Judicibus wrote:
[ ... ]


I don't understand what he wants. Could you translate it
to plain English, Alan? ;-)


As I understood it, he wants a CSS selector syntax which selects
precisely those characters in the HTML source which belong to a
specified writing system. For example, he wants to be able to write a
CSS selector which says "apply this style to all Cyrillic characters"
within its scope.


You are correct. Sorry for late reply but I was out of office.That is
exactly what I was looking for.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Dr. Dario de Judicibus - Italy (EU)
Site: http://www.dejudicibus.it/
Blog: http://lindipendente.splinder.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Jan 11 '06 #6
On Wed, 11 Jan 2006, Dario de Judicibus wrote:
For example, he wants to be able to write a
CSS selector which says "apply this style to all Cyrillic characters"
within its scope.


You are correct. Sorry for late reply but I was out of office.That is
exactly what I was looking for.


Please give a *concrete* example!
I don't understand how such a selector could be usefully applied.
To which script belong space, hyphen, digits?

--
Netscape 3.04 does everything I need, and it's utterly reliable.
Why should I switch? Peter T. Daniels in <news:sci.lang>

Jan 11 '06 #7
Andreas Prilop wrote:
On Wed, 11 Jan 2006, Dario de Judicibus wrote:
For example, he wants to be able to write a
CSS selector which says "apply this style to all Cyrillic
characters" within its scope.


You are correct. Sorry for late reply but I was out of office.That is
exactly what I was looking for.


Please give a *concrete* example!
I don't understand how such a selector could be usefully applied.
To which script belong space, hyphen, digits?


Well, Unicode, for example, is made of specific named blocks. Each block
could be a target (e.g. General Punctuation). On the other hand, in a
specific encoding, for example ISO-8859-1, I could specify code ranges (e.g.
0xA0-0xFE).

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Dr. Dario de Judicibus - Italy (EU)
Site: http://www.dejudicibus.it/
Blog: http://lindipendente.splinder.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Jan 11 '06 #8
On Wed, 11 Jan 2006, I wrote to Dario de Judicibus:
Please give a *concrete* example!


Will you?

What do you want to achieve?

Jan 12 '06 #9

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

Similar topics

1
2603
by: Tony Benham | last post by:
I have been getting to grips with css recently (very slowly), and one area I have a problem is when to use class selectors or id selectors. Are there any guidelines when to use each type ? The key...
11
2188
by: Sue Sims | last post by:
From <URL: http://www.w3.org/TR/CSS21/selector.html#id-selectors > I find the following text: "What makes attributes of type ID special is that no two such attributes can have the same...
4
4226
by: Andy Fish | last post by:
hi, I am using descendent selectors to format cells within a table according to the css class of the table. However, when using nested tables, it seems to pick up the outer matching rule rather...
7
1566
by: Biguana | last post by:
Hi, Apologies in advance for a newbie question, but I'm trying to decipher css stuff, I can't find a direct parallel in web tutorials, and I'm not sure what to search on. My problem is that...
6
1878
by: Rhino | last post by:
What's the simplest way to determine which, if any, of my selectors are not needed in a given stylesheet? I have a small number of HTML pages that share two stylesheets; one stylesheet is for...
7
4282
by: Dan | last post by:
Hi, IE 7 does not seem to like child selectors for lists. I couldn't find anything addressing this with google search. Example of problem-- If I want to apply the color red to all ordered list...
1
1700
by: rajeevs | last post by:
Hi I have posted earlier about the same but only one reply thanks but i dont know how to do that. Please help again i will explain what i need to do in ms access by using a query i want to trim...
7
2644
by: John Dann | last post by:
I'm unclear as to how best to use what I'm terming the top-level CSS selectors, by which I mean selectors like *, html and body. I'm coming at this from trying to understand how best to set font...
5
1734
by: Nathan Sokalski | last post by:
I'm not sure if this is the right place to ask this question, but I wasn't sure where else to go. I have a table made of the following tags: <table class="myclass"> <tbody> <tr><td>.</td></tr>...
0
7055
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
6920
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
7059
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
7103
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...
1
6758
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...
0
7010
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
3011
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...
0
3003
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1311
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 ...

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.