Makzrider wrote
it is not showing that h1 tag in my asp.net page
This concern has nothing to do with CSS and fonts you mentioned in your question title. The
tag can be shown only if you write it
in HTML:
<h1 id="body_left">Some Top-Level Header Text</h1>
Besides, this is a really bad idea (in most cases), to bind the header styles with IDs as you do it. Remember, all values of all
id
attributes should be unique on the page (and HTML rendering and behavior, if you violate this rule, can be unpredictable). Do you really want to have only one unique style to be applied only to one unique element?
For headers, it's much better to use no selective style identification at all:
h1 {}
In worst case, use classes (via the element attribute
class="..."
):
h1.Left {}
.left {}
Finally, you should remember that some font families can be incompatible with some systems. At the same time, it's possible to embed a fully custom font in your CSS. Please see:
http://www.paulirish.com/2009/bulletproof-font-face-implementation-syntax/[
^].
—SA