[FX.php List] [OT] How to display special fonts in an HTML page

Bob Patin bob at patin.com
Wed Mar 22 16:54:08 MST 2006


Kevin,

Here's the code from my test page:


<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Untitled Document</title>

<style type="text/css">
<!--
.Cheltenham {
	font-family: "Cheltenhm Bd BT";
	font-size: 40px;
	font-style: normal;
	font-weight: normal;
}
-->
</style>
</head>

<body>
<FONT COLOR=black SIZE=40 FACE="Cheltenhm Bd BT"  
class="Cheltenham">This should display in Cheltenham 40 bold </font>
</span>
</body>
</html>

---------------------------------------
Is there anything not kosher about the above CSS? I looked on the web  
to see if I could find anything amiss, but couldn't.

Thanks for your input,

Bob



> On 23/3/06 10:26 AM, "Bob Patin" <bob at patin.com> wrote:
>
>> Well, I tried it both ways; it works fine in Firefox, fails in  
>> Safari for both my client and myself.
>>
>> I tried CSS over and over; I really don't think it's an error in  
>> the pages since Dreamweaver creates all the CSS tags on its own.
>>
>>
> That very thing could be the problem. It may not be linking the  
> style sheets properly, or it may be doing it inline in an invalid  
> way (depending on your doctype), or there may be a clash of class  
> names somewhere. Safari is probably more fussy about this stuff  
> (which version/s are you using?).  DW8 is much better at handling  
> this than previous versions, so I still reckon you should post some  
> code, especially if you’re using MX or MX2004.
>
> -- 
> Kevin Futter
> Webmaster, St. Bernard's College
> http://www.sbc.melb.catholic.edu.au/
> _______________________________________________
> FX.php_List mailing list
> FX.php_List at mail.iviking.org
> http://www.iviking.org/mailman/listinfo/fx.php_list

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.iviking.org/pipermail/fx.php_list/attachments/20060322/b8468eca/attachment-0001.html


More information about the FX.php_List mailing list