Breez
AKA: badhq
+937|7088|Derby, England

Sup guys im having trouble with this code

<style type="text/css">
  @font-face {
    font-family: Reg;
    font-style: normal;
    font-weight: normal;
    src: url("http://www.badhqteam.com/workingfiles/TIMESNE0.eot");
  }
  .classname {
    font-family: "Reg";
  }
  </style>
And then you can call out that style in your HTML as you would any other style class:
  <p class="classname">Testing sdsdssdsdssdsds</p>

Font is not showing up like it should do all tho font is in the root

Did I miss sumthing here?

Thanks Peace Boris
[TP~Bravo]Wiggy
Failure By Design
+39|7002|Cardiff, Wales, Uk.
Get rid of '@' Sign XD.
Breez
AKA: badhq
+937|7088|Derby, England

[TP~Bravo]Wiggy wrote:

Get rid of '@' Sign XD.
nice one bro did that but sumreason still notworking if u test it in html prewier its not showing the font im tryng to use showing standard could u try it for me please and see if u have any luck with it ?

Thanks
TheEternalPessimist
Wibble
+412|7076|Mhz

Code:

<style type="text/css">
body { background-color:#3D3E4B; }

.header { font-size:40px;
      font-family:arial;
       color:#FFD51E; }

.subheader { font-size:20px;
         font-family:arial;
         color:#FFD51E;
         align:top; }

.footer       { font-size:7.5px;
         font-family:arial;
         color:White; }

.content   { font-size:14px;
         font-family:arial;
         color:000000;
         padding:0px 10px 0px; }

a:link a:visited { font-size:10px;
              font-family:arial;
          color:#FFD71B; 
          text-decoration:none;}

a:hover a:focus { { font-size:10px;
              font-family:arial;
          color:#FFD71B; 
          text-decoration:underline;}

h1 { font-size:20px;
         font-family:arial;
         color:000000; 
         padding:10px 0px 10px }

img { border=none; }
</style>
Thats a style sheet from a site I'm running and I know the code is fine, try cut pasting bits you need and see if it fixes it.

Last edited by TheEternalPessimist (2006-12-17 14:53:44)

Cheez
Herman is a warmaphrodite
+1,027|6895|King Of The Islands

you can be straight out lazy and use

Code:

.thingy {font:Bold 10pt Arial, Verdana}
Also I believe they never implemented embedding a custom font because of copyright reasons, you can only use what's on the persons computer anyway using font-family: (or the shorthand equivalent)

Has this changed?
My state was founded by Batman. Your opinion is invalid.
TheEternalPessimist
Wibble
+412|7076|Mhz

You can embed any font in your site if you use an .eot font file.

BTW Boris, try this, there were a couple of anomalies I saw but I have no idea if it will work.

Code:

<style type="text/css">

@font-face {
    font-family: pie;
    font-style: normal;
    font-weight: normal;
    src: url(http://www.badhqteam.com/workingfiles/TIMESNE0.eot); 
}

.classname { 
        font-family: pie,
}
</style>



<p class="classname">Piez</p>
EDIT: You are viewing your site in IE right? As nothing else uses eot fonts so it wont work if not.

Last edited by TheEternalPessimist (2006-12-17 15:24:27)

Breez
AKA: badhq
+937|7088|Derby, England

TheEternalPessimist wrote:

You can embed any font in your site if you use an .eot font file.

BTW Boris, try this, there were a couple of anomalies I saw but I have no idea if it will work.

Code:

<style type="text/css">

@font-face {
    font-family: pie;
    font-style: normal;
    font-weight: normal;
    src: url(http://www.badhqteam.com/workingfiles/TIMESNE0.eot); 
}

.classname { 
        font-family: pie,
}
</style>



<p class="classname">Piez</p>
EDIT: You are viewing your site in IE right? As nothing else uses eot fonts so it wont work if not.
Thanks Bro will try that apprishiated for both of your help

Peace Boris
Breez
AKA: badhq
+937|7088|Derby, England

Cheez wrote:

you can be straight out lazy and use

Code:

.thingy {font:Bold 10pt Arial, Verdana}
Also I believe they never implemented embedding a custom font because of copyright reasons, you can only use what's on the persons computer anyway using font-family: (or the shorthand equivalent)

Has this changed?
That font was bought for good amount of money I did not pay for the font the guy who bought it is a Millioneer and thats how Im doing this work for so I belive he has all the coppy right for that font

Peace Boris
Breez
AKA: badhq
+937|7088|Derby, England

Ok thanks for feed back so far guys still having trouble with this here  is the code so far

Code:

<style type="text/css">

@font-face {
    font-family: pie;
    font-style: bold;
    font-weight: normal;
    src: url(http://www.badhqteam.com/121/UKPLATE0.eot); 
}

.classname { 
        font-family: pie,
}
</style>



<p class="pie">Piez testing TESTING123456 7890</p>
Its still showing normal it should show bold font same as numberplate does anyone ells has any sugestions for it ?

THanks Boris

Board footer

Privacy Policy - © 2025 Jeff Minard