DelphiFAQ Home Search:

InterBase, MS-SQL, mysql, Oracle
C#, C++, Delphi, Java,
JavaScript, perl, php, Visual Basic, VBScript
Apache, Network, Shell
Web Publishing
JavaScript, perl CGI, VBScript, Web Hosting
Apache, File Types, Internet Explorer,
Network, Printing, Processes
Outside the Cube
Auto, Computer Hardware,
Finances, Dating Scams,
Household, Male Dating Scammers,
Other Scams, Travel

Featured Article

My font-weight property in CSS is ignored


Below is my style definition from my CSS. The font-weight property gets ignored and Firefox reports an error. What is wrong? I tried fontweight and other spellings, also capitalization - with no success.


The font-weight property accepts only these values:
  1. normal - normal characters
  2. bold - thick characters
  3. bolder - thicker characters
  4. lighter - lighter characters
  5. 100 - or numbers
  6. 200
  7. 300
  8. 400 - 400 equals normal
  9. 500
  10. 600
  11. 700 - 700 equals bold
  12. 800
  13. 900
You cannot select numbers between these valid values. A number as your chosen 650 will be ignored by Internet Explorer and Firefox will even throw a warning in the Javascript Console.

 font-weight:    650;  <=== MISTAKE! Either 600 or 700!
 font-family:    Courier New;
 font-size:      12px;
 color:          Blue;
 background-color: White;

Generated 16:02:08 on Jun 17, 2018