Folks,
I'm new to CSS and realise that by posting in the html newsgroup, I
might upset one or two readers by raising a CSS question in an html
newsgroup however my ISP only has one small CSS newsgroup available -
I'm hoping someone here might be able to help.
I have an external style sheet which I call/install from inside my head
tags like so:
<link href="css/module.css" rel="stylesheet " type="text/css">
<link href="css/vst.css" rel="stylesheet " type="text/css">
I would like to over-ride the fonts that are defined in the style sheet
but leave the rest of the setup the same - I'm sure there must be a
method that will allow me to over ride this via an html (or style tag)
that appears somewhere after the above - but I don't know which (or how).
Can someone help? All replies please via the newsgroup so that others
can learn too...
Thanks in advance,
randelld
Jul 20 '05
14 11001
Alan J. Flavell wrote: On Sun, 11 Jul 2004, Justin Wood wrote:
Two things, "Symbol" in that font-family is most likely NOT what you want,
Agreed,
as it creates literally symbols instead of text!
Not on a standards-conforming client, no. Symbol fonts aren't constructed according to the principles of character representation in HTML4 (RFC2070), and where this trick gives a visual impression of working, it reveals only that the client agent isn't applying the strict principles of HTML4, but is perpetuating a legacy trick that was applied to earlier and simpler designs of HTML.
You'll see HTML4 done properly when Mozilla-based browsers are working on standards-conformance mode.
Unless the client agent is aware somehow of which Unicode characters are found at which position in the font, it shouldn't be using Symbol fonts at all. It certainly shouldn't be seeing a Latin "q" and displaying a "theta", and so on. Except perhaps when the charset is user-defined.
Erm I took my use from Windows *named* "Symbol" font, which means that
the Symbol Keyword, providing the UA follows CSS correctly on windows,
would never use "Gimicked" fonts like that.
~Justin Wood
On Mon, 12 Jul 2004, Justin Wood wrote: Alan J. Flavell wrote: Unless the client agent is aware somehow of which Unicode characters are found at which position in the font, it shouldn't be using Symbol fonts at all. It certainly shouldn't be seeing a Latin "q" and displaying a "theta", and so on. Except perhaps when the charset is user-defined. Erm I took my use from Windows *named* "Symbol" font,
I don't grasp your point, sorry.
which means that the Symbol Keyword,
AIUI "Symbol" is a font name, not a CSS generic font keyword.
This from CSS2 15.2.2:
<generic-family>
The following generic families are defined: 'serif', 'sans-serif',
'cursive', 'fantasy', and 'monospace'. Please see the section on
generic font families for descriptions of these families. Generic font
family names are keywords, and therefore must not be quoted.
Or am I misunderstandin g your terminology?
It is kind of curious that the CSS2 specification (still referring to
15.2.2) gives an example of a list of fonts, of which Symbol is one,
and makes no further comment; maybe the CSS2 authors took it for
granted that the reader would understand the implications of RFC2070,
but I know from experience that many people haven't. However: http://www.w3.org/Talks/1999/0830-tu...slide29-0.html
at least makes the point.
providing the UA follows CSS correctly
I suppose I couldn't persuade you to come out with a bit more detail
on your interpretation of what you really mean by "follows CSS
correctly"? What actual coded characters or &-representations do you
plan to include in your HTML, and how do you intend them to be
rendered on a client agent?
on windows,
"windows"? Surely here we discuss the world-wide web, not only the
windows-narrow one. The whole point of RFC2070 was to establish a
reference character representation model, irrespective of the
implementation details of this or that operating system, font scheme,
etc. And upon that groundwork rests HTML4 and the whole XML edifice.
have fun.
Alan J. Flavell wrote: On Mon, 12 Jul 2004, Justin Wood wrote:
Alan J. Flavell wrote:
Unless the client agent is aware somehow of which Unicode characters are found at which position in the font, it shouldn't be using Symbol fonts at all. It certainly shouldn't be seeing a Latin "q" and displaying a "theta", and so on. Except perhaps when the charset is user-defined.
Erm I took my use from Windows *named* "Symbol" font,
....
Was more talking about the font, which win32 (MSWindows) supplies called
"Symbol" afaik that font *does* transcode normal characters into
"symbols" such as theta in your example...it was pre-unicode, and
existed in win95 and even win3.1, which is why the didnt re-map to
unicode as far as I know, to preserve the format of the old files.
The rest of your reply took my initial wording about his specific use of
"Symbol" as likely not what he wanted nearly out of context, and I
choose not to continue on that tangent myself.
Thank you much for your thoughts and replies however, I do appreciate
them, as un-intended (on my part) as their responses were.
~Justin Wood
On Tue, 13 Jul 2004, Justin Wood wrote: Was more talking about the font, which win32 (MSWindows) supplies called "Symbol"
I think you'll find that the definition of this font is due to
Adobe...
afaik that font *does* transcode normal characters into "symbols" such as theta in your example...
That might be what the font intends; but that's not how character
representation works in specification-conforming HTML. The principles
have been on record since at least 1996: http://babel.alis.com:8080/web_ml/html/fontface.html
and published in RFC2070, issued early in 1997.
And those same principles apply to any use of CSS for styling the
presentation of HTML.
it was pre-unicode, and existed in win95 and even win3.1, which is why the didnt re-map to unicode as far as I know, to preserve the format of the old files.
The correct Unicode values for characters in the Symbol font are shown
in the reference tables at the Unicode site, see http://www.unicode.org/Public/MAPPIN...OBE/symbol.txt
Most of these characters have their proper place in the official
Unicode tables, and do not need any mention of a named font in order
to be displayed correctly. However, the remainder are defined in the
Private Use Area (PUA). Use of PUA references in HTML is rather
dubious, since the approved method of proposing a font family is via
CSS, and CSS is *supposed* to be optional. But at least if the client
agent doesn't know what to do with a character from the PUA, there's
much less risk of it displaying the *wrong* character (e.g displaying
"q" when the author intended "theta", which is what a
specification-conforming web browser is *supposed* to do when it's
sent a "q").
In similar vein, see also http://www.unicode.org/Public/MAPPIN...E/zdingbat.txt
On Wed, 14 Jul 2004, Alan J. Flavell wrote: On Tue, 13 Jul 2004, Justin Wood wrote:
Was more talking about the font, which win32 (MSWindows) supplies called "Symbol"
I think you'll find that the definition of this font is due to Adobe...
Apparently I need to add something to that remark.
I've looked more closely at MS's font, and whereas the characters
outside of the Private Use Area[1] look to be the same in MS's Symbol
font as they are in Adobe's documentation, those characters which are
in the PUA are laid out quite differently, it seems.
As usual, Win Mozilla seems to do quite a good job with this,
although it isn't quite 100%.
But IE doesn't seem to want to display any of the PUA characters,
and it even fails to display a few of the non-PUA characters,
depending on which font is specified for Latin.
I'll try to add something to my web pages about this in due course.
It certainly reinforces my earlier remark about the use of PUA
characters in HTML being problematical. But using Latin characters as
stand-ins for symbols (in the way that, as you say, the Symbol font
was originally intended to be used) is even more-problematical in
HTML4!
cheers
[1] The "Corporate Use Sub-area" (CUS), to be a bit more specific. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: rdh |
last post by:
Hi all,
I am in process of developing a Server in C++ supporting multiple
protocols. The server will be exposing various functionalities, and the
clients can communicate over any of the protocols may be TCP, IPX, SAP,
NETBEUI to access the server to access the functionalities exposed. The
server doesnot know in advance which client is using what protocol.
ALSO, ALL THE INTERACTION WILL BE MADE OVER XML.
example my server has...
|
by: Matt |
last post by:
here's some more code i inherited on a project:
function set_background(pic){
if(pic==""){
if(ie4)over.backgroundImage="none";
if(ns6)over.style.backgroundImage="none";
}else{
if(ns4){
over.background.src=pic;
}else if(ie4){
|
by: Raphi |
last post by:
Hi,
I've been using an Access application I wrote for an office with the
front-end stored on all computers and the back-end on one of them serving as
an Access file server.
Now we're moving to a 2nd office 15 minutes down the road. Only one office
will be open at a time, so theoretically it'd be possible to copy the
back-end manually every night from one office to another, but frankly,
that's pretty annoying.
|
by: Josh |
last post by:
Hi,
I am trying to capture the MouseDown event over a 3rd-party control (a
streaming video screen).
I am trying to draw a rubberbanding rectangle over an area of the
streaming screen (which is refreshing slowly).
When I drag and stretch a rectangle starting on the form, I can pass
it over the streaming screen. However, I cannot start a
|
by: rawCoder |
last post by:
Hi All,
I need some advanced samples or references for passing custom objects over
the network using sockets.
Without using Remoting what are other options in .NET Framework for this
binary serialization.
Thank You
rawCoder
| |
by: Nikolay Petrov |
last post by:
I have a ListBox, which is binded to a DataTable.
I would like to display a tooltip when the mouse cursor hovers over the
items in the ListBox.
I don't know how to find the index if ListBox item, on which mouse
cursor is over and how to display the tooltip.
Any suggestions?
TIA
|
by: Mark 123 |
last post by:
I just read at
http://groups.google.com/group/microsoft.public.access.forms/browse_frm/thread/766ba7b493eacb63/8a7d5504ee848c21?lnk=st&q=migrate+access+97+to+access+2007&rnum=1#8a7d5504ee848c21
that if you have a spilt db using SQL server rather than jet, the
front-end's can connect to the backend SQL server over the internet.
Has anyone had experience with this?
We are thinking of migrating an commercially sold Access97 runtime app to...
|
by: Sebastian |
last post by:
Hello all
I have a report where I have two nested groups.
I know there are only three standard options for running sum: None,
Over Group and Over All.
I have a MyTextBox in detail section where the data is summed over
group.
But the data is summed over the second group. When a new group begins
MyTextBox value is resetting to zero. I need a running sum over the
first group so when another second group begins MyTextBox value will
|
by: Andrew 2006 |
last post by:
Hi there,
I'm trying to understand the differences between sending XML over TCP
and XML over HTTP (SOAP). However I'm not having much luck finding
good articles on the www.
Can anyone recommend a good web page that explains the differences?
Many thanks
|
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: 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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
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: 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,...
|
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: 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.
| |
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...
| |