Log In · Register

 
font code, need help understanding it
xzxero
post Aug 17 2004, 11:09 AM
Post #1


Senior Member
****

Group: Member
Posts: 215
Joined: Jul 2004
Member No: 26,839



i dont get this code i have the link but i dont know wat to put for the other parts (font-family,font-style,and font-weight). heres the code
CODE
<!-- begin code provided by createblog.com -->


<style type="text/css">
@font-face {
font-family: NAMEOFFONT;
font-style:  normal;
font-weight: normal;
src: url(http://www.blah.com/NAMEOFFONT01.eot);
}
</style>


<!-- end code provided by createblog.com -->
 
 
Start new topic
Replies (1 - 7)
queen
post Aug 17 2004, 11:13 AM
Post #2


‹(. .)›
******

Group: Official Member
Posts: 2,367
Joined: Jun 2004
Member No: 20,089



this is only for embedded fonts. did you embed a font?

the only thing you'll need to change there is "NAMEOFFONT"... you replace it with the font name. for example, if the font you embedded is called "Eurostile" then the code would be as follows:

CODE
<!-- begin code provided by createblog.com -->

<style type="text/css">
@font-face {
font-family: Eurostile;
font-style:  normal;
font-weight: normal;
font-size: 8pt;
src: url(http://www.blah.com/Eurostile01.eot);
}
</style>

<!-- end code provided by createblog.com -->


you may replace "font-size" with what size you want
 
xzxero
post Aug 17 2004, 11:16 AM
Post #3


Senior Member
****

Group: Member
Posts: 215
Joined: Jul 2004
Member No: 26,839



ok then heres the link(http://i.1asphost.com/xzxero/LINKINP0.eot) for the want to use, its called Linkin Park. Do i put Linkin Park or LinkinPark?
 
queen
post Aug 17 2004, 11:19 AM
Post #4


‹(. .)›
******

Group: Official Member
Posts: 2,367
Joined: Jun 2004
Member No: 20,089



how is the font normally spelled? if it's "Linkin Park" then you should type "Linkin Park"... it is case and space sensitive.

i should also add that you must edit all the other codes in your xanga. anywhere where it says "font-family:", you must replace whatever font was there previously with your new font (Linkin Park).
 
xzxero
post Aug 17 2004, 11:27 AM
Post #5


Senior Member
****

Group: Member
Posts: 215
Joined: Jul 2004
Member No: 26,839



i tried everything Linkin Park LinkinPark and the Font says Linkin park 1.0. none of them would work
 
queen
post Aug 17 2004, 11:36 AM
Post #6


‹(. .)›
******

Group: Official Member
Posts: 2,367
Joined: Jun 2004
Member No: 20,089



i tried it on my xanga, and it worked. copy and paste this please:

CODE
<!-- begin code provided by createblog.com -->

<style type="text/css">
@font-face {
font-family: Linkin Park;
font-style:  normal;
font-weight: normal;
src: url(http://i.1asphost.com/xzxero/LINKINP0.eot);
}
body, td, p, font {
color: #000000;
font-family: Linkin Park;
font-size: 10pt;
}
</style>

<!-- end code provided by createblog.com -->


again, replace color and fot size with whatever you want.
 
xzxero
post Aug 17 2004, 11:38 AM
Post #7


Senior Member
****

Group: Member
Posts: 215
Joined: Jul 2004
Member No: 26,839



oh. i mustve not copied the whole code. thanx synkro. arent u the one whole the tutorial? again thanx
 
queen
post Aug 17 2004, 11:40 AM
Post #8


‹(. .)›
******

Group: Official Member
Posts: 2,367
Joined: Jun 2004
Member No: 20,089



you're welcome. i forgot to add the 2nd part of the code in the tutorial 'cause i assumed people already had it in their css. i just updated it right now, so next time you come across a problem it's in the tutorial as well ;]
 

Closed TopicStart new topic
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members: