T
Thomas
I was wishing to see an html file with had the following
lines inside:
<STYLE TYPE="text/css"><!--
BODY { font-family: serif }
H1 { font-family: sans-serif }
H2 { font-family: sans-serif }
H3 { font-family: sans-serif }
H4 { font-family: sans-serif }
H5 { font-family: sans-serif }
H6 { font-family: sans-serif }
SUB { font-size: smaller }
SUP { font-size: smaller }
PRE { font-family: monospace }
A { text-decoration: none }
--></STYLE>
Until there, I know what it is supposed to do. My problem
is, on my box (NT4, IE6SP1), this line: BODY { font-
family: serif }, instead of rendering the text in the
default serif font, makes IE using a strange font
(TrueType Map Symbols) which makes the text look like
little square and signs (as if the default serif font of
IE has become the Map Symbols font).
If I replace this line by BODY { font-family: sans-
serif }, I can read my html file because sans-serif seems
to be the normal default font.
It's not because of tthe html file itself, but because of
something which has alter my Windows NT/IE6.0SP1 settings,
because if I browse the following dcument:
http://www.htmlhelp.com/reference/css/font/ , the 1st and
4th lines look gibberish as well:
Syntax: font-family: [[<family-name> | <generic-family>],]
* [<family-name> | <generic-family>]
Possible Values: <family-name>
Any font family name may be used
<generic-family>
serif (e.g., Times) <- I can't read this line
sans-serif (e.g., Arial or Helvetica)
cursive (e.g., Zapf-Chancery)
fantasy (e.g., Western) <- I can't read this line
monospace (e.g., Courier)
I have read a lot of document about Cascading Style Sheet,
but they only tell me that in case of generic-family font,
it's the BROWSER (here, IE 6.0SP1) which would choose the
font it would display.
Now, my browser settings seems to have been corrupted, I
am looking into the registry and other places, but I
cannot find where IE default font settings are defined.
I now I could force to a readable font in my IE options, I
know I could reinstall the whole thing, but I want to
understand first what happened and how to fix it, because
it could re-happen again !
Thanks for any help,
Thomas
lines inside:
<STYLE TYPE="text/css"><!--
BODY { font-family: serif }
H1 { font-family: sans-serif }
H2 { font-family: sans-serif }
H3 { font-family: sans-serif }
H4 { font-family: sans-serif }
H5 { font-family: sans-serif }
H6 { font-family: sans-serif }
SUB { font-size: smaller }
SUP { font-size: smaller }
PRE { font-family: monospace }
A { text-decoration: none }
--></STYLE>
Until there, I know what it is supposed to do. My problem
is, on my box (NT4, IE6SP1), this line: BODY { font-
family: serif }, instead of rendering the text in the
default serif font, makes IE using a strange font
(TrueType Map Symbols) which makes the text look like
little square and signs (as if the default serif font of
IE has become the Map Symbols font).
If I replace this line by BODY { font-family: sans-
serif }, I can read my html file because sans-serif seems
to be the normal default font.
It's not because of tthe html file itself, but because of
something which has alter my Windows NT/IE6.0SP1 settings,
because if I browse the following dcument:
http://www.htmlhelp.com/reference/css/font/ , the 1st and
4th lines look gibberish as well:
Syntax: font-family: [[<family-name> | <generic-family>],]
* [<family-name> | <generic-family>]
Possible Values: <family-name>
Any font family name may be used
<generic-family>
serif (e.g., Times) <- I can't read this line
sans-serif (e.g., Arial or Helvetica)
cursive (e.g., Zapf-Chancery)
fantasy (e.g., Western) <- I can't read this line
monospace (e.g., Courier)
I have read a lot of document about Cascading Style Sheet,
but they only tell me that in case of generic-family font,
it's the BROWSER (here, IE 6.0SP1) which would choose the
font it would display.
Now, my browser settings seems to have been corrupted, I
am looking into the registry and other places, but I
cannot find where IE default font settings are defined.
I now I could force to a readable font in my IE options, I
know I could reinstall the whole thing, but I want to
understand first what happened and how to fix it, because
it could re-happen again !
Thanks for any help,
Thomas