CSS - Font-face Not Showing Up???
On my Local Server and Development these work perfect.
Code: /*#########Font-Face: Arial-########*/ @font-face {font-family: Arial Rounded MT Bold;src: url(/templates/shushme_deals/fonts/Arial Rounded MT Bold.eot);} @font-face {font-family: "Arial Rounded MT Bold";src:local(Arial Rounded MT Bold), url(/templates/shushme_deals/fontsArial Rounded MT Bold.ttf) format("truetype");} @font-face {font-family: Arial Rounded MT;src: url(/templates/shushme_deals/fonts/Arial Rounded MT.eot);} @font-face {font-family: "Arial Rounded MT";src:local(Arial Rounded MT), url(/templates/shushme_deals/fonts/Arial Rounded MT.ttf) format("truetype");} For some reason on live production site, it does not load the fonts at all. What I'm I missing here. Similar TutorialsHi guys, I have a stylesheet with the following styles pointing to font files in the same directory and then a h3 that should be using this font. I can't for the life of me get it working though, any idea why this could be? Code: @font-face { font-family: "Chunkfive"; src: url("Chunkfive-webfont.eot"); src: local("?"), url("Chunkfive-webfont.woff") format("woff"), url("Chunkfive.otf") format("opentype"), url("Chunkfive-webfont.svg#filename") format("svg"); } h1, h2, h3, h4, h5, h6 { font-family: "Chunkfive", Verdana, sans-serif; color: #4088B8; clear: both; } h3 { display:block; /*position:absolute; right:-5px; top:15px;*/ -webkit-transform: rotate(-2deg); -moz-transform: rotate(-2deg); -ms-transform: rotate(-2deg); -o-transform: rotate(-2deg); transform: rotate(-2deg); text-shadow: rgba(136, 164, 174, 0.496094) 3px 5px 3px; font-family: "Chunkfive", Verdana, sans-serif; margin-top: -10px; } <h3>Websites / Examples</h3> ANy help would be greatly appreciated Thanks GP Hey everyone. I've been reading up on @font-face, and to me it seems like not many people are using this. Its more or less supported in all browsers (well, not ie 6) so was wondering if there is a reason no one is using this that I'm over looking? If not it seems awesome, and I think it will make the designers here giddy with joy. I am trying to install some fonts onto my website. I am having a problem with @font-face. I have followed the proper steps as told to me by multiple sites and I place the font I want to install into my website in the main directory and type up the code but it still doesn't work. Code: @font-face{ font-family:'LithosPro-Regular'; src: url('LithosPro-Regular.otf') format('opentype'); } h2 { color:#30F; font-family:'LithosPro-Regular', georgia, serif; } Is there something else I need to add or do? I appreciate any help as I've been stuck on this for days! When I embed a font using @font-face it does not seem to be anti-aliased. If I use Cufon YUI (Javascript) to embed the same font then it looks much smoother (images attached). Is it not possible to have smooth fonts using @font-face? Maybe it depends on the font? But then why does the JS version look so much smoother? EDIT If I just use the font normally it still looks bad, so I guess the Cufon conversion process somehow improves the font, which is displayed using HTML5 and Canvas. Has anyone else dealt with a problem with using custom fonts w/ @font-face and Ipads? I have a site http://osake.garychus.com and throughout the site the font Lato is messed up, but on all other platforms it looks great. Hey everyone, the development site I'm working on is here.... http://firstchoiceflooring.stealthwd.ca/ The font in the top navigation is Media Gothic.... well, it's SUPPOSED to be. It's rendering really strange. I'm using @font-face. My font looks fine in photo shop, but it doesn't render correctly in FF or website (no IE yet). My CSS is like this.... Code: @font-face { font-family: mediaGothic; src: url( "http://firstchoiceflooring.stealthwd.ca/images/fonts/Md_Gothic11.eot" ); /* IE */ src: url( "http://firstchoiceflooring.stealthwd.ca/images/fonts/Md_Gothic11.ttf" ) format("truetype"); /* non-IE */ } Code: #topNavContainer p{ height:100%; width:100%; text-align:center; font-family: mediaGothic; } Any help would be appreciated. This is my first time using @font-face Hi everyone. Here is the url http://v3p2.stealthwd.ca/ its the dev version of my companies soon-to-be-new website. The font-face code is... Code: @font-face { font-family: 'SlingLight'; src: url('/fonts/sling/slinglight-webfont.eot'); src: url('/fonts/sling/slinglight-webfont.eot?#iefix') format('embedded-opentype'), url('/fonts/sling/slinglight-webfont.woff') format('woff'), url('/fonts/sling/slinglight-webfont.ttf') format('truetype'), url('/fonts/sling/slinglight-webfont.svg#SlingLight') format('svg'); font-weight: normal; font-style: normal; } Any idea why its timing out? Thanks Hi there, I'm completely new to CSS. I'm trying to do this more than one hour but can't get it right. Code: <font color='white'><font size='1' face=verdana size=1> I couldn't find the equivalent of this in CSS This is my last experiment but it doesn't seem to work either Code: fontstyle { color : #FFFFFF; font-family : verdana ; font-size :1;} Thanks Hi, I had this working but somehow it's not working again. The problem I am having is that scroll bars are showing up in my iframe in Firefox, Opera, and Safari, but not IE7 and IE6. Here is the link: http://www.caillouette.com/NewCatsMeow/ I know I need to tighten up my style sheet, but if someone could tell me how to solve this, I would be very happy. Here's the iframe code in the index page: Code: <div id="bodyInfo"> <iframe name="mainBody" width="770" height="602" src ="body.html" scrollbars="NO" border="0"> </iframe> <!-- end #bodyInfo --></div> Hi there, Does anyone know what font this is that is used for text such as "Everything you need to get a professional website online" at the top and below: "Takeaway Website Standard" When I highlight it, it has a black bacground which is unusual. Any ideas? Thanks! I have a 'DIV' tag, its css height property is set to 15px. Why is it, that it's not really 15px until I insert "font: 10px Verdana " *** one of the rules? So fi I have: #topSeperate { height: 15px; width: 100%; background-color: #00FF00; font-weight: bold; font: 10pt Verdana; } The div is perfect, but as soon as I remove the font: tag, it grows in height about 4px even though there is no text typed in the 'DIV'. If this doesnt make sense and you need further explaination, Let me know. I am trying to use this font for my text: http://www.google.com/webfonts/specimen/Droid+Sans I have tried using: font-family: 'Droid Sans', Arial, Helvetica, sans-serif; but it doesn't work. Any ideas? Thanks! Is there any way to embed font so it would be viewable by firefox? I know yo can do it in IE, but can't find a way for firefox. Thanks, Greg I'm trying to write a website at the moment and I want to use <h1>/<h2> etc for the headings. Problem is though, the heading is going in to a blue bar and the font needs to be the right size. And naturally, IE and FF display the font in different sizes How would I fix this problem so that the font renders the same size? Could I make a hacked CSS class that only IE can see that I can apply to the <h1> tag to change the font-size to make it the same size as FF displays it as? I'm making a site, and the guy I'm making it for says he wanted a more 'tough' font. So I downloaded a, 'tough' but still readable of course, font. The main page has an iframe, and the content in the iframe is where the text goes that has the tough font. Everything works when it's offline. But when I try uploading it, it's the old font. I even check the source and it's all old. The server is running extremely slow right now, so that might be the problem and it just hasn't uploaded yet or something. Because I also deleted the content files and refreshed the page and it was still old. So, I'll wait a little longer and check or something. I also know that viewers can't see custom fonts if they don't have them on their pc. So this is kind of seeming pretty pointless. But is there ANYWAY I Can make it viewable to everyone that views the site. So they can see the font even if they don't have it on their pc. Like, make them have it temporarily or something. My friend told me it had something to do with CSS, but I don't really know. Anything I can do to make it work? Is there maybe a Java Script I can use? hi, someone using foxfire keeps saying the my font is really really tiny, I have my css file like:
Code: body { background: #FFFFFF; /* for internet explorer */ scrollbar-face-color: #FFFFFF; scrollbar-highlight-color: #FFFFFF; scrollbar-shadow-color: #FFFFFF; scrollbar-3dlight-color: #494969; scrollbar-arrow-color: #494969; scrollbar-track-color: #FFFFFF; scrollbar-darkshadow-color: #494969; margin: 0px; padding: 0px; border: 0px; border-top: 1px solid #8E9397; border-left: 1px solid #8E9397; font-color: #494969; font-family: Verdana,Arial,Helvetica; font-size: 8pt; text-align: left; } a:link,a:active,a:visited { color: #494969; text-decoration: none } a:hover { text-decoration: underline; color: #494969; position: relative; top: -1px; left: -1px; } hr { background: transparent; color: #494969; height: 1px; border-width: 0px; } fieldset { margin: 0; padding: 1px; border: 1px solid #494969; } legend { margin: 0; padding: 7px; color: #494969; background: transparent; font-weight: bold; } img { border: 0px; } table { background: transparent; } tr { background: transparent; } td { background: transparent; color: #494969; font-family: Verdana,Arial,Helvetica; font-size: 70%; } input, textarea, select { color: #494969; font: normal 11px Verdana, Arial, Helvetica, sans-serif; background: transparent; border: 1px solid #494969; border-style: inset; text-align: center; text-indent: 2px; } form { margin: 0px; padding: 0px; } any idea on whats wrong? and I would of changed the % to an actual value but I wanted to make it so people can control the size of the font to lager or smaller here is a preview with that css file in use : http://www.dbznetwork.net/ i copied some of this code from a page i liked. all it is is a background image and i want to type text over it that is in a table. the problem is i cannot center my text ("<?=$information[nickName]?>"). the text always is on the left, never in the center. i have tried different things such as <td align=center> as opposed to the <td valign=center> the other author has in the 2nd block, the align:center does not work with font. and i have tried appending a ;text-align:center within that SPAN tag, but that does not work either. does anyone have any advice??? thanks! <table border=0 cellspacing=0 cellpadding=0 width="750" style="border: solid black 2px;"> <tr><td style="background-image:url(images/name_test.jpg); background-attachment: 100% 0%"> <table border="0" cellspacing=0 cellpadding=1><TR><TD valign="center"><SPAN style="font-size: 14pt; font-family: arial black, helvetica; padding: 3px; align: center;"><?=$information[nickName]?></SPAN></TD></TR> </table> Hi guys I've started this thread in this CSS forum, because I need to find a solution in CSS code. I was given the following image. I must make same menu, using CSS. But this is not a problem. My problem is to find in css a real typography that mimics following image. Does any1 know which css code and which font should I use ? The man who gave me that image doesn't know which font was used Thanks a lot in advance Hi, Suppose I define a font-family with several fallbacks, for example: Code: font-family: "Georgia", "Liberation Serif", serif; Now I would like to know which font did the browser effectively pick without me having to go through my system looking for which fonts are installed. When I inspect the text with tools such as Firebug or the Web Developer Toolbar, they just give me the full font-family definition, but don't tell me the actual font being used... Thank you in advance! Jean Hello, I would like to know if a font can be imported into a CSS. I am asking that because it would be very nice if I had the opprtunity to design my webpage with the fonts that I want, in order to achieve the desirable layout. Thank you. |