Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

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

Posted on 2006-07-05
4
Medium Priority
?
1,286 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 2000 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Why do we like using grid based layouts in website design? Let's look at the live examples of websites and compare them to grid based WordPress themes.
Building a website can seem like a daunting task to the uninitiated but it really only requires knowledge of two basic languages: HTML and CSS.
In this tutorial viewers will learn how to position overlapping items using z-index in CSS. They will also learn the restrictions on the z-index property.  Create a new HTML document with an internal stylesheet.: Create a div in CSS and name it Red.…
In this tutorial viewers will learn how to customize the background color and font color of highlighted text using the ::selection element in CSS Begin by defining the selected text as an element in CSS by typing "::selection": Style the ::selection…
Suggested Courses

688 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