Solved

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

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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Unordered lists (HTML ul tags) are very handy to create menus of all types, shapes and sizes.  All it takes is a little knowledge of CSS and the possibilities are endless. First off, you should know the general format for menus created using the …
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 tutorial viewers will learn how to position items using CSS's three positioning types Create a new HTML document with an internal stylesheet.: Create another div in CSS and name it Absolute : Type "position:absolute;" and "top:10px; left:50p…
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…

708 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

15 Experts available now in Live!

Get 1:1 Help Now