Your Ad Here Your Ad Here
Results 1 to 9 of 9

Thread: Weird Fonts and Websites?

  1. #1
    100%'s Avatar ╚════╩═╬════╝
    Join Date
    Jan 2003
    Posts
    13,671
    Probably a naive question but,
    If i make a site with a weird funky font downloaded from somewhere.
    Does it show correctly for other people who visit the site or do they simply see the default font.


    if so how does one go about, using weird fonts on sites, with out having to take screen shots of them.
    Last edited by 100%; 02-02-2007 at 09:30 AM.

  2. Internet, Programming and Graphics   -   #2
    Snee's Avatar Error xɐʇuʎs BT Rep: +1
    Join Date
    Sep 2003
    Location
    on something.
    Age
    38
    Posts
    22,677
    Every image on that site looks broken to me, and I don't see text with that font anywhere, Zed.

    Tried different browsers too.

    Then I noticed how you coded the thing.
    The face attribute in font tags works something like:
    p
    {
    color: yellow;
    font-family: courier new, courier;
    }

    in a .css, for instance (in bold). Tags and styles like that requires whoever views it to have the font. Can't see where you put that font in tho', is it supposed to be the broken images?

    And btw, use an external .css if you plan to repeat a particular style on lots of tags or so, it's much neater IMO.

    EDit: and also: the face attribute is deprecated.
    Last edited by Snee; 02-01-2007 at 09:14 PM.

  3. Internet, Programming and Graphics   -   #3
    100%'s Avatar ╚════╩═╬════╝
    Join Date
    Jan 2003
    Posts
    13,671
    oeffff
    no it is not supposed to be broken images, it should say "this is a test" in a funny font type
    hence it does not work
    I am trying to learn css
    but how do you implement a new font into a website...
    Ok thanks for the help
    but for this simple job i will stick to screen shots of wierd fonts.

  4. Internet, Programming and Graphics   -   #4
    Barbarossa's Avatar mostly harmless
    Join Date
    Jun 2002
    Location
    Over here!
    Posts
    19,631
    If it's a font that you just want to use for headings, etc, then you could create images containing the headings, in the font of your choice.
    Last edited by Barbarossa; 03-28-2007 at 10:50 AM.

  5. Internet, Programming and Graphics   -   #5
    Snee's Avatar Error xɐʇuʎs BT Rep: +1
    Join Date
    Sep 2003
    Location
    on something.
    Age
    38
    Posts
    22,677
    Quote Originally Posted by 100% View Post
    oeffff
    no it is not supposed to be broken images, it should say "this is a test" in a funny font type
    hence it does not work
    I am trying to learn css
    but how do you implement a new font into a website...
    Ok thanks for the help
    but for this simple job i will stick to screen shots of wierd fonts.
    Yeah, that's the way, as Barbie says.

    Like I said, if you use fonts in face attributes or in a css like I showed, the font needs to be present client-side.

    And do learn to use style sheets if you have the time, it's muy nicer IMO.

    Also, personally I rly don't like using tables to position stuff, if you feel up to it, try doing layouts with divs.

    I s'pose I could show you some stuff I did with .css-files and layers for skewl if you'd like


    EDit: and barbie, I'm soooo going through your code. (It's intaresting to see what people wot actually work with this stuff do.)

    Personally I'd have put the js in its own file, tho'
    Last edited by Snee; 02-02-2007 at 05:23 PM.

  6. Internet, Programming and Graphics   -   #6
    Shadowfire's Avatar catch-22 BT Rep: +19BT Rep +19BT Rep +19BT Rep +19
    Join Date
    Oct 2006
    Posts
    1,694
    They'll see the default font if they don't have the font on their computer. If they do have it on their computer, they'll see it fine. A way to get around that is to upload the font onto your host and embed it into the site itself. Google something along the lines of "embed font in website" and you'll get stuff that explain it way better than I ever can.

  7. Internet, Programming and Graphics   -   #7
    100%'s Avatar ╚════╩═╬════╝
    Join Date
    Jan 2003
    Posts
    13,671
    @shadowF well said , "embed" tutorial coming up,merci

    @Snny that site i posted and removed was a test site, and i even posted the wrong one, hence broken images. I will contact you when the css occasion arises. merci

  8. Internet, Programming and Graphics   -   #8
    Barbarossa's Avatar mostly harmless
    Join Date
    Jun 2002
    Location
    Over here!
    Posts
    19,631
    Quote Originally Posted by SnnY View Post

    Personally I'd have put the js in its own file, tho'



    Most of it is: server side includes ftw

    Code:
    <script language="JavaScript">
    <!--
    <!--hide this script from non-javascript-enabled browsers
    
    function SubmitForm(Action) {
    
      TheForm = document.MainForm;
      TheForm.Action.value = Action;
      TheForm.submit();
    }
    
    function ButtonClick(Button) {
    
     if (Button == "PS")
      { opennewwindow("...etc...") }
     if (Button == "CM")
      { opennewwindow("...etc...") }
     if (Button == "EN")
      { opennewwindow("...etc...") }
     if (Button == "TC")
      { opennewwindow("...etc...") }
    
    }
    
    //-->
    </script>
    <!--#include file="JavaScript.inc" --> 
    </head>
    Being self-taught though, I doubt that anything I'm doing is the best way to do stuff...

  9. Internet, Programming and Graphics   -   #9
    tesco's Avatar woowoo
    Join Date
    Aug 2003
    Location
    Canadia
    Posts
    24,069
    barbi, take that <BR> out from about the <html> tag.
    And also don't use <br>, use <br />.

    Zed%, to easily just change the font of the entire site with CSS use something like...

    body
    {
    font-family: whateverfont, whateverbackupfont;
    }

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •