Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

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

Posted on 2006-07-05
4
1,272 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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
In this tutorial viewers will learn how add a scalable full-width header using CSS3. Create a new HTML document with an internal stylesheet. Set a tiled background.:  Create a new div and name it Header. Position it with position:absolute at the top…
In this tutorial viewers will learn how to style elements, such a divs, with a "drop shadow" effect using the CSS box-shadow property Start with a normal styled element, such as a div.: In the element's style, type the box shadow property: "box-shad…

792 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