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.

CSS Forum


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



Reply
Old 02-10-2010, 11:05 AM @font-face help
mattbtay's Avatar
Average Talker

Posts: 15
Name: Matt
Trades: 0
This is the first time I've been playing with the @font-face property for a site and i'm having issues.

HTML Code:
@font-face { /* for page headings */
        font-family: Goca;
        src: local("Goca"), url("fonts/goca-logotype.ttf") format("truetype");
        font-weight: normal;
        font-style: normal;
    }

h1 { 
    font-size: 2.2em;
    line-height: 1;
    margin-bottom: 0.5em;
    margin-left: .4em;
    font-weight: bold;
    font-family: "Goca", Verdana, Geneva; 
    color: #482e1f; /* for ie */
    color: rgba(72,46,31,.8); }
Am I missing a step somewhere?
mattbtay is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 02-10-2010, 12:01 PM Re: @font-face help
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,371
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
and the "issues" are???
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 02-10-2010, 12:17 PM Re: @font-face help
mattbtay's Avatar
Average Talker

Posts: 15
Name: Matt
Trades: 0
I'm getting Verdana and not the .ttf font in FF3
mattbtay is offline
Reply With Quote
View Public Profile
 
Old 02-10-2010, 12:19 PM Re: @font-face help
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,371
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
And does the browser you are testing in support the CSS3 @font-face property yet?
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 02-10-2010, 12:31 PM Re: @font-face help
mattbtay's Avatar
Average Talker

Posts: 15
Name: Matt
Trades: 0
yea, I said i was in Firefox 3
mattbtay is offline
Reply With Quote
View Public Profile
 
Old 02-10-2010, 12:34 PM Re: @font-face help
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,371
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
which subversion then?

@font-face is supported from FireFox 3.5

and do we get a URI to look at?
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 02-10-2010, 02:36 PM Re: @font-face help
mattbtay's Avatar
Average Talker

Posts: 15
Name: Matt
Trades: 0
using 3.5.7

url - http://www.texasadvertising.net/proo...akes/about.php

the "who are we" is the text that should be in the new font.
mattbtay is offline
Reply With Quote
View Public Profile
 
Old 02-10-2010, 03:29 PM Re: @font-face help
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,371
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
Code:
.res-button em {
      font-style: bold;
Should be font-weight:

and
Code:
		
		/* Misc */
		
		.float-right: { float:right;}
the addition of the colon make the CSS renderer expect a pseudo class.

ALSO forms.css is returning a Yahoo! 404 page
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 02-11-2010, 08:22 PM Re: @font-face help
Super Talker

Posts: 142
Name: William
Trades: 0
I clicked your link, I get the new text (well, when it is loading I get verdana then once it is loaded, it switches to geneva.)
I am guessing you added the Verdana bit as a saftey net incase people didn't have a browser that supported css3?

sorry I never got any help, just looking at other peoples sources to try teach myself a little bit more.
UUilliam is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to @font-face help
 

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 0.32278 seconds with 12 queries