English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

2006-10-01 07:45:37 · 3 answers · asked by DS 4 in Computers & Internet Programming & Design

p.headline {
margin:0 0 10px 0; color: blue; font-size: 12pt; font-weight: bold; font-family: Arial; line-height:12pt; text-align: left;
}

The font weight is coming out right, the size and color are not. (It works fine in IE however, most likely due to IE's imperfect CSS compliance - but what have I done wrong?)

2006-10-01 07:59:42 · update #1

3 answers

To get it work change your font-size value to percent e.g 70% rather than using pt and use the hex value for color e.g #fffffff for white and see if it makes any difference. For some reason i have found that most browers other than IE don't like font size to be in pt. Let me know if it works

Hope this helps

2006-10-01 09:48:04 · answer #1 · answered by Anonymous · 0 0

Firefox is a browser. It does a great job with css standards. It also has capabilities that allow you to set your own css overrides. I'm not clear which of these you're talking about. If you're testing an html page you authored with a style sheet you created, and it's not working the way you expect, then I'd assume there's an error in either your page or your stylesheet.

2006-10-01 07:50:42 · answer #2 · answered by Gizmo L 4 · 0 0

Worked for me

2006-10-01 07:51:13 · answer #3 · answered by Interested Dude 7 · 0 0

fedest.com, questions and answers