Solved

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

Posted on 2006-07-05
4
1,280 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
[X]
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
  • 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

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

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

Creating a CSS block that only applies to printing By default, all of your CSS applies to every possible view of your page - whether on screen, printed, landscape, touch-screen, or whatever.  You can, however, add CSS that only applies under certai…
This article discusses four methods for overlaying images in a container on a web page
In this tutorial viewers will learn how add a full-size background image to a webpage using CSS3. Create a new HTML document with an internal stylesheet.: In CSS, define the html element to have a background image. Use a high resolution image.: In t…
In this tutorial viewers will learn how to style rounded corners for elements in CSS using the border-radius property Begin with a normal styled element such as a div: To style all four corners of the div to be the same degree of roundness, use the …
Suggested Courses

617 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