Is it possible to define individual font sizes for each type in the family?
I'd like to define a 10pt font for Verdana while having the remainder of the
family options display at 12pt.
FONT-FAMILY: verdana, arial, helvetica, sans-serif;
Thanks in advance 5 6691
"Bjoern Hoehrmann" <bj****@hoehrma nn.de> schreef in bericht
news:3f******** *******@news.bj oern.hoehrmann. de... * lostinspace wrote in comp.infosystem s.www.authoring.stylesheets:Is it possible to define individual font sizes for each type in the
family?I'd like to define a 10pt font for Verdana while having the
remainder of thefamily options display at 12pt.
FONT-FAMILY: verdana, arial, helvetica, sans-serif; Doesn't http://www.w3.org/TR/CSS2/fonts.html...nt-size-adjust do what you want?
Looks very useful, but.... in which browsers is it supported?
Sincerely,
Els
----- Original Message -----
From: Jukka K. Korpela <>
Newsgroups: comp.infosystem s. www.authoring.stylesheets
Sent: Monday, August 11, 2003 2:19 PM
Subject: Re: Font Family "Els" <> wrote:
Doesn't http://www.w3.org/TR/CSS2/fonts.html...nt-size-adjust do what you want?
Looks very useful, but.... in which browsers is it supported?
Hardly any. And font-size-adjust has been removed from the CSS 2.1 draft.
-- Yucca, http://www.cs.tut.fi/~jkorpela/
----- Original Message -----
From: lostinspace <>
Newsgroups: comp.infosystem s.www.authoring.stylesheets
Sent: Monday, August 11, 2003 11:57 AM
Subject: Font Family
Is it possible to define individual font sizes for each type in the
family? I'd like to define a 10pt font for Verdana while having the remainder of
the family options display at 12pt.
FONT-FAMILY: verdana, arial, helvetica, sans-serif;
Thanks in advance
Jukka,
As a result is there a way possible to accomplish my inquiry?
Thanks in advance.
"lostinspac e" <lo*********@12 3-universe.com> wrote:
[quotes about 40 lines using nonstandard quotation indicators,
then asks a one-liner:] As a result is there a way possible to accomplish my inquiry?
No. You effectively asked how to make font-size depend on font-family,
specifically how to make Verdana smaller than the other alternatives.
Useful as it might be, it's not possible.
The conclusion is, as you could see by checking past discussions on
Verdana, that Verdana should normally not be used in author style sheets.
Opinions differ on what (if anything) might constitute a special reason
for using it. But certainly that question is to be considered taking into
account the fact that it will be of the same size as the other
alternatives listed in the font-family declaration that is to be applied.
That is, knowing that Verdana will look "too big".
--
Yucca, http://www.cs.tut.fi/~jkorpela/
On Mon, 11 Aug 2003 18:28:03 GMT, "lostinspac e"
<lo*********@12 3-universe.com> wrote: ----- Original Message ----- From: lostinspace <> Is it possible to define individual font sizes for each type in the family? I'd like to define a 10pt font for Verdana while having the remainder of the family options display at 12pt.
FONT-FAMILY: verdana, arial, helvetica, sans-serif;
As a result is there a way possible to accomplish my inquiry? Thanks in advance.
The best way is simply to define fonts of roughly the same size and
appearance. {FONT-FAMILY: Arial, Helvetica, sans-serif;} should be fine
for nearly all readers. Verdana is best avoided - I think you've already
discovered the problem with it, from your question.
--
Stephen Poley http://www.xs4all.nl/~sbpoley/webmatters/ This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Zenobia |
last post by:
Is there a problem with the CSS font-family property with IE6 -
or is it my understanding of the font-family property?
I was under the impression that the browser tried to use the
first font. If it couldn't find that font it used the next on
the list and so on. If it couldn't find any on the list, prior
to the last it would use the last - which, as you can see is
sans-serif here.
When I use the following style I get what I think is...
|
by: Fabian Neumann |
last post by:
Hi!
I got a problem with font-family inheritance. Let's say I have CSS
definitions like:
p {
font:normal 10pt Verdana;
}
strong {
font:normal 14pt inherit;
|
by: Randall Parker |
last post by:
Using IE 6.x (whatever is the latest) on Windows 2000.
For these two CSS definitions if I remove the 2 lines that have the
"mso-" font family definitions (mso-fareast-font-family, and
mso-bidi-font-family) then the "SmallerText" assigned as a class to a
div tag produces larger text than the "SmallerText2". So x-small is
treated as a bigger font size than plain old small.
How the heck is one supposed to know all the MS stuff one needs...
|
by: David Jubinville |
last post by:
Hi All,
I've run into a bit of an interesting problem with CSS and font DPI and
would certainly welcome help.
Problem:
Page layout defined in CSS has font size issues (overlapping frames, text
overflowing out of popup window, etc) on a windows systems using 120dpi
fonts (large fonts), but everything looks perfect in 96dpi small fonts.
|
by: Paul D. Sullivan |
last post by:
I've been trying to find out how to increase the font size in the
text entry fields in Invision Power Board 1.3 for a while. The
part where you enter your post and do the quick reply and all
that has a really small font by comparision to the display font
in the forum, and I wanted to at least have the same size if
possible.
After some hours of working the issue, I tested about every
relevant entry in the Style Sheet. I found one line...
| |
by: Daniel Kaplan |
last post by:
I have the item below at the top of my style sheet. And it seems that
the font-szie is ignored. I know that my linked style sheet is being
read, and used because if I remove the font-family line, the font
changes. But it appears that no matter what I do with the font-size,
it is ignored, and I cannot figure out why!
Any clues? At the very bottom is the entire style sheet, just incase
anyone comes accross something that they feel is...
|
by: redslider |
last post by:
now for my dumb-question (i note the other forum on 'inheritance' is closed):
my question is about inheriting text properties, and specifically, if font-family values can be cumulatively inherited? That is,
if i have a font-family in a parent div, and I specify 'font-family:"some font" in a child div, will the child also inherit the parent div's font-family if an instance fails to locate the child's specification? - in the sketchout...
|
by: Roedy Green |
last post by:
Is there a shortcut way to define the default font family (and
characteristics) to be applied to all styles?
--
Roedy Green Canadian Mind Products
The Java Glossary
http://mindprod.com
|
by: kheitmann |
last post by:
OK, so I have a blog. I downloaded the "theme" from somewhere and have edited a few areas to suit my needs. There are different font themes within the page theme. Long story short, my "Text Posts" are supposed to be in the font: Georgia, but they are showing up in "Times New Roman"...blah!
I can't find anything wrong in the code, but who am I trying to fool? I know nothing about this stuff. The code is below. The parts that I *think*...
|
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: 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: 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();...
|
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?
| |