Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

HTML Forum


You are currently viewing our HTML Forum as a guest. Please register to participate.
Login



Post a Project »

Find a Professional HTML Freelancer!

Find a Freelancer to help you with your HTML projects

FREE Outsourcing eBook!

Reply
Dingbat-font (@font-face) won't show up.
Old 01-11-2010, 06:51 PM Dingbat-font (@font-face) won't show up.
Junior Talker

Posts: 2
Name: Marco
Trades: 0
Hello people,

I'm bussy with a portfolio-website. And in the navigation-menu I want to use a little ornament at the left of every navigation-tab. It's this dingbat-font: Printers Ornaments One (Fontsquirrel.com). I've loaded the font up to the server, like recomended, but it won't show up in Firefox, Explorer, Opera, ectc. While the Sapir-font (also @font-face) which I use at the menu shows up. I've placed both @font-face-fonts in the same 'html_and_css/fonts'-folder.

To check if any of the dingbat-ornaments will show up, I've typed some text in the body. But the only thing that shows up is '1234567890qwertyuio aaaaaasdfgggghhhhhhhhhhhhhhhhhhhjklk;''zzxcvbnm,.,/'.

So does anybody have a hint, how to solve this?

Allready thanks,

P.S. Some good info, greath site: Font-face.com.



HTML Code:
<!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>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Untitled Document</title>
<link href="marcpeer_basis.css" rel="stylesheet" type="text/css">

<script src="SpryAssets/SpryMenuBar.js" type="text/javascript"></script>
<link href="SpryAssets/SpryMenuBarVertical.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="left">
    <div id="logo">
    <div id="navigation">
    
                
    
    <ul id="MenuBar1" class="MenuBarVertical">
      <li><a class="MenuBarItemSubmenu" href="index.html"><h2>Home</h2></a>      </li>
      
      <li><a class="MenuBarItemSubmenu" href="portfolio.html"><h2>Portfolio</h2></a>
              <ul>
                  <li><a href="#"><h2>Item 3.1.1</h2></a></li>
                  <li><a href="#"><h2>Item 3.1.2</h2></a></li>
            </ul>
      </li>
      <li><a class="MenuBarItemSubmenu" href="cv.html"><h2>Curriculum <br />Vitae</h2></a></li>
      <li><a class="MenuBarItemSubmenu" href="contact.html"><h2>Contact</h2></a></li>
      <li><a class="MenuBarItemSubmenu" href="links.html"><h2>Links</a></li>
    </ul>
</div>
         <div id="onderaan_leeg_stuk"></div>
    </div>
</div>

<div id="middle"><h1>1234567890qwertyuio
   aaaaaasdfgggghhhhhhhhhhhhhhhhhhhjklk;'' 
  <p>zzxcvbnm,.,/</p></h1>
</div>

<div id="right">


</div>

<script type="text/javascript">
<!--
var MenuBar1 = new Spry.Widget.MenuBar("MenuBar1", {imgRight:"SpryAssets/SpryMenuBarRightHover.gif"});
//-->
</script>
</body>
</html>
Code:
@charset "UTF-8";

/* SpryMenuBarVertical.css - Revision: Spry Preview Release 1.4 */

/* Copyright (c) 2006. Adobe Systems Incorporated. All rights reserved. */

/*******************************************************************************

 LAYOUT INFORMATION: describes box model, positioning, z-order

 *******************************************************************************/

/* The outermost container of the Menu Bar, a fixed width box with no margin or padding */
ul.MenuBarVertical
{
    margin: 0;
    padding: 0;
    list-style-type: none;
    font-size: 100%;
    cursor: default;
    width: 195px;
}
/* Set the active Menu Bar with this class, currently setting z-index to accomodate IE rendering bug: http://therealcrisp.xs4all.nl/meuk/IE-zindexbug.html */
ul.MenuBarActive
{
    z-index: 1000;
}
/* Menu item containers, position children relative to this container and are same fixed width as parent */
ul.MenuBarVertical li
{
    margin: 310;
    padding: 10px 0px 5px 15px;
    list-style-type: none;
    font-size: 100%;
    position: relative;
    text-align: left;
    cursor: pointer;
    width: 8em;
    line-height:0.5em
}
/* Submenus should appear slightly overlapping to the right (95%) and up (-5%) with a higher z-index, but they are initially off the left side of the screen (-1000em) */
ul.MenuBarVertical ul
{
    margin: -5% 0 0 95%;
    padding: 0;
    list-style-type: none;
    font-size: 100%;
    position: absolute;
    z-index: 1020;
    cursor: default;
    width: 8.2em;
    left: -1000em;
    top: 0;
}
/* Submenu that is showing with class designation MenuBarSubmenuVisible, we set left to 0 so it comes onto the screen */
ul.MenuBarVertical ul.MenuBarSubmenuVisible
{
    left: 0;
}
/* Menu item containers are same fixed width as parent */
ul.MenuBarVertical ul li
{
    width: 8.2em;
}

/*******************************************************************************

 DESIGN INFORMATION: describes color scheme, borders, fonts

 *******************************************************************************/

/* Outermost menu container has borders on all sides */
ul.MenuBarVertical
{
    border: 1px solid #CCC;
}
/* Submenu containers have borders on all sides */
ul.MenuBarVertical ul
{
    border: 1px solid #CCC;
}
/* Menu items are a light gray block with padding and no text decoration */
ul.MenuBarVertical a
{
    display: block;
    cursor: pointer;
    padding: 0.5em 0.75em;
    text-decoration: none;
    back_____ground:#ffffff;
    filter: alpha(opacity=60);
     filter: progid:DXImageTransform.Microsoft.Alpha(opacity=60);
    opacity:0.6;
    }

}
/* Menu items that have mouse over or focus have a blue background and white text */
ul.MenuBarVertical a:hover, ul.MenuBarVertical a:focus
{
    background-color: #33C;
    color: #FFF;
}
/* Menu items that are open with submenus are set to MenuBarItemHover with a blue background and white text */
ul.MenuBarVertical a.MenuBarItemHover, ul.MenuBarVertical a.MenuBarItemSubmenuHover, ul.MenuBarVertical a.MenuBarSubmenuVisible
{
    background-color: #EBEBEB;
    color: #FFF;
}

/*******************************************************************************

 SUBMENU INDICATION: styles if there is a submenu under a given menu item

 *******************************************************************************/

/* Menu items that have a submenu have the class designation MenuBarItemSubmenu and are set to use a background image positioned on the far left (95%) and centered vertically (50%) */
ul.MenuBarVertical a.MenuBarItemSubmenu
{
    background-image: url(SpryMenuBarRight.gif);
    background-repeat: no-repeat;
    background-position: 95% 50%;
}

/* Menu items that are open with submenus have the class designation MenuBarItemSubmenuHover and are set to use a "hover" background image positioned on the far left (95%) and centered vertically (50%) */
ul.MenuBarVertical a.MenuBarItemSubmenuHover
{
    background-image: url(SpryMenuBarRightHover.gif);
    background-repeat: no-repeat;
    background-position: 95% 50%;
}

/*******************************************************************************

 BROWSER HACKS: the hacks below should not be changed unless you are an expert

 *******************************************************************************/

/* HACK FOR IE: to make sure the sub menus show above form controls, we underlay each submenu with an iframe */
ul.MenuBarVertical iframe
{
    position: absolute;
    z-index: 1010;
}
/* HACK FOR IE: to stabilize appearance of menu items; the slash in float is to keep IE 5.0 from parsing */
@media screen, projection
{
    ul.MenuBarVertical li.MenuBarItemIE
    {
        display: inline;
        f\loat: left;
        background: #FFF;
    }
}

@font-face_Ornaments {
      font-family:"PrintersOrnamentsOne";
      src:url(/fonts/PrintersOrnamentsOne.ttf) format("truetype");
}

@font-face_menu_text {
  font-family:"SapirSans";
  src:url(/fonts/SapirSans.ttf) format("truetype");

}


h1 {
    font-family: "PrintersOrnamentsOne";
    font-size: 100%;
    line-height: 50%;
    margin-top:0px;
    margin-bottom: 25px;
}

h2 {
    font-family: "SapirSans", Verdana, Arial, Helvetica, Geneva, sans-serif;
    font-size: 100%;
    line-height: 50%;
    margin-top:0px;
    margin-bottom: 25px;
    color: #000000;
}

Last edited by Cycle Maniac; 01-11-2010 at 07:00 PM..
Cycle Maniac is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Reply     « Reply to Dingbat-font (@font-face) won't show up.
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 1.26044 seconds with 12 queries