PDA

View Full Version : Font Weight: coding an in-between weight? (other experienced coders, please drop in)


G H A S T
08-02-2004, 12:35 AM
I am an experienced coder in DHTML4 and some Java, but one thing I cannot get to work is coding a font weight that is in-between normal and bold.

I've tried every form of coding in CSS and otherwise, but it seems that the font will always default to a style based off the parent.

Is there some way around this I haven't thought of?

Font weights (not counting below 400, as it's not possible to go lighter than default) between 400 (normal), 700 (bold) and 900 (bolder) do not register at all.

So, setting the font weight for 500 is not even the slightest bit thicker than normal.

Another weird response is, when setting the weight to 600, it's actually thicker than 700 (bold) and spreads the letter spacing a bit. Very odd.

I wan't to get "Arial" font slighter thicker for a nice smooth look than normal, but not quite bold.

If anyone knows of another way around this so the browser will be forced to read the weight properly, please let me know.

Cheers.

hemebond
08-02-2004, 04:04 AM
You can't. It's under the browsers control. Use an image if it's that important.

ronaldb66
08-02-2004, 08:24 AM
You can't specify weights other than the values / keywords available for the font-weight property, and even then, if the font family itself doesn't provide a font in a certain weight the closest one that is available will be selected instead.