Go Back   PCMech Forums > Help & Discussion > Web Design / Development

Need Some Help? Type Your Keywords Here:

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Old 05-21-2004, 02:21 PM   #1
Member (6 bit)
 
Join Date: Apr 2004
Location: NoR~CaL
Posts: 44
Send a message via AIM to =uNiTy=
Question embedding fonts in html

I need to know how to embed fonts into a webpage in html. I know it involves css but i need the details. I have tried using WEFT to create the .eot files but it just doesnt seem to work in my webpage.
here's the source (just ignore all the breaks and the &#123 things along w/any other strange repetitive tag, i dont know what that's all about; not really in the source):
<br /> <html><br /> <title><br /> Work in progress...<br /> </title><br /> <STYLE><br /> @font-face {<br /> font-family: tranceform;<br /> font-weight: normal;<br /> src: url(fonts/TRANCEFO.eot); }<br /> A:link{color:00ff00;text-decoration:none}<br /> A:visited{color:00ff00;text-decoration:none}<br /> A:active{color:00ff00;text-decoration:none}<br /> A:hover{color:00ff00;font-weight:bold;background-color:000055}<br /> </STYLE><br /> <head><br /> <h1><br /> <font size="8" color=00ff00><br /> <tt><br /> <b><br /> <marquee behavior="alternate"><br /> <a href="http://www.weezerking.com" target="_blank">www.weezerking.com</a><br /> </marquee><br /> </b><br /> </tt><br /> </font><br /> <link rel="stylesheet" type="text/css" href="vbseo/resources/css/vbseo_buttons.css?v=a4" /> <script type="text/javascript" src="vbseo/resources/scripts/vbseo_ui.js?v=a4"></script> <script type="text/javascript"> YAHOO.util.Event.onDOMReady(function (){ vbseoui = new vBSEO_UI(); vbseoui.page_init(Array('postbody','blogbit','content','postcontainer','vbseo_like_postbit'), Array("php",1)); }); </script> </head><br /> <body bgcolor=000000><br /> <table style="border:0.5px" cellspacing="1" cellpadding="1" border="1" bordercolor="00ff00" width="13%"><br /> <td onMouseOver="this.bgColor='000055'" onMouseOut="this.bgColor='000000'" colspan="10%"><br /> <font size="5" face="tranceform" color="00ff00"><br /> <p align="center"><br /> <a href="http://www.google.com"><br /> GOOGLE<br /> </a><br /> </font><br /> <tr><br /> <td onMouseOver="this.bgColor='000055'" onMouseOut="this.bgColor='000000'" colspan="10%"><br /> <font size="5" face="tranceform" color="00ff00"><br /> <p align="center"><br /> <a href="http://www.weezerking.com"><br /> HOME<br /> </a><br /> </font><br /> </td><br /> </tr><br /> <tr><br /> <td onMouseOver="this.bgColor='000055'" onMouseOut="this.bgColor='000000'" colspan="10%"><br /> <font size="5" face="tranceform" color="00ff00"><br /> <p align="center"><br /> <a href="/list.txt"><br /> FILES<br /> </a><br /> </font><br /> </td><br /> </tr><br /> </table><br /> <img src="/notepad.gif"><br /> </body><br /> </html><br />

Last edited by =uNiTy=; 05-21-2004 at 03:20 PM.
=uNiTy= is offline   Reply With Quote
Old 05-21-2004, 03:19 PM   #2
Staff
Premium Member
 
mairving's Avatar
 
Join Date: Jul 1999
Location: Arlington, TN
Posts: 5,538
Embedding fonts in a web page is something that has poor support cross-browser. The only way to really control fonts is to use CSS, which limits you to only a small number of fonts or save the fonts in a .gif or .png.
mairving is offline   Reply With Quote
Old 05-22-2004, 12:16 AM   #3
Banned
 
Join Date: Apr 2004
Location: Alabama
Posts: 39
Send a message via Yahoo to m3talc0re
Here's a good tut for you:
http://www.netmechanic.com/news/vol3/css_no15.htm

Hope it helps, if you have any problems, lemme know and I'll give you a hand.
m3talc0re is offline   Reply With Quote
Reply

Bookmarks

Still Need Help? Type Your Keywords Here:


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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 On
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 12:55 AM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 PL2