|
In "CSS: The missing manual" the author says that font-size: medium (or other size keywords) sets the font relative to the browser's base font size.
But what I'm seeing in FF2 and IE6 is that it sets the font size to what I specified in the .CSS HTML ...
Started by Clay Nichols on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
Only if you don't specify a font-size 2.1 specification :
The 'medium' value is the....
I think if you set a default size to a element like a container or the body, then any relative font-sizes in the children are based on the parent elements.
|
|
If i use @font-face font and font-variant: small-caps for the same selector the font will fallback to the next system default font in safari. how do i get around that?
Started by antpaw on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
So I did some quick research on @font-face, and found that it's -- depending on how you look at it -- either a non-standard.
That font-face is not a standard CSS2 attribute; the equivalent is font-family.
|
|
What are mobile web safe fonts?
How to make cross browser, cross platform css font stack?
Started by jitendra on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
You which fonts....
The best solution is to always supply a generic font family after any specific fonts:
font-family://www.ampsoft.net/webdesign-l/WindowsMacFonts.html
Using the above font families never gave me problems.
|
Ask your Facebook Friends
|
What is the difference between TrueType fonts and Type-1 fonts?
Started by Finch on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
TrueType was invented by Microsoft as a way (a) to break Adobe's monopoly on hinted font formats, (b were competitors in the....
This way Adobe relegated other font foundries to non-hinted fonts using Type 3 format.
Was a trade secret.
|
|
Is it possible to change the size of a font in .net winforms without having to create a new Font with the new size?
Started by jvanderh on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
This will save you some code OriginalFont As Font, ByVal....
Make sure you use the constructor method that allows you to use the base font and pass in the new size you desire.
Font size is readonly for existing "Font" objects.
|
|
I've installed an OpenType font on my development machine expecting to then be able to choose that font for a label on a form.
The font is available in MS Word so I'm reasonably confident it was installed ok, but I can't see the font in the font-picker...
Started by edg on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
Menu when you've got that window.
That already, is the font listed in c:\windows\fonts\ okay? If it is, you might want to try removing it and then re-installing that font via the File > Install New Font...
|
|
I'm trying to write a font viewer for TrueType / OpenType fonts with VB6 / VB5 code (under Windows).
it is surprisingly difficult:
1) in VB / winAPI, i did not find how to extract the font's name, or font properties in general.
2) i can install the font...
Started by Berry Tsakala on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
You could....
Also, you can use the Font and Text Functions to get the font metrics.
Parser though because I needed to detect if the font was corrupt will unload the fonts even if the process did not call RemoveFontMemResource.
|
|
The idea in the following is the first @font-face is for Firefox, the second for IE, and Arial for anything else that can't make sense of the first two. Its all working except for I want to give a different size in the case of Arial, and haven't figured...
Started by Mark on
, 6 posts
by 6 people.
Answer Snippets (Read the full thread at stackoverflow):
I believe your options are
the font-size-adjust property of css 3 javascript (jQuery), and check for current font to see which one of the three is effective and adjust the font-size accordingly....
This is no supported by normal CSS rules..
|
|
For my website I have chosen to use some pretty obscure fonts in my font family. The most well known font (3rd in family) is Century Gothic, which most computers have.
font-family:Tw Cen MT,Gill Sans,Century Gothic,sans-serif;
The problem is that 12px...
Started by JCHASE11 on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
Ex units are based on height, unlike em , px , and pt will not allow you to tell which specific... .
I really suggest using something like using ex units in your font-size declaration.
Lab/javascript-css-font-detect and create a conditional.
|
|
Hello, do you know some good sites within good fonts that could be used in websites with font-face? There are some sites I know, but I search for fonts that I can use in "commercial projects" and they should be licensed optimally under MIT or (New) BSD...
Answer Snippets (Read the full thread at stackoverflow):
First place to look is the Open Font Library : they have probably the biggest range of freely licensed....
Try Font Squirrel , they have ready made @font-face kits that you can just drop in place.
fonts you like in existing works.
|