Solved

Font referenced in CSS not showing up in web browser ...

Posted on 2006-07-05
4
1,270 Views
Last Modified: 2013-12-03
Hi,

the font name is "Pussy Cat". I provide the entire source code for the page below. Before you look at the source code please take a look at the website, which as you can see is not displaying the "Pussy Cat" font.

http://www.kehagias.us/

So could someone explain to me what I have to do to get the "Pussy Cat" font to load?

The browser I am using to view this page is:

IE Version 6.0 on a Windows XP SP2 computer.

Here is the source code... what am I doing wrong?

When I view the website at home, the Pussy Cat font shows up fine. At the office though, it does not.

What can I do to make sure the font shows up in all versions of IE? Is IE the problem? Can all of you see the "Pussy Cat" font?

=============
Source Code Begins:
=============
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>

<SCRIPT LANGUAGE="JavaScript">
<!-- Begin
function fullScreen(theURL) {
window.open(theURL, '', 'fullscreen=yes, scrollbars=auto');
}
// End -->
</script>

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Kehagias.US: Official Website of Martha Kehagias</title>
<style type="text/css">
<!--
body {
      background-color: #996633;
}
body,td,th {
      font-family: Pussycat;
      font-size: 36px;
      color: #FFFFFF;
}

img { border: 2px solid #FFFFFF ; }

a {
      font-family: Pussycat;
      font-size: 36px;
      color: #FFFFFF;
}
a:link {
      text-decoration: none;
}
a:visited {
      text-decoration: none;
      color: #FFFFFF;
}
a:hover {
      text-decoration: underline;
      color: #FFFFFF;
}
a:active {
      text-decoration: none;
      color: #FFFFFF;
}
.style1 {
      font-family: Verdana;
      font-size: 10px;
}
.style3 {font-family: Verdana; font-size: 10px; font-weight: bold; }
-->
</style></head>

<body>
<div align="center">
  <p>&nbsp;</p>
  <p><img src="IMAGES/00_Title_Page_Left.jpg" width="125" height="188" /> <img src="IMAGES/00_Title_Page.jpg" width="250" height="188" /> <img src="IMAGES/00_Title_Page_Right.jpg" width="125" height="188" /></p>
  <p><a href="javascript:void(0);" onClick="fullScreen('INSIDE/');" target="_blank">Won't you join us inside?</a></p>
  <p class="style1">[ <a href="http://www.marcoullis.com/" class="style1">member of the &quot;Life is good ... smile&quot; network</a> ] </p>
  <p align="right" class="style1">&nbsp;</p>
  <p align="right" class="style1">Page design by <a href="http://marcoullis.googlepages.com/" class="style3">Panos Marcoullis</a>,<br />
    Information Systems Project Manager </p>
</div>
</body>
</html>

============
Source Code Ends.
============
0
Comment
Question by:marcoullisp
  • 2
4 Comments
 
LVL 16

Expert Comment

by:sam85281
ID: 17045622
You can't force display of a font that the user doesn't have installed on their system.

You need to stick to standard fonts (Arial,Verdana,etc) for the user to see your page as you see it at home.

If it's being used as a heading or something, you can make it into a graphic to make sure they see that font.  As plain text though, ONLY people that have pussy cat installed on their computers is going to be able to see it.

-Sam
0
 

Author Comment

by:marcoullisp
ID: 17045690
Could I have it preloaded with the website?

-Panos
0
 
LVL 16

Accepted Solution

by:
sam85281 earned 500 total points
ID: 17045813
Here's info on how you CAN do it:
http://www.sean.co.uk/a/webdesign/embedding_fonts_in_webpages.shtm

Not suggested though.  Generally won't work with FireFox, causes security popups to happen for most users, slows your site down, not worth the problems that go along with doing it.

There is currently no GOOD way to do it.

-Sam
0
 
LVL 18

Expert Comment

by:bruno
ID: 17046810
there's another solution called sIFR but it's only for headlines, not for an entire site.  there's really no GOOD way to do it for an entire site.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

This is a how to build your own CSS3 slideshow and when I say CSS3 I mean just CSS with no javascript in sight! There a few examples online of how to do this but most just show you an example without any explanation, others make it more complicat…
SASS allows you to treat your CSS code in a more OOP way. Let's have a look on how you can structure your code in order for it to be easily maintained and reused.
In this Micro Tutorial viewers will learn how to create a CSS image sprite (In a later tutorial, viewers will learn how to use CSS and HTML to create a navigation menu using this sprite) Open a new Photoshop document with a width of (Icon width)x(N…
The viewer will receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…

919 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now