Jump to content

Recommended Posts

Hey.

 

Does anyone have a technique they wouldn't mind sharing with me on achieving a bold font weight which work across the board of browsers and platforms?

 

I hit upon the issue a while back (here) but never really found a resolve.

 

//eg//

This site has some things in bold but others not, i've checked on FF on Windows and FF on a Mac and they look pretty much the same. I can't seem achieve it. If anyone else has used a bold font weight on their site and managed to keep it looking the same on a PC and a Mac I would really really love it if you could possibly tell me what you used (font / weight / size combination).

 

Much thanks in advance of any positive replies,

 

John

Link to comment
https://forums.phpfreaks.com/topic/222744-bold-font-weight/
Share on other sites

Hi requinix,

 

Yup

font-weight: bold;

is exactly what i am talking about.... but i'm sensing i've been making a rather large error?? "CSS the missing manual" pg.465 says only the keywords 'bold' and 'normal' work these days.

 

The "parent" size for the site is:

font-size: 10pt;
font-family: Verdana, Arial, Helvetica, sans-serif;

 

When i apply this class:

.legend-add{
font-weight: bold;
}

The font weight looks bold and neat on Windows but on a Mac it looks VERY bold (like when you're in illustrator and you give a font a fill and a heavy line weight (superBold))

 

Is there another way? How would you get a bold to look the same in windows and mac?

Link to comment
https://forums.phpfreaks.com/topic/222744-bold-font-weight/#findComment-1151868
Share on other sites

There are also numbers you can use, but consider that "normal" and "bold" have defined numeric equivalents: 100-900 (in increments of hundreds) with normal=400 and bold=700. I don't trust a CSS book that says that only those two keywords "work these days".

 

Being bolded or not is an interface enhancement. You shouldn't care too much about what "bold" means so long as it's sufficient for the user.

Also, caring about making stuff look the same on all browsers and platforms is a battle you can't win. Learn to use things like exs and ems so the exact font sizes and character dimensions don't matter.

Link to comment
https://forums.phpfreaks.com/topic/222744-bold-font-weight/#findComment-1151892
Share on other sites

Ah right ok.

 

Yea that makes sense... i've been using ems & % for the rest of the site but somehow overlooked the font-size.

 

Thanks a bundle. There's so many things to learn and remember with dynamic web design it easy to let other things slip.

 

Thanks again.

 

John

Link to comment
https://forums.phpfreaks.com/topic/222744-bold-font-weight/#findComment-1151916
Share on other sites

'normal' and 'bold' are in fact the only values that are cross-browser friendly. Other values don't work on IE I believe.

 

Your fonts look different because each browser renders fonts in its own way, and PCs and Macs also render fonts different ways. It's just the way the web works, there isn't much you can do about it.

Link to comment
https://forums.phpfreaks.com/topic/222744-bold-font-weight/#findComment-1151958
Share on other sites

  • 2 weeks later...

OK, after finally getting my hands on Mac and having a play around... this is the my conclusion (if anyone comes across this post)

 

It appears that    font-weight:600;  on macs are simply rendered in some kind of a childishly bold way, almost as if the font has been drawn in crayon. I've found it doesn't look too bad when the font colour is dark on a light background, but when light on a dark background it doesn't.

Link to comment
https://forums.phpfreaks.com/topic/222744-bold-font-weight/#findComment-1156694
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.